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

Compatible with external UVC USB camera ? #10

Open
batchku opened this issue Feb 18, 2019 · 1 comment
Open

Compatible with external UVC USB camera ? #10

batchku opened this issue Feb 18, 2019 · 1 comment

Comments

@batchku
Copy link

batchku commented Feb 18, 2019

Hello!

Thank you for this project.

Would this approach be compatible with an external usb camera (UVC compatible webcam)?

@duanhong169
Copy link
Owner

I think it's compatible with an external camera, however, you probably need to handle the facing yourself, currently only CameraCharacteristics.LENS_FACING_BACK and CameraCharacteristics.LENS_FACING_FRONT are handled.

static {
INTERNAL_FACINGS.put(Values.FACING_BACK, CameraCharacteristics.LENS_FACING_BACK);
INTERNAL_FACINGS.put(Values.FACING_FRONT, CameraCharacteristics.LENS_FACING_FRONT);
}

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