How to measure similarities between two images

How to get similarity, a number, between two pictures.
if they are perfectly same then their similarity is 1.
if they are not at all alike then it’s 0.
Numbers between 0~1 indicates how similar they are.
I want to convert a MP4 video into a series of similarity numbers by
comparing frame-0 and frame-1, then frame-1 and frame-2, etc.

See here for some ideas:


This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.