feat: Added threshold for scores and nms

This commit is contained in:
uttarayan21
2025-08-05 13:39:15 +05:30
parent bcb7c94390
commit 561fb2a924
4 changed files with 47 additions and 10 deletions

View File

@@ -47,6 +47,8 @@ pub struct Detect {
pub model_type: Models,
#[clap(short, long)]
pub output: Option<PathBuf>,
#[clap(short, long, default_value_t = 0.8)]
pub threshold: f32,
pub image: PathBuf,
}