How to distinguish objects based on different patterns in it?

asked 2019-10-05 14:23:17 -0500

Shagun Kala gravatar image

updated 2019-10-06 21:16:34 -0500

supra56 gravatar image

[Hi guys, I am new to OpenCV and trying to solve a problem. I searched the internet but couldn't find something which can work out. I am attaching a sample image and the desired output. Please help me with the solution or how to approach this problem? I have tried various methods like hough line transform, template-matching, contouring. But it doesn't work out successfully for me. An exact solution would be appreciated. Thanks!image description(/upfiles/157030317866461.jpeg)

edit retag flag offensive close merge delete