Bump the version to 0.0.12

* Add sapiens-seg model
This commit is contained in:
Jamjamjon
2024-08-31 17:10:36 +08:00
committed by GitHub
parent f25f5cf2b5
commit f6755a8be4
23 changed files with 340 additions and 31 deletions

View File

@ -1,4 +1,4 @@
use usls::{coco, models::RTMO, Annotator, DataLoader, Options};
use usls::{models::RTMO, Annotator, DataLoader, Options, COCO_SKELETONS_16};
fn main() -> Result<(), Box<dyn std::error::Error>> {
// build model
@ -19,7 +19,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
// annotate
let annotator = Annotator::default()
.with_saveout("RTMO")
.with_skeletons(&coco::SKELETONS_16);
.with_skeletons(&COCO_SKELETONS_16);
annotator.annotate(&x, &y);
Ok(())