Nvidia Jetson Nano two Webcams with same name

조회 수: 2 (최근 30일)
Matti Kaupenjohann
Matti Kaupenjohann 2021년 9월 10일
댓글: Sai Ram Sristi 2023년 1월 20일
I have to Logitech C720 cams which name is not a valid identifier since the cam gets the name from the Card-Type. The method camlist returns both cameras: one on /dev/video0 and the other on /dev/video1. Since the camera method uses the camname for analysing the device index, the sscanf function returns an error because to names are available.
My solution for the Moment is to rewrite the function, but this issues should be fixed in future releases.
  댓글 수: 1
Sai Ram Sristi
Sai Ram Sristi 2023년 1월 20일
Hi Matti,
The camera function enables the user to create a camera object based on the card-type. To create a camera object for the desired camera, provide the Card-type(Ex '/dev/video0') in place of 'VideoDeviceID' in the below syntax.
camObj = camera(hwObj, cameraName, resolution, 'VideoDevice', '<VideoDeviceID>');

댓글을 달려면 로그인하십시오.

답변 (0개)

제품


릴리스

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by