Detect if two images are significantly different RRS feed

  • Question

  • Hey experts,

    I'm looking for some advice on the following code problem: I'd like to detect if two images are significantly different. I'm working on a piece that analyzes videos and does a facial recognition, then returns some information (lets say: the number of unique people in the video). For a small video, this could result in hundreds of thousands of frames that need to be analyzed, so I thought I'd do two optimizations:

    a) compare image N with image N-1 and see if there's a significant difference. The images could be slightly different in a number of ways, like the people in the images moved half an inch, the lighting changes slightly, the camera is zooming in/out/panning/shaking/...  AKA, I don't need exact pixel by pixel true/false, but more of a "number of mutations count".

    b) same but comparing image N with image N-1000/5000/10000 etc.

    Any help would be appreciated




    Wednesday, June 6, 2018 2:03 PM


  • Google knows, but apparently you have to search for "detect if two images are similar" instead of "significantly different", then invert the result ;-)


    Monday, June 11, 2018 4:34 PM

All replies