Raspberry Pi v2 camera #3405
ozguryildizmist
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to use raspberry pi v2 camera for yolo detection. I am using Jetson Nano module on custom carrier board and I pulled Nvidia Linux for Tegra Docker image. Up to now, I run the camera inside docker by using "gst-launch-1.0 nvarguscamerasrc ! nvoverlaysink " pipeline.
I created my container like below.
sudo docker run --net=host --runtime nvidia -it --gpus all --ipc=host -v /home/nvidia/docker_yolov5/:/yolov5 -v /tmp/argus_socket:/tmp/argus_socket --cap-add SYS_PTRACE -e DISPLAY=:0 -v /tmp/.X11-unix:/tmp/.X11-unix -v /dev/video0:/dev/video0 nvcr.io/nvidia/l4t-ml:r32.5.0-py3
When I run below command,
python3 detect.py --source 0 --conf 0.5
I think, detect.py code should be arranged for using raspberry pi v2 mipi camera. How can I do that? Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions