refactor(slide,det): 优化项目结构,移除不必要的逻辑
- 优化 项目结构,移除不必要的逻辑
This commit is contained in:
@@ -20,13 +20,12 @@ pub struct SlideResult {
|
||||
pub confidence: f64,
|
||||
}
|
||||
|
||||
pub struct Slide;
|
||||
pub struct Slider;
|
||||
|
||||
impl Slide {
|
||||
pub fn new() -> Self {
|
||||
Self
|
||||
impl Slider {
|
||||
pub fn new() -> Result<Self, anyhow::Error> {
|
||||
Ok(Self)
|
||||
}
|
||||
|
||||
/// 对应 Python: slide_match 滑块匹配接口
|
||||
pub fn slide_match(
|
||||
&self,
|
||||
|
||||
Reference in New Issue
Block a user