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.3.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.3-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yolodetection-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 79bf1fae850193c67443012d6d9a025c3bda77526d8b05aa35473231a350a4f8
MD5 e51b41056858e7dac714d65b87327b32
BLAKE2b-256 2b8f606b542c43fb82f0134ef7b564bb6df5001fdc23362b105beafb552bb17d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yolodetection-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3234ed47b6b0e0ea7d10760b2118f66d426ff96622277399be712e195f629b2b
MD5 d76be2676c7254579731ef3e399a9709
BLAKE2b-256 c5504d104ca1c267d2cb32fe2cb54e918f4a7a5c21ce5fb86b5fe84c25bfb6fb

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