5 unstable releases

0.3.2 Aug 14, 2024
0.3.0 Aug 13, 2024
0.2.1 Feb 28, 2024
0.2.0 Feb 18, 2024
0.1.0 Dec 16, 2023

#909 in Machine learning

Download history 12/week @ 2024-08-26 4/week @ 2024-09-02 10/week @ 2024-09-09 178/week @ 2024-09-16 90/week @ 2024-09-23 101/week @ 2024-09-30 34/week @ 2024-10-07 68/week @ 2024-10-14 33/week @ 2024-10-21 46/week @ 2024-10-28 20/week @ 2024-11-04 26/week @ 2024-11-11 55/week @ 2024-11-18 35/week @ 2024-11-25 46/week @ 2024-12-02 74/week @ 2024-12-09

216 downloads per month
Used in 2 crates (via kalosm-vision)

MIT/Apache

31KB
208 lines

Segment Anything RS

A rust wrapper for Segment Anything

Usage

use segment_anything_rs::*;

let model = SegmentAnything::builder().build().unwrap();
let image = image::open("examples/landscape.jpg").unwrap();
let images = model.segment_everything(image).unwrap();
for (i, img) in images.iter().enumerate() {
    img.save(&format!("{}.png", i)).unwrap();
}

Dependencies

~18–34MB
~606K SLoC