How to count features found in an image?

asked 2014-04-11 15:12:41 -0500

Hazha gravatar image

Hi all,

I am trying to detect features from an image after it was compared to another image, using SimpleCV. I want the program to count the number of differences it has found. Can someone please show me the codes?

Here is what I have: while True: img1 = Image('car.png') img2 = Image('empty.png') b1 = img1.findBlobs() b2 = img2.findBlobs() for ba in b1: for bb in b2: print ba.match(bb)

This code only highlights the difference between the two images. I also want to know how to tell the program if motion was detected, then take a picture and do the comparison?

Thanks a lot!

edit retag flag offensive close merge delete