Comments (3)
The error message say
Received unknown JNI type "class com.google.mlkit.vision.face.Face"! Cannot convert to jsi::Value.
Which tells you that a Face
cannot automatically be converted to a JSI Value.
The docs say:
Return values will automatically be converted to JS values, assuming they are representable in the "Types" table.
Which is also pretty self explanatory in my opinion as the "Types" table tells you exactly which types you can use.
There is no mention of a WritableArray
here. If you want to return an array, look into the 4th row of the "Types" table which tells you to use List<Object>
.
In my opinion I made those docs very self explanatory, but if you think they aren't clear enough please open a PR to make the docs even clearer.
from react-native-vision-camera.
@mrousavy Hi, you're right, it is actually pretty clear π€¦ββοΈ sorry
from react-native-vision-camera.
haha no worries
from react-native-vision-camera.
Related Issues (20)
- π Disabled location showing an error log HOT 4
- Slow response while scanning 1D barcode in iOS intermittently. HOT 2
- π Unable to use more than 3 video outputs on Android HOT 11
- π 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 4
- barcodeScan mask flipped view HOT 1
- π 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 4
- π [AVCaptureDevice setActiveColorSpace:] Not supported - use activeFormat.supportedColorSpaces'. HOT 2
- APK Size increase After implementing react-native-vision-camera lib double the apk size HOT 4
- π Why the Photo Result Does Not Come Out in the Specified Aspect Ratio HOT 1
- π `finally` on a `Promise` stops camera on Android HOT 2
- π [V4][Android] Release crash: maxImages (6) has already been acquired
- π§ Not able to build expo dev client when using any of the given frame processing plugin for OCR HOT 1
- π [Android] isActive change doesn't happen fast enough causing device/camera-already-in-use error when switching to native camera app
- π§ Execution failed for task ':react-native-vision-camera:compileReleaseKotlin'. 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.