I'm trying to accomplish a task of finding a specific object inside a PictureBox
in VB.NET
and returning the object's location within the PictureBox
.
I have the image containing the object inside a PictureBox
and a Image saved on my computer at C:\Bitmaps\imgToFind.png
which is the object I want to find.
For example, if I have this picture inside the PictureBox
:
See Here
and this is the part of the picture I want to find saved at C:\Bitmaps\imgToFind.png
:
Part of the Picture
How would I be able to determine the (X,Y)
coordinates for the object is located inside the larger picture? (Assuming that the picture is always clear and not altered/misshapen/over layed)?