GithubHelp home page GithubHelp logo

shubham18024 / benfords-law_videoanalysis Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 19.32 MB

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: MIT License

Jupyter Notebook 100.00%
benfords-law detection histogram jupyter-notebook python3 video

benfords-law_videoanalysis's Introduction

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]

benfords-law_videoanalysis's People

Contributors

shubham18024 avatar

Stargazers

Deependra Singh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.