5 releases

0.1.103 Nov 22, 2024
0.1.102 Nov 3, 2024
0.1.101 Nov 1, 2024
0.1.1 Oct 29, 2024
0.1.0 Oct 24, 2024

#223 in Machine learning

Download history 42/week @ 2024-10-18 164/week @ 2024-10-25 221/week @ 2024-11-01 7/week @ 2024-11-08 3/week @ 2024-11-15 139/week @ 2024-11-22 11/week @ 2024-11-29 2/week @ 2024-12-06

155 downloads per month

Apache-2.0

43KB
972 lines

yolo_io

A Rust library for loading, validating, and exporting YOLO project files.

Work in Progress

This crate is very much a work-in-progress. Features outlined may not be completed, working properly, or even listed.

Features

  1. Automatic pairing based on filename
    1. Pairing is simple; if three files exist, one image, three labels, it will list one valid pair and two errors. The valid pair will not be flagged as having possible other pairings.
  2. Flags incomplete pairs
  3. Checks for corrupt label files:
    1. Check for empty file
    2. Check for corrupted format
    3. Check if duplicates exist in the same file.
    4. Check if invalid class ids exist
    5. TODO: Compare labels in duplicate label files. What if they are different?
  4. Export YOLO project
    1. Unlike RectLabel, let's make it so there isn't other types of imports. We import a YOLO project, we export a YOLO project. Don't create a separate folder for annotations.
  5. Data quality validation report
    1. Exports a list of all labels with issues.

Reads

Dependencies

~3.5–4.5MB
~90K SLoC