In this short video, I will show a possible application of computer vision, using the cellphone camera as an IP camera to perform object detection using a Jetson Nano. The details are explained below.
1 - To turn my cellphone camera in an IP camera, I used the app: RTSP Camera Server for Android ([ Ссылка ])
2 - To start pulling the camera streaming, I used the following command: ffmpeg -thread_queue_size 2631 -i "rtsp://192.168.0.11/camera -vcodec rawvideo -vf scale=1280:720 -f v4l2 -threads 0 -pix_fmt yuyv422 /dev/video0
Ps: Note that the command above may vary for you depending on thread_queue_size, the RTSP url and the scale. It is a good idea to wrap the RTSP URL with " " to avoid problems.
3 - To run the object detection code, I followed the great tutorial from Dustin (NVIDIA): [ Ссылка ]
4 - The Jetson Nano can be bought from several suppliers, just google it. It is and edge device that is no expensive :)
Ещё видео!