Releases: ismaelsousa/vision-camera-ocr
Releases · ismaelsousa/vision-camera-ocr
3.0.2-1
What's Changed
- feature: Set the vision image orientation to compensate compare to t… by @Valentin-Rault in #16
- Removed UIImage usage creating a VisionImage instance by frame buffer by @pepperav in #18
New Contributors
- @Valentin-Rault made their first contribution in #16
- @pepperav made their first contribution in #18
Full Changelog: 3.0.1...3.0.2-1
3.0.1
2.3.1
Full Changelog: 2.3.0...2.3.1
2.3.0
Full Changelog: 2.2.4...2.3.0
2.2.4
Full Changelog: 2.2.3...2.2.4
2.2.3
2.2.2
What's Changed
- iOS - Fix incompatible block type and 'init' method unavailability in… by @7emretelli in #3
- fix: android registration plugin for vision camera v3.8 by @danieloprado in #4
New Contributors
- @7emretelli made their first contribution in #3
- @danieloprado made their first contribution in #4
Full Changelog: 2.2.1...2.2.2
2.2.1
Fixed
- Make compatible with
"react-native-vision-camera": "3.7.1"
(#2 by @kevinranks)
v2.2.0
⚠️ Compatibily
Compatible until the 3.6.16 version of the vision camera.
"react-native-vision-camera": "3.6.16",
Download via npm:
npm i @ismaelmoreiraa/vision-camera-ocr
🎉 Feature
Expose the symbols in android
Gets the recognized text in the [Text.Element]
The recognized text is in reading order for the language. For Latin, it is left-to-right.
Returns an empty string if nothing is found.
e.g. reading the word `cmd`
[
{
"boundingBox": {
"top": 356,
"left": 685,
"bottom": 401,
"right": 769
},
"text": "c",
"cornerPoints": [
{
"x": 685,
"y": 401
},
{
"x": 685,
"y": 356
},
{
"x": 769,
"y": 356
},
{
"x": 769,
"y": 401
}
],
"frame": {
"boundingCenterY": 378,
"x": 727,
"width": 84,
"y": 378.5,
"boundingCenterX": 727,
"height": 45
}
},
{
"boundingBox": {
"top": 307,
"left": 684,
"bottom": 345,
"right": 768
},
"text": "m",
"cornerPoints": [
{
"x": 684,
"y": 345
},
{
"x": 684,
"y": 307
},
{
"x": 768,
"y": 307
},
{
"x": 768,
"y": 345
}
],
"frame": {
"boundingCenterY": 326,
"x": 726,
"width": 84,
"y": 326,
"boundingCenterX": 726,
"height": 38
}
},
{
"boundingBox": {
"top": 255,
"left": 684,
"bottom": 290,
"right": 768
},
"text": "d",
"cornerPoints": [
{
"x": 684,
"y": 290
},
{
"x": 684,
"y": 255
},
{
"x": 768,
"y": 255
},
{
"x": 768,
"y": 290
}
],
"frame": {
"boundingCenterY": 272,
"x": 726,
"width": 84,
"y": 272.5,
"boundingCenterX": 726,
"height": 35
}
}
]