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] --extra-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.2.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.2-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file peepfilt-0.1.2.tar.gz.

File metadata

  • Download URL: peepfilt-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 2f9eba9c35762f809e13c280ac43099652d4ce617dd638bc6fe4d0fc80709c16
MD5 e7666b09a6a90378ed06f41b068ec87a
BLAKE2b-256 af778f0ce0821d9a7f60542268d841ea834c47e5b56ce43d32a510d8583504a8

See more details on using hashes here.

File details

Details for the file peepfilt-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: peepfilt-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0544255c24cef8519e196914caebe30b9a5c83d640e578a1395bbd0c8e2355bd
MD5 93620c1a0b691e85b2418d3fb8685064
BLAKE2b-256 cf7607b77414ade79552c79131fcd3d7a0813820220c05fa08ffd89c25910319

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