I am writing an application in PyQt5 that depicts images with objects inside. For instance houses. I need to check (somehow) the objects on the image and get the pixels’ values on that specific objects. For instance if I have an image with 20 houses (house_1, house_2, house_3, … e.t.c.) and I choose house_1, then to get the all pixels’ values of for object “house_1”.
Any ideas on how can I achieve that?
Is it something that can OpenCV code help me?
Is it something that has to do entirely with custom dataset object detection?
Can I apply object detection algorithms withn opencv?
I am using Ubuntu.
I have tried this: https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/training.html where I use custom dataset, but when I train it it never finish....
I have also tried this: https://blog.paperspace.com/mask-r-cnn-in-tensorflow-2-0/ and never finish...
I have, also, been studied papers, without finding something that could help me more.
I managed to build the model and make the object detection after many days trying. The problem is that the boxes with which the houses are marked, are overlapping. For instance box of “house_1” overlaps box of “house_2”.
How can I achieve this?
No boxes exist on the image and when I place a mouse over a house, then I need a box to appear for that specific house. An alternative is to keep all the boxes around the houses and when I place the mouse cursor over a house, then the box to disappear.