How can I implement Camera2 API for external usb camera?

801 Views Asked by At

I am trying to create an application for tablet which uses external camera. It should capture and re-capture image as well as save image.

I tried implementing third party libraries like libuvccamera but it is not detecting any camera. Which other method/library can I use to implement this feature?

1

There are 1 best solutions below

0
On

Try this one, worked for me https://github.com/jiangdongguo/AndroidUSBCamera. It's based on libuvccamera but much more convenient and requires little to make things work