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.3.tar.gz (11.5 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.3-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: peepfilt-0.1.3.tar.gz
  • Upload date:
  • Size: 11.5 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.3.tar.gz
Algorithm Hash digest
SHA256 2df63efd5aad5c4a9954d74822fe9dfb4faf85eb1ee2d65650afd17221bb1adc
MD5 4e666c4d1a74355c98e461ccf22d48a3
BLAKE2b-256 8d5b565e9910a5b782d2dc9054416477e31dcf07f28c18afe951a4ce1c5a4ff7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: peepfilt-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 13.0 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 469d5c80d8cf991e457e088ed77c0be6d5646fc4c346ebed23a3697b85d83915
MD5 ad0bbc219ce3cfbf50b82fc78cb5663f
BLAKE2b-256 d6f79ead59f7706c4171d27afef80e0170f3745bf8e87d44a19ed63cc144d3eb

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