Skip to main content

Multi-Modality

Odin

Super Fast and super cheap object detection at massive scale in less than 10 lines of code!

Appreciation

  • Lucidrains
  • Agorians

Install

pip install vodin

Usage

Here are three examples demonstrating the usage of the Odin class from your provided code:

Example 1: Basic Usage

# Import the necessary modules and classes
from odin import Odin

# Initialize the Odin object with paths and thresholds
odin = Odin(
    source_weights_path="yolo.weights",
    source_video_path="input_video.mp4",
    target_video_path="output_video.mp4",
    confidence_threshold=0.3,
    iou_threshold=0.7
)

# Run the object to process the video
odin.run()

Example 2: Custom Parameters

# Import the necessary modules and classes
from odin import Odin

# Initialize the Odin object with custom parameters
odin = Odin(
    source_weights_path="custom_yolo.weights",
    source_video_path="input_video.mp4",
    target_video_path="output_video.mp4",
    confidence_threshold=0.5,
    iou_threshold=0.6
)

# Run the object to process the video
odin.run()

Example 3: Advanced Usage

# Import the necessary modules and classes
from odin import Odin

# Initialize the Odin object with paths and thresholds
odin = Odin(
    source_weights_path="yolo.weights",
    source_video_path="input_video.mp4",
    target_video_path="output_video.mp4",
    confidence_threshold=0.3,
    iou_threshold=0.7
)

# Customize further configurations if needed
odin.tracker.set_max_distance(50)
odin.box_annotator.set_box_color((0, 255, 0))
odin.model.set_device("cuda")

# Run the object to process the video
odin.run()

Architecture

License

MIT

Metadata

Release files for vodin 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vodin 0.0.3
File Size Uploaded Provenance Actions
vodin-0.0.3.tar.gz 6.4 kB Without provenance Details for vodin-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vodin 0.0.3
File Interpreter ABI Platform Actions
vodin-0.0.3-py3-none-any.whl Python 3 none any Details for vodin-0.0.3-py3-none-any.whl

Total release size: 13.6 kB

Release files / vodin-0.0.3.tar.gz

Download URL vodin-0.0.3.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
391f047cab668db60713f59619ee9f39830dbeaf4ac390b86c4e24caabe4337c
BLAKE2b-256 checksum
How to use checksums
4284b67789c59c44c1fcb58656209cc26c386657bc2a9aeeda83dc65ba4777cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.11.0 Darwin/22.4.0

Release files / vodin-0.0.3-py3-none-any.whl

Download URL vodin-0.0.3-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6db4c23b8d1a098bd1b8db624ed1a36bab290255d37dfebdadc3f37a295f9f0b
BLAKE2b-256 checksum
How to use checksums
a92185d3d5da9008c8c577f6b141273aea4c849fb2df0a69230c83b6da05beda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.11.0 Darwin/22.4.0

Security for vodin 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page