Skip to main content

Modular visual perception library - detection, tracking, Re-ID, and target selection

Project description

qp-perception

Modular visual perception library for detection, tracking, Re-ID, and target selection.

Install

pip install qp-perception

# With Re-ID support:
pip install "qp-perception[reid]"

For local development:

pip install -e .
pip install -e ".[dev]"

Quick Start

from qp_perception.types import BoundingBox, Detection
from qp_perception.tracking import SimpleIoUTracker
from qp_perception.selection import WeightedTargetSelector

tracker = SimpleIoUTracker()
selector = WeightedTargetSelector()

detections = [
    Detection(
        bbox=BoundingBox(x=100, y=120, w=60, h=90),
        confidence=0.95,
        class_id="person",
    )
]

tracks = tracker.update(detections, timestamp=0.0)
target = selector.select(tracks, timestamp=0.0)

Package Structure

src/qp_perception/
    __init__.py
    types.py
    interfaces.py
    config.py
    kalman.py
    detection/
    tracking/
    selection/
    reid/

Release

This package is published from GitHub Actions to PyPI using Trusted Publishing.

Release a new version with:

git tag v0.1.0
git push origin v0.1.0

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

qp_perception-0.1.0.tar.gz (57.6 kB view details)

Uploaded Source

Built Distribution

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

qp_perception-0.1.0-py3-none-any.whl (58.8 kB view details)

Uploaded Python 3

File details

Details for the file qp_perception-0.1.0.tar.gz.

File metadata

  • Download URL: qp_perception-0.1.0.tar.gz
  • Upload date:
  • Size: 57.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for qp_perception-0.1.0.tar.gz
Algorithm Hash digest
SHA256 55bb3d83641824f556087505d68bdbd6fa122ed2f14e48c6cfdbcd22eba3441c
MD5 99b14d351dddeb627b58918ef09b4103
BLAKE2b-256 88dffa7233a54e5db4a56067a2b5d8b1d373084435caa776dd92e28f87464743

See more details on using hashes here.

File details

Details for the file qp_perception-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: qp_perception-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 58.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for qp_perception-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e338ec7539790a6f50983e7a40bdb14c0416ada5b609d9cff3e405955209009e
MD5 bd38419012c168972cd2d6e28002469f
BLAKE2b-256 eda60b7be7cacf523ad38e8b52854dbfce275ca605c195b45aa1bdc78b6871b5

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