* feat: pnpm new * Refactor build and release workflows, update dependencies Switch build scripts and workflows from npm to pnpm, update build and artifact paths, and simplify release workflow by removing version detection and changelog steps. Add new dependencies (silk-wasm, express, ws, node-pty-prebuilt-multiarch), update exports in package.json files, and add vite config for napcat-framework. Also, rename manifest.json for framework package and fix static asset copying in shell build config.
16 lines
244 B
TypeScript
16 lines
244 B
TypeScript
export interface ImageOcrResult {
|
|
texts: TextDetection[];
|
|
language: string;
|
|
}
|
|
|
|
export interface TextDetection {
|
|
text: string;
|
|
confidence: number;
|
|
coordinates: Coordinate[];
|
|
}
|
|
|
|
export interface Coordinate {
|
|
x: number;
|
|
y: number;
|
|
}
|