feat: add Latin text recognition support using ML Kit - #4195
Open
ismaelsousa wants to merge 2 commits into
Open
ismaelsousa wants to merge 2 commits into
ismaelsousa wants to merge 2 commits into
Conversation
- Implemented HybridTextLineSpec, HybridTextRecognizerFactorySpec, HybridTextRecognizerSpec, and HybridTextSymbolSpec for text recognition functionality. - Created corresponding .cpp and .hpp files for each spec to define their interfaces and methods. - Added Point and Rect structs to represent coordinates and bounding boxes. - Developed factory functions to create text recognizers and manage text recognition processes. - Introduced TypeScript interfaces for recognized text, text blocks, text elements, and recognized languages. - Configured package.json and TypeScript settings for the new module. - Added react-native.config.js for proper integration with React Native. - Implemented useTextRecognizer hook for easy access to text recognition functionality in React components.
|
@ismaelsousa is attempting to deploy a commit to the Margelo Team on Vercel. A member of the Team first needs to authorize it. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new ML Kit Latin-script text recognition plugin to the monorepo and integrates it into the Simple Camera app, alongside improvements to navigation and UI for camera-based plugins. The most significant changes are the addition of the new package, updates to workspace and build scripts, and enhancements to the app's navigation and user interface to support barcode scanning and text recognition.
New ML Kit Latin Text Recognition Plugin:
react-native-vision-camera-mlkit-text-recognition-latinwith all necessary configuration files for Android and iOS, including Gradle, CMake, Podspec, and documentation. This package enables Latin-script text recognition using ML Kit within VisionCamera frame processors. [1] [2] [3] [4] [5] [6]Monorepo and Build System Updates:
package.jsonto include the new text recognition package in workspaces, scripts (build, specs, etc.), and version management for consistency across the monorepo. [1] [2] [3]Simple Camera App Integration:
package.json.TextRecognitionLatinScreenandBarcodeScannerScreen, each implementing real-time frame processing and UI overlays for their respective features. [1] [2]UI and Navigation Improvements:
These changes collectively expand the functionality of the Simple Camera app, making it easy to test and demonstrate both barcode scanning and ML Kit-based Latin text recognition features.