Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture Pin not working on all cameras #33

Open
EugeneQilo opened this issue Feb 13, 2024 · 3 comments
Open

Capture Pin not working on all cameras #33

EugeneQilo opened this issue Feb 13, 2024 · 3 comments

Comments

@EugeneQilo
Copy link

EugeneQilo commented Feb 13, 2024

Hello @secile,
We deployed the latest version, and we have this observation. The Still Pin works on some Cameras but it doesn't on some other cameras. To be accurate, it was tested on 3 cameras, only 1 worked.

Could there be anything missed in the code? We have access to one of the cameras that didn't work, so if there is anything to check to troubleshoot this issue we will be happy to do.

@secile
Copy link
Owner

secile commented Feb 14, 2024

Thank you for your information.

Could you check camera.StillImageAvailable flag? If flag is false, the camera is not support still image capture.
Not all camera supports still imagecapture.

@EugeneQilo
Copy link
Author

@secile that flag is false, but these are intraoral cameras used in dentistry and they have capture buttons. What else can I check for this?

@secile
Copy link
Owner

secile commented Feb 15, 2024

about line 276, does variable sample is null?

var sample = ConnectSampleGrabberAndRenderer(graph, builder, vcap_source, DirectShow.DsGuid.PIN_CATEGORY_STILL);

if sample is not null, about line 283,
does variable video_con is null?

var video_con = vcap_source as DirectShow.IAMVideoControl;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants