feat: add Vision LLM integration (CLIP + Qwen3-VL cascade)
- Add Qwen3-VL dynamic management (start/stop/status CLI) - Add CLIP + Qwen3-VL cascade detection strategy - Add Vision CLI commands (vision start/stop/status, detect) - Add cascade_vision processor module - Add clip processor module - Add qwen_vl_manager module Changes: - scripts/start_qwen3vl.sh, stop_qwen3vl.sh: Qwen3-VL management scripts - src/core/vision/: Qwen3-VL manager module - src/core/processor/cascade_vision.rs: CLIP + Qwen3-VL cascade logic - src/core/processor/clip.rs: CLIP classification and detection - src/api/clip_api.rs: CLIP API endpoints - src/cli/vision.rs: Vision CLI implementation - src/cli/args.rs: Add Vision and Detect commands - src/main.rs: Integrate Vision CLI - src/core/mod.rs: Add vision module - src/core/processor/mod.rs: Add cascade_vision module
This commit is contained in:
11
src/main.rs
11
src/main.rs
@@ -124,6 +124,17 @@ async fn main() -> Result<()> {
|
||||
} => {
|
||||
handle_n8n(action, api_key, label, expires_in_days).await?;
|
||||
}
|
||||
Commands::Detect {
|
||||
image,
|
||||
objects,
|
||||
cascade,
|
||||
threshold,
|
||||
} => {
|
||||
cli::vision::handle_detect_command(image, objects, cascade, threshold).await?;
|
||||
}
|
||||
Commands::Vision(cmd) => {
|
||||
cli::vision::handle_vision_command(cmd).await?;
|
||||
}
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user