Overholt
Overholt

Reputation: 917

OpenCV Image in Image Search (C++)

I want to detect objects in a given "original Image", based on another "proposed Image". The "proposed Image" is smaller than the original Image and it might not look 100% alike (background may differ slightly). I want to find all occurences of the "proposed Image" in the original Image.

Is there an efficient way to do this in OpenCV?

Thank you in advance!

Upvotes: 1

Views: 2197

Answers (2)

wl2776
wl2776

Reputation: 4327

Yes, you could train and run CascadeClassifier. Another option is using 2d feature detectors and descriptors, for example SIFT.

Upvotes: 0

Werkov
Werkov

Reputation: 616

For starters, you may try template matching.

Upvotes: 1

Related Questions