-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: implemented vertical ocr #109
Conversation
android/src/main/java/com/swmansion/rnexecutorch/models/ocr/utils/DetectorUtils.kt
Outdated
Show resolved
Hide resolved
...-vision/node_modules/react-native-executorch/ios/RnExecutorch/models/ocr/VerticalDetector.mm
Show resolved
Hide resolved
|
||
} | ||
|
||
- (void)forward:(NSString *)input |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also here I would put some of the logic inside something like RecognitionHandler in horizontal OCR to make it more maintainable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking about it, however whole ocr consists of many files already and I felt like adding another file which will be only wrapper won't help that much.
} | ||
} | ||
|
||
override fun forward(input: String, promise: Promise) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would put some of the logic inside something like recognitionHandler in horizontal OCR to make it more maintainable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking about it, however whole ocr consists of many files already and I felt like adding another file which will be only wrapper won't help that much.
Description
Type of change
Tested on
Testing instructions
Screenshots
Related issues
Checklist
Additional notes