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

Uploaded Python 3

File details

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

File metadata

  • Download URL: yolodetection-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 7df6f7aed19742f710821f247e6f09b085e6e1ce7825bc22f6e986dd010a0838
MD5 403bad9bfaab4e66cb2fdad3b54291d7
BLAKE2b-256 adab73be18a5c957fd856347349166f306a33099b4771fd1acfbf3e3bb0d3b31

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yolodetection-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e9771da93934d5855b53237c3c0f93daf85585886924a702619e138ed049b887
MD5 d3c42b3ff8547ea4c365620e0cefd369
BLAKE2b-256 915dc7fbb866a726aa7eb5794d94d03922f59c49cb89321d8143a45c53c343ab

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