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

Uploaded Python 3

File details

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

File metadata

  • Download URL: yolodetection-1.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 e97f7ef56e9e3138e38a0839ba2fb8ba4dfb3a08e4f9fce7c612482e6d714ff2
MD5 1fa8c274141fbfa3f796c01ef1b7e976
BLAKE2b-256 ca04b40cc7b9d1c3d12d941378f76d4cb2f8a12a907ac80d8610f14550b41228

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yolodetection-1.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 042782f03dee215b9068b197ba75d355a9b9a7de63bccbf26c06dc40ce17cb30
MD5 7ab91aa9e2722a7f4ceb8a9536073b30
BLAKE2b-256 61e38e0f571e44b00624f47d87d4b592025f211d63e364d0fd4965681782afb6

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