Petrouil
Posts: 2
Joined: Fri Jan 10, 2020 3:34 pm

Object Recognition using Raspberry

Fri Jan 10, 2020 3:43 pm

Hello,
I am here because I need to build a project with raspberry pi 4 with opencv that recognises objects in real time, and I have some questions.
1) Is this possible in real-time using such an slow computer?
2) What algorithm/library should I use for this purpose?
3) Can I use my USB Microsoft LifeCam instead of buying the raspberry camera?

Thanks in advance for any kind of answers!!

luckydog
Posts: 19
Joined: Sun Mar 03, 2019 7:07 pm

Re: Object Recognition using Raspberry

Tue Jan 14, 2020 3:53 pm

Hi, I found this articl https://elinux.org/RPi_USB_Webcams that says that camera is compatible, looks like it hasnt been updated recently but I would give your camera a go before you buy a new one.

pmbdk
Posts: 8
Joined: Thu Jan 02, 2020 2:09 pm

Re: Object Recognition using Raspberry

Tue Jan 14, 2020 4:38 pm

1) It depends on your definition of "realtime". No image sensor works in true realtime anyway ;-)
2) Depends on your application
3) The webcams I have tried works fine. But you can just plug it in and test. You don't really want high-resolution anyway.

ElEscalador
Posts: 724
Joined: Tue Dec 15, 2015 4:55 pm
Location: Detroit, MI USA
Contact: Website

Re: Object Recognition using Raspberry

Tue Jan 14, 2020 4:48 pm

Check out https://github.com/AlexeyAB/darknet for a version of pjreddie/darknet that allegedly runs on a pi4. I have not been able to get it to run on a pi3, but the way I use it in ROS/robotics makes it easy for a little pi3 robot to send images to a laptop for processing. Without even using my GPU I get the same 1fps that I do when I run directly on my laptop. I understand that running on the pi4 is much, much slower.
Giving away some sensors and robot parts in advance of my book release! The first review and giveaway below!

https://youtu.be/fCX0HaeQiyw

g4bch
Posts: 11
Joined: Mon Oct 01, 2012 12:06 pm

Re: Object Recognition using Raspberry

Wed Jan 15, 2020 12:53 pm

You might find something here
https://www.pyimagesearch.com/category/raspberry-pi/
It seems to be quite a bit ther on image processing and AI, mainly python based.

Return to “Graphics, sound and multimedia”