8000 GitHub - anandbaburajan/TwoPixels: Steganography tool to embed hidden text in videos
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Feb 5, 2022. It is now read-only.

anandbaburajan/TwoPixels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TwoPixels

A Python steganography tool to hide text in videos using the HSV values of pixels.

Each frame of the carrier video stores a bit of the text using two pixels at two corners of the frame. The hidden text can be accurately extracted from the video using the difference of HSV value dimensions of the two pixels in each frame.

Installation

pip install -r requirements.txt

Usage

Usage:
  TwoPixels.py encode -i <input> -o <output> -t <text>
  TwoPixels.py decode -i <input>

Options:
  -h, --help                Show this help
  -t, --text=<file>         Text to hide
  -i, --in=<input>          Input video file
  -o, --out=<output>        Resultant video file

Import as python module

# encoding
>>> import TwoPixels as TP
>>> TP.encode_vid("video.mp4", "result.mp4", "Hello")

# decoding
>>> import TwoPixels as TP
>>> print(TP.decode_vid("result.mp4"))
Hello

About

Steganography tool to embed hidden text in videos

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0