Ask Your Question
0

How to separate objects wich have the same color

asked 2017-04-12 14:05:54 -0600

hellomati gravatar image

Hi , for an internship I need to detect some pigs. I can separate them to the background but not separate one to another when they are too close. I'm starting to learn image processing so maybe I'm doing bad. Do you have any advices for me ?

The first picture.http:// (image description) Without background http:// (image description) Outline with canny detector http:// (image description)

edit retag flag offensive close merge delete

Comments

For segmentation, this will always be an issue. That is why people invented object detection algorithms. Have a look at those.

StevenPuttemans gravatar imageStevenPuttemans ( 2017-04-14 07:28:36 -0600 )edit

hi there. i have faced the same issue. i have an object with different shapes and i want to separate them. have you found a solution? any idea ?

kilwa gravatar imagekilwa ( 2020-09-24 17:10:40 -0600 )edit

3 answers

Sort by » oldest newest most voted
1

answered 2020-09-25 05:36:01 -0600

Shassk gravatar image

We've had similar problem with cars detection on my job.

What we came to is neural networks (YOLOv3 to be precise) because only they were able to give quality of detection + separation that is good enough for our needs.

Maybe that's not exactly what you're looking for but that's what solved problem in our case.

edit flag offensive delete link more
0

answered 2020-10-16 23:37:00 -0600

lybui gravatar image

Hi! Thank you for your question!

I think BeatColor's article about Clipping Path and Masking is useful for you. It introduces the photoshop techniques used to cut out the subject from the background!

edit flag offensive delete link more
-3

answered 2017-04-12 14:24:33 -0600

ManuVISION gravatar image

Once you have detected both, check for aspect ratio. If its more then divide the detected image into half.

edit flag offensive delete link more

Comments

Thanks for your answer but as you can see here "https://i.stack.imgur.com/npek3.png." they can have différents shapes so i can't use the width to separate them.

hellomati gravatar imagehellomati ( 2017-04-12 14:32:17 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2017-04-12 14:05:54 -0600

Seen: 1,139 times

Last updated: Sep 25 '20