iot-edge-darknet-module icon indicating copy to clipboard operation
iot-edge-darknet-module copied to clipboard

Error occurs when capturing the Jetson TX2 onboard camera (dev/video0)

Open mingqxu-zz opened this issue 6 years ago • 1 comments

I am having a Jetson TX2 running JetPack 3.2

nvidia@tegra-ubuntu:~/Projects/iot-edge-darknet-module$ docker run -it --privileged vjrantal/iot-edge-darknet-module:latest /bin/bash root@70d89c8a96c4:/# python Python 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609] on linux2 Type "help", "copyright", "credits" or "license" for more information.

import cv2 capture = cv2.VideoCapture(0) HIGHGUI ERROR: libv4l unable convert to requested pixfmt HIGHGUI ERROR: libv4l unable to ioctl VIDIOCSPICT

mingqxu-zz avatar Jun 02 '18 14:06 mingqxu-zz

@mingqxu I used a USB-connected camera. I did notice that others have run into this issue as well such as here.

I am not planning to try to make this work with the in-built camera in the near future, but please comment back if you get it working and what kind of workaround worked for you.

vjrantal avatar Jun 04 '18 05:06 vjrantal