java - How to detect if the image contains the given object or area or these two images are the same in OpenCV -


i want check if image contains given part (a small image in side it) or these 2 image same. better understanding question image bellow.

  1. the image looking inside images: enter image description here

  2. some other images: enter image description here enter image description here enter image description here enter image description here

these images not same size. images above first, third , forth images containing given image.

so have tried 3 ways this: 1. first way using opencv norm function in opencv core class. 2. second way comparing histograms of images. 3. third way using algorithm fast , orb.

but no 1 worked better me, first way working when 2 images same each other. second way working when 2 images same. third way working when part of images same.

so cannot result using above ways.

if can tell how this.

note: using opencv 3 in java, surf , sift not supported.

thanks in advance!


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -