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

How to Get Button Press Event OF UVC Device #883

Closed
mohammadwasim91 opened this issue Nov 15, 2022 · 2 comments
Closed

How to Get Button Press Event OF UVC Device #883

mohammadwasim91 opened this issue Nov 15, 2022 · 2 comments

Comments

@mohammadwasim91
Copy link

Hi
I am using this library to get a preview of the UVC device.
I want to capture the image, do some processing and save it on the disc, I have added a button on the screen, and on clicking that, I am taking the snapshot and saving it onto the file.
The same operations should also be performed when I press the SCAN button present on the UVC device but I am not aware the how can I listen to the button press event of the camera.

@eduramiba
Copy link

Hi @mohammadwasim91

You will need to create a custom library for the UVC extension of this device. Do you have documentation from the vendor? Which device is it?

Which OS do you intend to use?

@alexmao86
Copy link
Collaborator

Hi,
webcam-capture is trying to capture webcam to java swing BufferredImage, even without audio. so regarding buttons on device, it is out of webcam-capture scope. Just like @eduramiba comments, it is highly depends on your device, there shall be some other open source with JNI JNA support to work with hardware outside only if there are interface on your device.

thanks

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

3 participants