OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

How to recognize different symbols in a picture with overlapping using CV/ML?

  • Thread starter Thread starter Florana
  • Start date Start date
F

Florana

Guest
l have a picture with some information about the milestone of each project. Each milestone is marked in the diagram with unique symbol. In the picture we have different trianlges or squares with different colors.

l need to extract the informations about the dates from the symbols in legend. Which means l need to know the location of each symbol and its legend. Then search for the near dates in the x-axis and y-axis.

milestone picture

l have tried cv2 with color recognization. And first l have extracted the dates in the x-y-axis and save their postion. l use cv2 to the yellow rhombus and it works fine. But when it comes to red or grey, because there are different symbols but all in red. l cannot differenciate them just using cv2.

The traditional computer vision method in cv2 cannot deal with the overlapping. And there are for example two types of red triangles, one is pointing to the left. With all of these problems, l cannot find a good method to recognize each symbol in legend. Do you have any suggestions?

Maybe the ML to train is a potential solution. l have aroung 1000 of this kind of pictures. l dont know whether it is enough to train a model. But the workload will also be high.
<p>l have a picture with some information about the milestone of each project. Each milestone is marked in the diagram with unique symbol. In the picture we have different trianlges or squares with different colors.</p>
<p>l need to extract the informations about the dates from the symbols in legend. Which means l need to know the location of each symbol and its legend. Then search for the near dates in the x-axis and y-axis.</p>
<p><a href="https://i.sstatic.net/2WeYNFM6.jpg" rel="nofollow noreferrer">milestone picture</a></p>
<p>l have tried cv2 with color recognization. And first l have extracted the dates in the x-y-axis and save their postion. l use cv2 to the yellow rhombus and it works fine. But when it comes to red or grey, because there are different symbols but all in red. l cannot differenciate them just using cv2.</p>
<p>The traditional computer vision method in cv2 cannot deal with the overlapping. And there are for example two types of red triangles, one is pointing to the left. With all of these problems, l cannot find a good method to recognize each symbol in legend. Do you have any suggestions?</p>
<p>Maybe the ML to train is a potential solution. l have aroung 1000 of this kind of pictures. l dont know whether it is enough to train a model. But the workload will also be high.</p>
 

Latest posts

A
Replies
0
Views
1
Amar Kalabić
A
Top