Comments (2)
Yea - this is expected - you are updating the Format on a Camera, this just needs to be reconfigured. You can trick this by cutting the view yourself, and then cropping the photo in post processing.
Also, your logs don't include the part where the format gets switched, so I can't really say if there is a way to improve this or not.
I'm specifically looking for these logs:
12:44:54.979: [info] πΈ VisionCamera.didSetProps(_:): Updating 1 props: [isActive]
12:44:54.979: [info] πΈ VisionCamera.configure(_:): configure { ... }: Waiting for lock...
12:44:54.979: [info] πΈ VisionCamera.configure(_:): configure { ... }: Updating CameraSession Configuration... Difference(inputChanged: false, outputsChanged: false, videoStabilizationChanged: false, orientationChanged: false, formatChanged: false, sidePropsChanged: false, torchChanged: false, zoomChanged: false, exposureChanged: false, audioSessionChanged: false, locationChanged: true)
It should say 1 props: [format]
. If that's the case, then it's as fast as it can get.
from react-native-vision-camera.
Yea - this is expected - you are updating the Format on a Camera, this just needs to be reconfigured. You can trick this by cutting the view yourself, and then cropping the photo in post processing.
Also, your logs don't include the part where the format gets switched, so I can't really say if there is a way to improve this or not.
I'm specifically looking for these logs:
12:44:54.979: [info] πΈ VisionCamera.didSetProps(_:): Updating 1 props: [isActive] 12:44:54.979: [info] πΈ VisionCamera.configure(_:): configure { ... }: Waiting for lock... 12:44:54.979: [info] πΈ VisionCamera.configure(_:): configure { ... }: Updating CameraSession Configuration... Difference(inputChanged: false, outputsChanged: false, videoStabilizationChanged: false, orientationChanged: false, formatChanged: false, sidePropsChanged: false, torchChanged: false, zoomChanged: false, exposureChanged: false, audioSessionChanged: false, locationChanged: true)
It should say
1 props: [format]
. If that's the case, then it's as fast as it can get.
ok thank you, let me go back to see my log.
Cutting the view manually sounds a good idea!
from react-native-vision-camera.
Related Issues (20)
- π Fatal Error on App Initialization: IllegalArgumentException - width must be positive in CameraDeviceDetails.getFormats HOT 1
- π§ v4.5.3 fails to build on Android - jetified-camera-core-1.5.0-alpha01/jni/riscv64/libimage_processing_util_jni.so is not an ABI HOT 12
- π TakePhoto() doesn't work with Android Emulator (Pixel 4 API 28, Pixel 4 API 31, Pixel 8 API 31) HOT 9
- β¨ Able to use this library detect QR code from the image HOT 3
- π Issue launching camera on iOS HOT 1
- π§ Unable to find a specification for `react-native-worklets-core` depended upon by `VisionCamera/FrameProcessors` HOT 3
- π Audio is not working ^4.5.3 (IOS) HOT 2
- π§ could not build Objective-C module 'vision_camera_code_scanner' HOT 2
- π Production Build Error with 4.5.3 HOT 3
- π§ Production Build Error with 4.5.3 HOT 5
- β¨ Document Scanner HOT 3
- π error when trying to upload the app to Play Store v4.5.2 and v4.5.3 HOT 3
- π V3 Π½Π΅ ΡΡΠΈΡΡΠ²Π°Π΅Ρ ΠΊΠΎΠ΄Ρ Data-Matrix Ρ ΡΠ΅ΡΠ½ΡΠΌ ΡΠΎΠ½ΠΎΠΌ Π½Π° Android HOT 1
- π react-native-vision-camera | App crashing after setting FPS and applying frameProcessor to Camera HOT 4
- π Potrait mode video is flipped to wrong direction HOT 1
- π Is it possible to hide your face in a video stream using Vision Camera? HOT 2
- π runAsync has memory problem HOT 2
- π Is there any difference between using the Camera component directly and creating the ReanimatedCamera component? HOT 1
- β¨ Do we think a LockedCameraCaptureExtension would be possible in React Native? HOT 5
- π 09-20 19:04:14.827 18105 18387 E ImageAnalysisAnalyzer: java.lang.IllegalStateException: maxImages (6) has already been acquired, call #close before acquiring more. HOT 4
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.