Skip to main content

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

peepfilt-0.1.1.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

peepfilt-0.1.1-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

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

Hashes for peepfilt-0.1.1.tar.gz
Algorithm Hash digest
SHA256 15082d6343958baa0d3263e41c24f7ea9ea8b3cb7b8ab01a78abfb6f56013b05
MD5 cfeb5c973a9b4488aa8218adc119806e
BLAKE2b-256 a596015b72a2c7d18c514c55bbd58b047b04254cf574867f63c62da9dcaa741f

See more details on using hashes here.

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

Hashes for peepfilt-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 45db6b9d778fb29fa55d1203c33c140534d9e74d38c95f99f4c56e4a203a756d
MD5 ac965c76d48ca95d6e39a69e09e3b3a5
BLAKE2b-256 2dbac3ef036c18ef786e084d34d8184979661177960422f744a2c3c8d3faa382

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page