-
Notifications
You must be signed in to change notification settings - Fork 30
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
[QUESTION] Recognized text is at wrong position #20
Comments
hello, it should be related to the rotation of the frame. |
Hi, How can I get the ratio of the frame? Here again a video without my special case. |
You can get the ratio from the frame inside the frame processor But yeah, I need to take a look at that. |
Wait, hmm, odd, are you using skia to draw the bounding boxes? I never tried this. You can check the coordinates to see what is happening when you start to move the text to the middle of the screen. |
hmm, I guess in ML Kit the (0,0) is at top left |
Hi,
I try to mark the text which your library recognized.
The code:
`
const frameProcessor = useSkiaFrameProcessor((frame) => {
'worklet'
})
`
I added a video with the behavior. Do you have an idea why this so?
text.MP4
react-native-vision-camera: 4.5.3
@ismaelmoreiraa/vision-camera-ocr: 3.0.2-1
The text was updated successfully, but these errors were encountered: