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