Comments (1)
Finally I found the solution
-
make sure your dependencies in android/app/build.gradle:
dependecies {
//....implementation 'com.google.firebase:firebase-core:+'
implementation 'com.google.firebase:firebase-ml-vision:+'
//......
} -
add following to android/build.gradle:
allprojects {
repositories {
//start here
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.google.android.gms') {
details.useVersion '+'
}
if (requested.group == 'com.google.firebase') {
details.useVersion '+'
}
}
}
//end
jcenter()
maven {
url "https://maven.google.com"
}
}
}
from react-native-text-detector.
Related Issues (20)
- Unable to build App after latest google library release HOT 1
- Tesseract branch: App crashes on using RNTextDetector.detect HOT 4
- [Question] Where is the API reference?
- tess-two project is Archived
- "error": "On-Device text detection failed with error: Something went wrong" HOT 4
- detectFromUri works fine in android but it returns false in iOS HOT 2
- could not invoke RNTextDetect.detectFromUri
- Error: Waiting for the text recognition model to be downloaded. Please wait. HOT 2
- fatal error: 'React/RCTDefines.h' file not found HOT 2
- must the picture taken in landscape to get the text HOT 1
- issue HOT 2
- read_params_file: parameter not found: enable_new_segsearch HOT 1
- **iOS issues**
- Build errors
- IOS Compile Issue HOT 2
- Attempt to invoke virtual method HOT 1
- Duplicate class com.google.android.gms.internal.vision.zzg found in modules jetified-play-services-vision-20.0.0-runtime.jar (com.google.android.gms:play-services-vision:20.0.0) and jetified-play-services-vision-common-19.1.0-runtime.jar (com.google.android.gms:play-services-vision-common:19.1.0) HOT 1
- receiving only the bounding information, but no text HOT 1
- error on iOS
- error build: Framework not found MLKitTextRecognitionCommon
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-text-detector.