Metadata-Version: 2.4
Name: occlude
Version: 1.1.2
Summary: Blur immodestly dressed people in videos. Video in, video out.
Author: Anaxonic Labs
License-Expression: MIT
Project-URL: Homepage, https://github.com/anaxoniclabs/OCCLUDE
Project-URL: Repository, https://github.com/anaxoniclabs/OCCLUDE
Project-URL: Issues, https://github.com/anaxoniclabs/OCCLUDE/issues
Keywords: video,modesty,blur,privacy,ai,computer-vision
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Multimedia :: Video
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: transformers>=4.40
Requires-Dist: torch>=2.2
Requires-Dist: torchvision>=0.17
Requires-Dist: pillow>=10.0
Requires-Dist: numpy>=1.24
Requires-Dist: matplotlib>=3.8
Requires-Dist: ultralytics>=8.2
Requires-Dist: opencv-python>=4.9
Requires-Dist: insightface>=0.7
Requires-Dist: onnxruntime>=1.16
Requires-Dist: scipy>=1.10
Requires-Dist: tqdm>=4.65
Requires-Dist: rich>=13.0.0
Provides-Extra: gpu
Requires-Dist: onnxruntime-gpu>=1.16; extra == "gpu"
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
Requires-Dist: ruff>=0.4.0; extra == "dev"
Requires-Dist: mypy>=1.0.0; extra == "dev"
Dynamic: license-file

# OCCLUDE

Blur immodestly dressed people in videos. Video in, video out.

OCCLUDE is an offline CLI tool that takes a video file, detects
people in violation of Islamic modesty rules frame by frame, blurs
them entirely, and writes a clean video with the original audio
preserved.

Inspired by HaramBlur and PordaAI, but built for offline processing
of full-length videos (documentaries, lectures, educational content)
rather than real-time browser playback — trading interactivity for
much higher accuracy.

## Install

```bash
pip install occlude
```

## Usage

```bash
occlude --input /path/to/video.mp4
```

Output is saved next to the input as `video_occluded.mp4`.

Optional flags:

```bash
occlude --input video.mp4 --output cleaned.mp4 --blur-strength 25
```

## Requirements

macOS with Apple Silicon recommended. Python 3.10+.

## License

MIT
