How can I find a obj in a picture and calculate the degree of similarity
I can detect a obj region by using SURF method.I try to clip the target region to compare source picture and get the degree of similarity.After many attempts by compare histogram plot,Perceptual hash algorithm and so on,I find the result is not accurate.How can I solve the problem,thank you very much.
Do some research into published methods of object detection. Use Google Scholar and also look at the simplest OpenCV examples. You are highly unlikely to find others who have had success with your approach. Your best bet is probably SSD (or similar). Take a look at TensorFlow Object Detection API and google 'tensorflow raccoon detector'.