Darknet camera not found on Jetson Nano

I am trying to run darknet with CUDA with a Jetson Nano(Ubuntu 18.04) with this camera

I have followed every step in this nice tutorial

,but when running darknet with

./darknet detector demo cfg/coco.data cfg/yolov3.cfg yolov3.weights -c 0

a green screen appears where the video feed should be and the framerate info is streaming in the terminal. Am I missing a camera driver or something? Thanks

Hi,

What kind of camera do you use?
If it’s an USB camera, you will need to build OpenCV from source with GStramer support:
[url]https://github.com/AastaNV/JEP/blob/master/script/install_opencv4.0.0_Nano.sh[/url]

By the way, it’s recommended to use our Deepstream SDK for YOLO model.
We have optimized the pipeline for Jetson platform which can give you a better performance.
[url]https://developer.nvidia.com/deepstream-sdk[/url]

Thanks.