Accelerate model pre-processing and post-processing (#23)

* Add X struct to handle input and preprocessing

*Add Ops struct to manage common operations

* Use SIMD (fast_image_resize) to accelerate model pre-processing and post-processing
This commit is contained in:
Jamjamjon
2024-06-30 15:19:34 +08:00
committed by GitHub
parent 5f6b814090
commit a5141a53be
33 changed files with 822 additions and 528 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "usls"
version = "0.0.3"
version = "0.0.4"
edition = "2021"
description = "A Rust library integrated with ONNXRuntime, providing a collection of ML models."
repository = "https://github.com/jamjamjon/usls"
@ -44,4 +44,4 @@ ab_glyph = "0.2.23"
geo = "0.28.0"
prost = "0.12.4"
human_bytes = "0.4.3"
fast_image_resize = "3.0.4"
fast_image_resize = { git = "https://github.com/jamjamjon/fast_image_resize", branch = "dev" , features = ["image"]}