Skip to content

v0.0.14

Compare
Choose a tag to compare
@jamjamjon jamjamjon released this 16 Sep 03:20
· 17 commits to main since this release
0adddd3

What's Changed

  • Added Hub for resource management

    <tag/filename> is from release page, e.g. yolo/v5-n-dyn.onnx, images/bus.jpg
  Hub::new()?.fetch(<tag/filename>)?.commit()?;
  • Updated DataLoader to support video and streaming

    let dl = DataLoader::new(
            "./assets/bus.jpg", // local image
            // "images/bus.jpg",  // remote image
            // "../images", // image folder
            // "../demo.mp4",   // local video
            // "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",  // remote video
            // "rtsp://admin:[email protected]:554/h265/ch1/",  // rtsp h264 stream
        )?
        .with_batch(4)
        .with_progress_bar(true)
        .with_bound(100)
        .build()?;
        
        // run
        for (xs, _) in dl {
            // std::thread::sleep(std::time::Duration::from_millis(1000));
            let ys = model.forward(&xs, false)?;
            annotator.annotate(&xs, &ys);
        }
  • Updated CI

  • Replaced println! with tracing for logging

Full Changelog: v0.0.13...v0.0.14