Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Open external UVC camera instead hardware camera

i need to open external UVC camera with

Camera.open(CameraId);

but not working

Please help?

like image 422
user2988855 Avatar asked Jun 15 '16 07:06

user2988855


1 Answers

Unfortunately, while the camera2 API does have the necessary API interfaces for supporting external cameras such as USB webcams, there's not yet standard low-level support for external cameras.

Some individual device manufacturers do have such support, but that is a very small number of devices currently.

Until then, the only way to have USB webcams be usable by an Android application is to use the raw USB APIs directly, and not use the camera APIs at all. You can either try to find an existing UVC library to use, or write your own.

like image 118
Eddy Talvala Avatar answered Sep 28 '22 16:09

Eddy Talvala