v0.0.14
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 streaminglet 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!
withtracing
for logging
Full Changelog: v0.0.13...v0.0.14