Open noamnav opened 4 years ago
Might not be the best solution but what I would do in your case is contouring the sheep, contouring the grass. Then you'll obtain two different masks where you can use binary operator. I think in your case is:
final_grass = grass_with_sheeps and not sheep
Well, it's been 15days already, you probably already found something better.
That's definitely an option and has been suggested here.
I am however trying a different approach as suggested by @waleedka. results so far are within reason but far from ideal so trying to expand my training set.
There is perhaps a greater question to be asked, which is if the implemented method is at all appropriate for detecting 'background' objects. This could be anything like the grass example above, sky images, roads (separated from cars) or even walls / tiles in interior images (distinguished from 'noise' elements).
In the below example, I am trying to annotate the 'grass' class. What would be the best technique in this instance? Naturally, a simple polygon would have to include the sheep objects which is undesired.
Thanks