Ask Your Question

ssamko's profile - activity

2019-04-24 03:13:14 -0600 received badge  Famous Question (source)
2018-07-20 08:40:00 -0600 received badge  Notable Question (source)
2018-04-18 01:42:17 -0600 received badge  Popular Question (source)
2017-07-13 06:56:05 -0600 commented answer Template matching-multiple objects

Thank you, now I understand whole concept and also your python code but I really dont know how to rewrite this line: "match_locations = np.where(res<=min_thresh)" to working C# code. Other things are clear to me now. I will sit by the PC until I figure it out.

2017-07-12 17:53:06 -0600 asked a question Template matching-multiple objects

Helo guys I am new here and need Help with getting all locations from MatchTemplate. I use Emgu wrapper but I appreciate also c++ code samples. I use OpenCV 3.2

So my problem is that with MinMax I get only 1 location of template searched on source image(but on this image is about 10 objects same like template) so I want to get locations of all. I saw many examples of FloodFill with which it should be possible(in older OpenCV versions) but I am not able to edit it to my needs.

How do MinMax function access to result of MatchTemplate ? Can I get those locations manually from result without any function ?

My source codepreview from stack owerflow: https://stackoverflow.com/questions/4...

PS: I do this for about 3 days without success, so I would be very thankful for help.

THANK YOU !