Hello,
for a project I'm developing I need to see if an object (in my case, a bottle) is present in a shelf. There are 3 rows and 12 columns for each shelf, which is about 60cm x 150 cm. I can use more than 1 cam to see the objects.
I never used any type of image recognition, so I would like to understand if you think it's a good idea - in your opinion - using a cam to capture the bottle on the shelf and then make an image recognition.
What you think about it? Could it be possible? What instrument and libraries should I use?
Thanks!
Position detection using ESP32
-
- Posts: 94
- Joined: Tue Sep 07, 2021 12:07 pm
Re: Position detection using ESP32
Search for OpenCV (computer vision.)
https://github.com/joachimBurket/esp32-opencv
The problem will be simpler if you can use a single camera above the shelf, and good contrast colors. Then you are just counting circular patches of not-shelf-color or bottle-cap-color. OpenCV might be overkill for that, but probably has the exact code already written.
If you must look edge-on to the shelf, counting gets harder. But just detecting something is on the shelf (not counting) might be as simple as painting the wall behind the shelf a contrasting color and counting patches of not-background-color with more than N pixels.
Good lighting will be important.
https://github.com/joachimBurket/esp32-opencv
The problem will be simpler if you can use a single camera above the shelf, and good contrast colors. Then you are just counting circular patches of not-shelf-color or bottle-cap-color. OpenCV might be overkill for that, but probably has the exact code already written.
If you must look edge-on to the shelf, counting gets harder. But just detecting something is on the shelf (not counting) might be as simple as painting the wall behind the shelf a contrasting color and counting patches of not-background-color with more than N pixels.
Good lighting will be important.
Craige
-
- Posts: 32
- Joined: Thu Aug 30, 2018 8:16 am
Re: Position detection using ESP32
Thank you for the tip, I will try the OpenCV
Who is online
Users browsing this forum: No registered users and 14 guests