You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this repo is still being maintained, but I've run into an issue.
Using the example code in "eg/photo.js" for capturing a photo, but the "exit" event never seems to fire. In fact, it seems to be stuck in some kind of loop. Note that I had to run control-C to kill the process manually.
Output:
Code:
var RaspiCam = require("../lib/raspicam");
var camera = new RaspiCam({
mode: "photo",
output: "./photo/image.jpg",
encoding: "jpg",
timeout: 0 // take the picture immediately
});
camera.on("started", function( err, timestamp ){
console.log("photo started at " + timestamp );
});
camera.on("read", function( err, timestamp, filename ){
console.log("photo image captured with filename: " + filename );
});
camera.on("exit", function( timestamp ){
console.log("photo child process has exited at " + timestamp );
});
camera.start();
Notice: using Raspberry Pi 2, running Raspbian, and using official Raspberry Pi camera, with latest version of this node module Raspicam.
The text was updated successfully, but these errors were encountered:
Hi @troyth @dsteinborn @markelarizaga @mattmcneeney !
Not sure if this repo is still being maintained, but I've run into an issue.
Using the example code in "eg/photo.js" for capturing a photo, but the "exit" event never seems to fire. In fact, it seems to be stuck in some kind of loop. Note that I had to run control-C to kill the process manually.
Output:
Code:
Notice: using Raspberry Pi 2, running Raspbian, and using official Raspberry Pi camera, with latest version of this node module Raspicam.
The text was updated successfully, but these errors were encountered: