Skip to main content

Yolo + sahi toolkit

Project description

yolodetection

yolodetection is a lightweight wrapper around Ultralytics YOLO + SAHI sliced inference.
It’s designed so that you only ever interact with one class: YOLOInstance.

Main goals:

  • Simple interface
  • Handles large images using SAHI slicing
  • Exports clean, JSON-ready detections (with centroids)
  • Optional saving of prediction JSON + visualization masks to disk

🔧 Installation

pip install yolodetection

Usage

from yolodetect import YoloInstance

instance = YoloInstance("models/best.pt")
instance.predict(/home/images/)

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

yolodetection-1.0.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

yolodetection-1.0.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file yolodetection-1.0.1.tar.gz.

File metadata

  • Download URL: yolodetection-1.0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for yolodetection-1.0.1.tar.gz
Algorithm Hash digest
SHA256 b724861c858fec97fc2f36c20ff897f77f1bfc3d7c8e492bcc0f3166662f8259
MD5 727862a405ce4aa45fbc739fa8b7e231
BLAKE2b-256 0ce41de69945fff44aafff48c0a4dcdcabac85a7e4b8b1854b62a8fadb24668f

See more details on using hashes here.

File details

Details for the file yolodetection-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: yolodetection-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for yolodetection-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 394013485875364775bfa7c87ce1387e8e24320eedb6401d2c3cdbc1028d5d26
MD5 01ef06a0f7bea7a34547ca0a88cc50a5
BLAKE2b-256 0375b40a31f29e0b4e6ae40ad59e6b6ae3ef0dadd2e18a0ab4831c2ecb178f30

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