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

@ -16,7 +16,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
// run
let y = model.run(&x)?;
// // annotate
// annotate
let annotator = Annotator::default()
.with_saveout("RTMO")
.with_skeletons(&coco::SKELETONS_16);