Filter images without people using YOLOv8 (ultralytics).
Project description
peepfilt
Filter images without people using YOLOv8 (Ultralytics). Supports CLI, FastAPI, and a minimal frontend. Auto-selects CUDA if available, otherwise CPU.
Install
For CPU only:
pip install peepfilt[cpu]
For GPU (CUDA 12.1):
pip install peepfilt[gpu] --index-url https://download.pytorch.org/whl/cu121
CLI
peepfilt images/ \
--no-people-dir images/no_people \
--conf 0.25 \
--batch-size 16
Web UI
Start the API server with the web interface:
peepfilt-ui
Open http://localhost:8090 in your browser to access the UI. Endpoints:
- GET
/health– health check - POST
/scan-dir– scan a directory for images without people
Notes
- Model:
yolov8n.pt(Ultralytics) - Person class only
- Image size: 640
- Defaults: conf 0.25, batch size 16
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file peepfilt-0.1.1.tar.gz.
File metadata
- Download URL: peepfilt-0.1.1.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15082d6343958baa0d3263e41c24f7ea9ea8b3cb7b8ab01a78abfb6f56013b05
|
|
| MD5 |
cfeb5c973a9b4488aa8218adc119806e
|
|
| BLAKE2b-256 |
a596015b72a2c7d18c514c55bbd58b047b04254cf574867f63c62da9dcaa741f
|
File details
Details for the file peepfilt-0.1.1-py3-none-any.whl.
File metadata
- Download URL: peepfilt-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45db6b9d778fb29fa55d1203c33c140534d9e74d38c95f99f4c56e4a203a756d
|
|
| MD5 |
ac965c76d48ca95d6e39a69e09e3b3a5
|
|
| BLAKE2b-256 |
2dbac3ef036c18ef786e084d34d8184979661177960422f744a2c3c8d3faa382
|