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

Support for USB camera #9

Open
akeilox opened this issue May 8, 2019 · 1 comment
Open

Support for USB camera #9

akeilox opened this issue May 8, 2019 · 1 comment

Comments

@akeilox
Copy link

akeilox commented May 8, 2019

Is it possible to use USB camera connected to android tablet or phone ?

More like the USB camera stationed on desk like table lamp, so the document with MRZ is placed under it.

How one can go about implementing such in the code ?

@mercuriete
Copy link
Owner

to the first question
using google, yes it is possible.
https://source.android.com/devices/camera/external-usb-cameras
The new Camera Api 2 can access to usb cameras
As you can read it seems the Manufacturer of the phone should implement the HAL first and then the developer will be able to access it.

So even though I not sure if is feasible, the theory is create an app enumerating cameras with Camera API 2 and test all phones hoping one manufacturer did the support.

This request is out of my knowledge and my time, so I let you the exercise of doing it.
If you accomplish that you can let me know here.

PS: You can try android x86 on a pc and this distribution is likely to have this HAL enabled. because on a pc the only way to use a camera is with v4l2.

I will leave this issue opened for the future

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