Comments (5)
Hi, I'm not sure, why this was closed as completed as the bug is still present
That's a different bug - the issue is in Skia because Skia cannot work with YUV on Android yet. It needs to be RGB. On iOS, it can be both.
from react-native-vision-camera.
Unfortunately, then resize plugin (https://github.com/mrousavy/vision-camera-resize-plugin) doesn't work: Frame Processor Error: Exception in HostFunction: java.lang.Error: Frame has invalid PixelFormat! Only YUV_420_888 is supported. Did you set pixelFormat="yuv"?, js engine: VisionCamera
from react-native-vision-camera.
Yea you need "rgb"
for Skia on Android. On iOS, you can also use "yuv"
(which is more efficient).
As for the resize-plugin; hm, this situation sucks a bit. I guess I can add rgb support to the resize plugin
from react-native-vision-camera.
Hi, I'm not sure, why this was closed as completed as the bug is still present. I've just created PR in resize plugin repo solving it: mrousavy/vision-camera-resize-plugin#64
from react-native-vision-camera.
Btw. I think the bug is fixed now. I checked code fro mthe description one more time and it works on Android now 😄
from react-native-vision-camera.
Related Issues (20)
- 💭 Differences between iPhone native camera and available camera devices HOT 3
- 🐛 Blank screen when enabling photo (`photo={true}`) HOT 6
- 🐛 Android Back Camera Zoom Breaks in 4.0.4 HOT 2
- 🐛 Taking a photo throws `[session/recoverable-error]: An unknown error occurred while creating the Camera Session, but the Camera can recover from it` HOT 5
- barcodeScan mask flipped view HOT 9
- 💭 Is it possible to display the front and back cameras at the same time HOT 1
- ✨ Contrast HOT 1
- _NativeCameraModule.CameraModule.getLocationPermissionStatus is not a function (it is undefined)🔧 HOT 1
- 💭 Two separate frame processors at different target FPS HOT 7
- 🐛 [AVCaptureDevice setActiveColorSpace:] Not supported - use activeFormat.supportedColorSpaces'. HOT 2
- 🐛 APK Size increase After implementing react-native-vision-camera lib double the apk size HOT 5
- 💭 Why the Photo Result Does Not Come Out in the Specified Aspect Ratio HOT 1
- 🐛 `finally` on a `Promise` stops camera on Android HOT 3
- 🐛 [V4][Android] Release crash: maxImages (6) has already been acquired HOT 1
- 🔧 Not able to build expo dev client when using any of the given frame processing plugin for OCR HOT 2
- 🐛 [Android] isActive change doesn't happen fast enough causing device/camera-already-in-use error when switching to native camera app HOT 1
- 🔧 Execution failed for task ':react-native-vision-camera:compileReleaseKotlin'. HOT 3
- 🔧 This API is provided only for React Native frameworks and not intended for general users. This API can change between minor versions in alignment with React Native frameworks and won't be considered a breaking change. HOT 10
- 💭 Android: Frameprocessor HOT 7
- 💭 Focus not work HOT 1
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.