AnsweredAssumed Answered

How to register my camera?

Question asked by jiang shao on Sep 22, 2014
Latest reply on Oct 14, 2014 by jiang shao

When I connect WebCamera(Logitech C170) to Demo board(sabresd_6dq-eng 4.2.2),

I can see the following messages:

 

<6>usb 2-1.4.4: new high speed USB device number 9 using fsl-ehci

<6>uvcvideo: Found UVC 1.00 device Webcam C170 (046d:082b)

<6>input: Webcam C170 as /devices/platform/fsl-ehci.1/usb2/2-1/2-1.4/2-1.4.4/2-1

.4.4:1.0/input/input6

 

And  the device is /dev/video2

(file video0,video1 exist,but hardware not installed)

 

But when I use

int cameraCount = Camera.getNumberOfCameras();

to get the count of cameras.

It always returns zero....

 

How to register my camera?

Outcomes