Finding subimage/template/object from mainImage/scene using opencv android

1.4k Views Asked by At

I want to find that does smalller image or subimage is part of larger image or not? and if it is part of it then want to know its coordinates.

For doing that, i was using template matching method of opencv. It was working fine if the size of subimage is exactly same as size of part of Main Image(where it matches). But if i change the size/scale the sub image then template matching is not able to do what i what i want to perform. Can anyone know other methods of how to do that and please if possible give me the code to find it. Any help will be appreciated.

0

There are 0 best solutions below