Skip to content

mel-edo/who_said_invisible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Invisible

Like the song which is totally present in the MGS series.

I got a bout of inspiration and built this in about a day.

Note: Only works on Wayland right now due to the usage of grim as the screenshot utility.

Demo

solid.mp4

What It Does

This tool constantly monitors your screen and:

  • Matches visual content using ORB + OpenCV
  • Extracts text using Tesseract OCR and checks for relevant keywords
  • Captures the screen using grim (Wayland screenshot utility)
  • Plays an MP4 audio clip using ffplay from FFmpeg
  • Displays a fullscreen animated overlay using PyQt5

Requirements

  • Python 3.8 or newer
  • Wayland display server
  • Tesseract OCR
  • ffplay (part of FFmpeg)

Python Dependencies

Install using pip:

pip install opencv-python pytesseract PyQt5

For Arch Linux Users

Install all system dependencies with:

sudo pacman -S \
  tesseract tesseract-data-eng \
  python-pytesseract opencv python-opencv \
  python-pyqt5 grim ffmpeg --needed

Usage

Run the detector script:

python3 main.py

About

funny mgs thing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages