napi-canon-cameras
napi-canon-cameras copied to clipboard
Take picture throws "TAKE_PICTURE_CARD_NG"
Hey, i'm having issues with taking a picture with a canon 2000D, where if i call takepicture, it throws TAKE_PICTURE_CARD_NG but there is no card in the camera. Did you ever experience this kind of issue ? This is what i'm doing :
// ... connect to the camera, keeping it alive... camera.setProperties({ [CameraProperty.ID.SaveTo]: Option.SaveTo.Host, [CameraProperty.ID.ImageQuality]: ImageQuality.ID.Small2JPEGFine, }); camera.takePicture(); watchCameras(500); // this should be called one time because there is an infinite loop in it
I checked the C++ code of your lib and when we set SaveTo : Host, it actually sets the capacity of the host to be a large number. But it does not set the output to be PC ? should we do that too ?
Thank you for your help