2.1.0 • Published 4 months ago
@nativescript/mlkit-text-recognition v2.1.0
@nativescript/mlkit-text-recognition
A plugin used with @nativescript/mlkit-core to enable Text Recognition in your app and provide TextResult type for the text recognition event data.
Contents
Installation
npm install @nativescript/mlkit-text-recognition
Use @nativescript/mlkit-text-recognition
For an example, read Use @nativescript/mlkit-core and Text Recognition.
API
TextResult
The Text Recognition event data type.
interface TextResult {
text?: string
bounds: Bounds
lines: TextLine[]
points: Point[]
}
Point
interface Point {
x: number;
y: number;
}
Bounds
interface Bounds {
origin: Origin;
size: Size;
}
Origin
interface Origin {
x: number;
y: number;
}
Size
interface Size {
width: number;
height: number;
}
TextLine
interface TextLine {
text?: string
bounds: Bounds
elements: TextElement[]
points?: Point[]
}
TextElement
interface TextElement {
text?: string
bounds: Bounds
}
License
Apache License Version 2.0
2.1.0
4 months ago
1.0.8
1 year ago
2.0.0-alpha.0
1 year ago
2.0.0-alpha.1
1 year ago
2.0.0
1 year ago
1.0.7
1 year ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.0-alpha.7
2 years ago
1.0.0-alpha.6
2 years ago
1.0.0-alpha.5
2 years ago
1.0.0-alpha.8
2 years ago
1.0.0-alpha.4
2 years ago
1.0.0-alpha.3
2 years ago
1.0.0-alpha.2
2 years ago
1.0.0-alpha.1
2 years ago
1.0.0-alpha.0
3 years ago