Comments (3)
Hey - I think this issue has been fixed in VisionCamera 4.0.0. ðĨģ
Please try V4 and let me know if you still experience this issue;
- if not, please consider ð sponsoring me on GitHub ð to support the development of VisionCamera and thank me for my time spent on fixing bugs and building new features.
- if you still see this issue, please comment and we can re-open this. But please update your native logs with the native (Xcode/Android Studio) logs from running VisionCamera V4 so I can investigate this.
from react-native-vision-camera.
It is still crashing with the given error-
Your app just crashed. See the error below.
java.lang.IllegalStateException: Image is already closed
android.media.Image.throwISEIfImageIsInvalid(Image.java:79)
android.media.ImageReader$SurfaceImage.getFormat(ImageReader.java:1181)
com.google.mlkit.vision.common.InputImage.zzb(com.google.mlkit:vision-common@@17.3.0:8)
com.google.mlkit.vision.common.InputImage.fromMediaImage(com.google.mlkit:vision-common@@17.3.0:1)
com.mrousavy.camera.core.CodeScannerPipeline.init$lambda$4(CodeScannerPipeline.kt:53)
com.mrousavy.camera.core.CodeScannerPipeline.$r8$lambda$J9uS5V_QrF4Y46dODUvYa6w1Wm0(Unknown Source:0)
com.mrousavy.camera.core.CodeScannerPipeline$$ExternalSyntheticLambda0.onImageAvailable(Unknown Source:4)
android.media.ImageReader$1.run(ImageReader.java:947)
android.os.Handler.handleCallback(Handler.java:958)
android.os.Handler.dispatchMessage(Handler.java:99)
android.os.Looper.loopOnce(Looper.java:257)
android.os.Looper.loop(Looper.java:368)
android.os.HandlerThread.run(HandlerThread.java:67)
from react-native-vision-camera.
I fixed this in #2819 - can you try that and see if the issue is fixed for you @Swikriti0998 ?
from react-native-vision-camera.
Related Issues (20)
- âĻ Capture progress callbacks HOT 2
- ð when frameprocessor is on app closes automatically HOT 5
- ð Frame Drops in Recorded Video When Using useFrameProcessor, HOT 5
- ð getCameraCharacteristics:1041: Unable to retrieve camera characteristics for unknown device HOT 5
- ð ins iOS iphone 11, Camera get blank screen HOT 2
- ð Using Skia Frame Processor and Photo true throws error in Android HOT 1
- ð Access photo library from within the camera HOT 4
- âĻ Add possibility to cleanup resources when camera is being unmounted in frame processor plugin HOT 5
- ð Do you have any reference code for recording videos with overlays similar to Snapchat filters? When using the Skia frame processor, the front camera is displaying a black screen. HOT 2
- ð§ įžčŊæĨé HOT 2
- ð Incorrect Barcode Scanning Results for CODE-128 HOT 3
- âĻ AI Assist to build with react-native-vision-camera HOT 1
- ð In android, can i use lower version of org.jetbrains.kotlinx:kotlinx-coroutines-android, such as 1.6.4 HOT 2
- âĻ USB microphone support HOT 2
- ð Coordinate system starts from top right position HOT 3
- ð§ Build fail in case frame processor is enabled how ever I need to use frame processor. HOT 2
- âĻ Built-in RTMP Support in React Native Vision Camera HOT 5
- ð§ Crash on build on android HOT 4
- ð Cannot scan large Aztec code on Android HOT 2
- ð HOT 3
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-vision-camera.