Blur-Anything / README.md
github-actions[bot]
Sync to HuggingFace Spaces
123489f

A newer version of the Gradio SDK is available: 5.6.0

Upgrade
metadata
title: Blur Anything
emoji: 💻
colorFrom: yellow
colorTo: pino
sdk: gradio
app_file: app.py
pinned: false

Blur Anything For Videos

Blur Anything is an adaptation of the excellent Track Anything project which is in turn based on Meta's Segment Anything and XMem. It allows you to blur anything in a video, including faces, license plates, etc.

Get Started

# Clone the repository:
git clone https://github.com/Y-T-G/Blur-Anything.git
cd Blur-Anything

# Install dependencies: 
pip install -r requirements.txt

# Run the Blur-Anything gradio demo.
python app.py --device cuda:0
# python app.py --device cuda:0 --sam_model_type vit_b # for lower memory usage

To Do

  • Add a gradio demo
  • Add support to use YouTube video URL
  • Add option to completely black out the object

Acknowledgements

The project is an adaptation of Track Anything which is based on Segment Anything and XMem.