Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A Python project for detecting video tampering using frame difference analysis with OpenCV and NumPy. Includes anomaly detection and visualization tools.

NotificationsYou must be signed in to change notification settings

eyuuab/Frame_level_video_forgery_detaction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

This project analyzes video frame differences to detect potential tampering, such as duplicate or frozen frames. Using OpenCV and NumPy, the script compares a tampered video with a real video and visualizes the results.


Method

The script usesframe difference analysis:

  1. Convert each video frame to grayscale to simplify processing.
  2. Calculate the absolute difference between consecutive frames.
  3. Count the number of non-zero pixels in the difference to measure changes.
  4. Flag frames with minimal changes (below a threshold) as potential duplicates or frozen frames.

This approach highlights anomalies that may indicate video tampering.


Requirements

  • Python 3.x
  • Required Libraries:
    • OpenCV (cv2)
    • NumPy (numpy)
    • Matplotlib (matplotlib)

Install dependencies using:

pip install opencv-python-headless numpy matplotlib

About

A Python project for detecting video tampering using frame difference analysis with OpenCV and NumPy. Includes anomaly detection and visualization tools.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp