#computer-vision #candle #yolo #ml #cli-tool #cli

app yolors

a CLI tool for image classification, pose estimation or (in the future) image segmentation

1 unstable release

0.1.0 Mar 13, 2024

#584 in Command line utilities

44 downloads per month

MIT/Apache and LGPL-3.0

1MB
1K SLoC

YOLOrs 🚧

YOLO v8 CLI implementation using Candle.

"people classified by yolors

Description

YOLOrs is a CLI tool for image classification, pose estimation or (in the future) image segmentation. Uses ultralytics implementation (v8) of the YOLO (You Only Look Once) algorithms family.

YOLOrs is written in Rust, using HuggingFace's Candle library. Is Fast, Light, Secure and reliable.

Installation

🚧 For the moment, you have to clone this repo:

 git clone https://github.com/martin-conur/yolors.git

and (with Rust and Cargo installed) run one of the examples below eg.

cargo run --release demo_images/people.jpg 

Example

You can ask for classification:

cargo run --release demo_images/people.jpg    

"result classification"

or Pose estimation:

cargo run --release --  --task "pose" demo_images/running1.jpg

"result pose"

features:

  • blazingly fast
  • easy to use
  • Secure
  • Reliable
  • Written in Rust 🤘

TODO:

  • Add CI github workflow
  • Add JSON output capabilities
  • Add cargo tests
  • Cross compilation and distribution
  • Add segmentation
  • Add video capabilities

Dependencies

~85MB
~1.5M SLoC