feat: 新增本地UI模型AI拾取与识别实验台

This commit is contained in:
yu committed 2026-11-02 11:55:36 +08:00
1 parent ee60435e2b
commit e956ec9055
27 files changed
+1848 -525

No files matched your search

+35
View File
@@ -247,3 +247,38 @@ export interface RunEvent {
startedAt?: string;
}
export interface VisionLabSource {
id: string;
kind: "window" | "screen";
name: string;
thumbnail: string;
icon?: string;
}
export interface VisionLabBox {
x: number;
y: number;
width: number;
height: number;
category: string;
confidence: number;
}
export interface VisionLabDetectRequest {
sourceId: string;
modelPath?: string;
scoreThreshold?: number;
iouThreshold?: number;
}
export interface VisionLabDetection {
image: string;
width: number;
height: number;
boxes: VisionLabBox[];
captureMs: number;
detectMs: number;
modelPath: string;
sourceName: string;
}