0

I am trying to find the location of an image within a bigger image. I have wasted about 6-7 hours resourcing and couldn't manage to come up with something that I could use. I looked into

All the tutorials I have found in Emgu is really outdated (For the VBS). I even downloaded the older version of the dlls to make the script work but yet not quite right. The bitmap.contains one looked pretty interesting but for some reason it's not working.

Here are the pictures I am working with:

  1. Main Image
  2. Sub Image

Any help would be really appreciated! Thanks

  • The bitmap one works, but if I make the sub image smaller or transparent it cant detect. – Sifat Dipta Jun 21 '18 at 04:40
  • [OpenCV](https://docs.opencv.org/2.4/modules/imgproc/doc/object_detection.html?highlight=matchtemplate#cv2.matchTemplate) `matchTemplate` method does what you want. You also have its equivalent on [EmguCV](http://www.emgu.com/wiki/files/3.1.0/document/html/ee43f981-70ee-04c2-4c10-764da38f0781.htm). – Oscar Martinez Jun 21 '18 at 06:24

0 Answers0