Skip to content

Computing frame difference between current frame and previous frame or first frame with SSIM(Structural Similarity Index Measure)

License

Notifications You must be signed in to change notification settings

qbxlvnf11/frame-difference-SSIM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Description

- Frame difference

  • How different are the pixel values and structures of the two images?

- SSIM (Structural Similarity Index Measure)

  • A perception-based model that considers image degradation as perceived change in structural information, while also incorporating important perceptual phenomena, including both luminance masking and contrast masking terms.
  • More details: https://en.wikipedia.org/wiki/Structural_similarity

Contents

- Computing frame difference between current frame and previous frame or first frame

  • Read video
  • Comparision current frame with previous frame or first frame
    • Frame difference score represented as SSIM (Structural Similarity Index Measure)
    • 'Score = 1' means that current frame and frame to compare are perfecly same
  • Filtering by score threshold
  • Visualization of bar chart using frame difference scores

References

- SSIM

https://pypi.org/project/av/

Author

About

Computing frame difference between current frame and previous frame or first frame with SSIM(Structural Similarity Index Measure)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published