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.4.tar.gz (11.7 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.4-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: peepfilt-0.1.4.tar.gz
  • Upload date:
  • Size: 11.7 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.4.tar.gz
Algorithm Hash digest
SHA256 cff319bb9a9d0afdb20eb78a385304ecc58c563f250d691db6d430a438ad5c26
MD5 2a99185d077b565688d6b4320c9b4c1a
BLAKE2b-256 99dfb93e9d3efa85165ef427b4c0ef890bc990798fa424f0225ea4539ef95e23

See more details on using hashes here.

File details

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

File metadata

  • Download URL: peepfilt-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 13.1 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 549cd1bc5b84a29424c4c017002b57568950403147669d2aa66383e5e099d3ad
MD5 7bd8a7a9641cf8bdff9155da548b9b0f
BLAKE2b-256 d695cd5e5a05a3d264d1b0bf299706c0c9f63892051329d2bebcbc646a4fd4f5

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