r/opencv • • Jun 27 '21

Question [QUESTION] Problem About Real Time Object Detection On Raspberry Pi

Hey people, We are building autonomous underwater vehicle and using yolov5 on raspberry pi for realtime object detection but model detects object from photo about 3 seconds and its so slow for us. So do you have any advise, should i use just opencv without ML model. I just need to detect rectangle and circle with specific measurements, it couldnt be that hard i know. I am programmer but doesnt have lots of experience with these subjects. Please help me šŸ™ Thanks…

1 Upvotes

8 comments sorted by

2

u/Shnibu Jun 28 '21

You’re really going to have to squeeze to get more on a Raspberry Pi, maybe look into something like NVIDIA’s Jetson. Not sure on the networking setup but with sufficient latency/bandwidth you could try a cloud based solution without needing to upgrade the hardware on the vehicle

1

u/curiousbutadhd Jun 28 '21

My device will work underwater so i cant use cloud and i have jetson nano 4gb, i could use that or just use opencv on raspberry pi.

1

u/lefibonacci Jul 02 '21

Hi,

Will OpenCV not work on the Jetson?

Thank you.

2

u/curiousbutadhd Jul 03 '21

it can work with nice performance

2

u/thepyrator Jun 28 '21

1

u/curiousbutadhd Jun 30 '21

yeah but its expensive tho šŸ˜‚. I might just use opencv

1

u/thepyrator Jun 30 '21

OK - Is the Coral TPU out of your price bracket as well?