B-AROL-O / ARNEIS

Automated Recognizer, Network-Enabled, Items Sorter
https://arneis.readthedocs.io
MIT License
21 stars 8 forks source link

[FEAT]: Find a way for capturing the image of the whole bottle circumference #86

Open gmacario opened 2 years ago

gmacario commented 2 years ago

Description

The bottles we should recognize and classify have in most cases a round section. This implies that there are no mechanical ways for aligning the bottles and make sure that the OAK-D-Lite camera can always see them from one preferred angle (i.e. the one where the label is attached)

In order to increase the accuracy of the image detection we should probably design a way for capturing an image of the whole bottle circumference.

Also with OpenCV we should be able to detect the label position in the circumference and realign the total picture to have it centered inside the timage.

Additional Information

Possible alternatives:

  1. Place multiple OAK-D-Lites (we have up to 3) and use OpenCV to create a panorama photo
  2. Have the bottle conveyor perform a rotation of the bottle when in front of the OAK-D-Lite(s)
  3. A combination of 1. and 2. (that should minimize the recognition time as well as the ARNEIS system cost)

Notice that each of the proposed alternative will have a different impact on

gmacario commented 2 years ago

Maybe the following module of FREE OpenCV Crash Course may help:

⌨️ (1:23:57) Module 9: Image Stitching and Creating Panoramas

gteti commented 2 years ago

Maybe the following module of FREE OpenCV Crash Course may help:

⌨️ (1:23:57) Module 9: Image Stitching and Creating Panoramas

It is what I was referring to when I said, we can have multiple images of a single item/bottle and we can "merge" them 😄