CSI Camera cannot be turned on after installing the YOLOv5 dependency package

I can’t open CSI Camera after installing the YOLOv5 dependency package
The code used is provided on github: CSI-Camera/simple_camera.py at master · JetsonHacksNano/CSI-Camera · GitHub

This is Jetson Xavier NX use’s System and Hardware config
System: Ubuntu 20.04
Camera: IMX219
Python: 3.8
OpenCV: 4.5.5
Gsteamer: 1.16.3
YOLO Models: yolov5n.pt

First create a virtualenv, then install yolov5 dependencies packages

pip install -r requirements.txt

I just found that I can’t turn on CSI Camera, and terminal doesn’t show any error information.
but i can display the media using this command:

$ gst-launch-1.0 nvarguscamerasrc sensor_id=0 ! \
   'video/x-raw(memory:NVMM),width=1920, height=1080, framerate=30/1' ! \
   nvvidconv flip-method=0 ! 'video/x-raw,width=960, height=540' ! \
   nvvidconv ! nvegltransform ! nveglglessink -e

Do yo use DRIVE AGX Xavier or Xavier developer kit? The category seems wrong.

sorry, I use Xavier developer kit

Please share which camera module you are using. And for running Yolo models, we suggest use DeepStream SDK. You can install it through SDKManager and try Yolov2, Yolov3 in the package. And can check:
GitHub - NVIDIA-AI-IOT/yolo_deepstream: yolo model qat and deploy with deepstream&tensorrt
Run YOLOv5 in Deepstream with .engine generated alternatively - #4 by Fiona.Chen

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.