feat: Remove bbox crate and use 1024 for image size
This commit is contained in:
@@ -18,6 +18,7 @@ pub enum SubCommand {
|
||||
#[derive(Debug, clap::ValueEnum, Clone, Copy)]
|
||||
pub enum Models {
|
||||
RetinaFace,
|
||||
Yolo,
|
||||
}
|
||||
|
||||
#[derive(Debug, clap::ValueEnum, Clone, Copy)]
|
||||
@@ -49,6 +50,8 @@ pub struct Detect {
|
||||
pub output: Option<PathBuf>,
|
||||
#[clap(short, long, default_value_t = 0.8)]
|
||||
pub threshold: f32,
|
||||
#[clap(short, long, default_value_t = 0.3)]
|
||||
pub nms_threshold: f32,
|
||||
pub image: PathBuf,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user