Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ•ΆοΈ Segma Cloak - Real-Time Body Segmentation Invisibility with MediaPipe & Python

Made with Python MediaPipe GitHub stars

Segma Cloak is a real-time invisibility effect powered by MediaPipe's body segmentation β€” no colored cloth needed!

Turn on Phantom Mode and disappear from your webcam with AI magic.
No green screen. No tricks. Just Python 🐍 and MediaPipe πŸ’ͺ.


πŸš€ Features

  • βœ… Real-time body segmentation invisibility
  • βœ… No green screen, no colored cloak needed
  • βœ… Powered by MediaPipe + OpenCV
  • βœ… Fun Harry Potter-style vanishing act with AI!

πŸ› οΈ Requirements

  • Python 3.6+
  • OpenCV
  • MediaPipe
  • NumPy

Install dependencies:

pip install -r requirements.txt

🎯 How It Works

  1. Captures a background frame (without you in it).

  2. Uses MediaPipe's Selfie Segmentation to detect your body.

  3. Replaces your body area with the background, making you invisible.


▢️ Run the Project

python segma_cloak.py

Press 'q' to quit the camera window.


πŸ“ Requirements File (requirements.txt)

mediapipe
opencv-python
numpy

πŸŽ₯ Live Demo


πŸ“š Credits

  • Built with MediaPipe by Google

  • Inspired by the Harry Potter Invisibility Cloak idea πŸͺ„

  • Segmentation magic powered by AI 🧠


🌟 Star This Repo

If you like Segma Cloak, give it a ⭐️ on GitHub!

πŸ“„ License

This project is open-source under the MIT License.

About

A fun computer vision project to create an invisibility cloak using Python and OpenCV.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages