Skip to content

The Benford's Law Video Analysis project is a Python tool that leverages Benford's Law to differentiate between original and AI-generated videos. The script extracts frames from a video, analyzes the first digits of pixel values in these frames, and creates histograms to visualize digit occurrences.

License

Notifications You must be signed in to change notification settings

Shubham18024/Benfords-Law_VideoAnalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benford's Law Video Analysis

Overview

The Benford's Law Video Analysis project is a Python tool that transforms video frames into a visual journey through Benford's Law. Dive into the digits, explore the patterns, and distinguish between authentic and AI-generated videos.

🚀 Features

  • Digit Safari: Extract frames, embark on a digit adventure, and witness the hidden patterns.
  • Histogram Wonderland: Create vivid histograms showcasing the enchanting first digit occurrences.
  • Average Magic: Unveil the average histogram, a magical amalgamation of all frame journeys.

Install Enchantment

pip install -r requirements.txt

🌈 Dependencies

OpenCV
NumPy
Pillow (PIL)
Matplotlib
scipy

📜 License

This project is licensed under the MIT License - see the LICENSE.txt file for details.

🙌 Acknowledgments

Inspired by the Netflix documentary : The hidden science of everything.

🤝 Contributing

Contributions are welcome! Open an issue or submit a pull request.

📧 Contact

Shubham Tiwari [email protected]

About

The Benford's Law Video Analysis project is a Python tool that leverages Benford's Law to differentiate between original and AI-generated videos. The script extracts frames from a video, analyzes the first digits of pixel values in these frames, and creates histograms to visualize digit occurrences.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published