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

Uploaded Python 3

File details

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

File metadata

  • Download URL: yolodetection-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 eb95182b7675e15080db629970ed0d14b323dd58ce8f512d92e9f50b2667167a
MD5 0818fb8d636ebbb1709e4bde3af9fbf6
BLAKE2b-256 edad06f15095a87e3254f24fb111bddde90a3f4656ce265a56e504e30c917783

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yolodetection-1.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 47d78a5f2c6c7f14b0f3e54cba2a255ab71d89ed64cdeec37f501c642540fa78
MD5 5c0769c0de6cd876a8956ec33878a8d4
BLAKE2b-256 c2aae54add75d1f951d33b4c38a5afc1021300116301463c83ae369e229db14a

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