feat: 新增本地UI模型AI拾取与识别实验台
This commit is contained in:
1 parent
ee60435e2b
commit
e956ec9055
27 files changed
+1848
-525
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user