#label #yolo #parser #label-index

yolo-labels

Library to parse yolo labels

6 releases (breaking)

0.5.0 Sep 8, 2022
0.4.0 Aug 26, 2022
0.3.1 Dec 3, 2021
0.3.0 Sep 17, 2021
0.1.0 Sep 17, 2021

#7 in #yolo

Custom license

6KB
158 lines

Yolo Label Parser

A simple rust library for parsing the yolo label format.

Usage

In your Config.toml:

[dependencies]
yolo-labels = "0.3.1"

In your code:

use yolo_labels::Labels;

let labels = Labels::from_file("/path/to/file.txt")?;
labels.labels[0].label_index == 2;

No runtime deps