-
Notifications
You must be signed in to change notification settings - Fork 6
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
React Native BUILD FAILED on run-ios #16
Comments
Hey 👋🏻, so as far as i'm concerned until today react-native-vision-camera does not yet fully support react-native: 0.74.1 |
So, at the present time, how can this issue be resolved? And can the function scanText() accept an argument that is the path of the image? |
Why, are you need to path of image? |
I want to add the functionality to recognize text from images in the gallery. It would be great if this feature could be added. Thank you very much. |
Even tho is technically possible to implement this feature as you could create an val image: InputImage
try {
image = InputImage.fromFilePath(context, uri)
} catch (e: IOException) {
e.printStackTrace()
} i think that kinda miss the porpouse of this package and the integration with react-native-vision-camera; maybe take a look at |
Great! So how do I use the vision-camera-v3-text-recognition library at the moment? I have used react-native version 0.73.6, vision-camera 3.9.2 and worklets-core 0.5.0 but still encounter the error above. Thank you for your enthusiastic support. |
You can now use the plugin for version 4. The V4 plugin is out now! 🥳 https://github.com/gev2002/react-native-vision-camera-text-recognition |
I followed the steps in the documentation but ended up receiving this error. This error only appeared when I tried to restart it with npx react-native run-ios
** BUILD FAILED **
The following build commands failed:
CompileC /Users/hieu/Library/Developer/Xcode/DerivedData/VMG4-gvwtohzfzveebgepkorvlhstazyf/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/VisionCamera.build/Objects-normal/arm64/JSINSObjectConversion.o /Users/hieu/WorkPlace/ReactNative/VMG4/node_modules/react-native-vision-camera/ios/Frame\ Processor/JSINSObjectConversion.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'VisionCamera' from project 'Pods')
(1 failure)
React-native: 0.74.1
Xcode: 15.3
iOS: 17.4
react-native-vision-camera: 3.9.2 (The version has been updated to be compatible with react-native-vision-camera-v3-text-recognition),
react-native-worklets-core: 0.5.0 (The version has been updated to be compatible with react-native-vision-camera-v3-text-recognition),
react-native-vision-camera-v3-text-recognition: 1.1.1,
This is my first time writing this, so if there are any issues, I hope everyone can understand and support me so that I can fix this error. Thank you very much
The text was updated successfully, but these errors were encountered: