Skip to content

Releases: ismaelsousa/vision-camera-ocr

3.0.2-1

31 Jul 13:05
Compare
Choose a tag to compare
3.0.2-1 Pre-release
Pre-release

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

Full Changelog: 3.0.1...3.0.2-1

3.0.1

06 May 14:41
Compare
Choose a tag to compare

Using vision camera v4

What's Changed

New Contributors

Full Changelog: 2.3.1...3.0.1

2.3.1

25 Feb 16:19
Compare
Choose a tag to compare

Full Changelog: 2.3.0...2.3.1

2.3.0

25 Feb 15:07
Compare
Choose a tag to compare

Full Changelog: 2.2.4...2.3.0

2.2.4

22 Feb 18:01
Compare
Choose a tag to compare

Full Changelog: 2.2.3...2.2.4

2.2.3

31 Jan 12:17
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.2.2...2.2.3

2.2.2

22 Jan 16:39
Compare
Choose a tag to compare

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

Full Changelog: 2.2.1...2.2.2

2.2.1

12 Jan 20:16
Compare
Choose a tag to compare

Fixed

  • Make compatible with "react-native-vision-camera": "3.7.1" (#2 by @kevinranks)

v2.2.0

03 Jan 17:53
Compare
Choose a tag to compare

⚠️ 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
          }
        }
      ]

Check out the doc

v2.1.2

22 Dec 19:23
Compare
Choose a tag to compare

🎉 2.1.2

  • Fix issue "Tried to add a Frame Processor Plugin with a name that already exists!".
    link

big thanks to
@Treevs
@xulihang
@pedrol2b