14 lines
256 B
Plaintext
14 lines
256 B
Plaintext
export interface ImageOcrResult {
|
|
texts: TextDetection[];
|
|
language: string;
|
|
}
|
|
export interface TextDetection {
|
|
text: string;
|
|
confidence: number;
|
|
coordinates: Coordinate[];
|
|
}
|
|
export interface Coordinate {
|
|
x: number;
|
|
y: number;
|
|
}
|