Closed giannavia closed 6 months ago
I've got an iphone 14 and I trying to use TrueDepth Camera to check how an object is.
Probably this is the wrong approach but this is what I did:
This is what my camera element looks like:
<Camera style={{ width: '100%', aspectRatio: 16 / 9 }} device={trueDepthCamera} format={trueDepthCameraFormat} isActive={isCameraActive && isFocused} enableDepthData={true} ref={camera} />
However, I can't find any depth data. I've added a Frame Processor Plugin as well and still couldn't see any depth data.
Can you guys help me here ?
No response
"react-native-vision-camera": "^3.9.0",
See this feature request: https://github.com/mrousavy/react-native-vision-camera/issues/2628
Question
I've got an iphone 14 and I trying to use TrueDepth Camera to check how an object is.
Probably this is the wrong approach but this is what I did:
This is what my camera element looks like:
<Camera style={{ width: '100%', aspectRatio: 16 / 9 }} device={trueDepthCamera} format={trueDepthCameraFormat} isActive={isCameraActive && isFocused} enableDepthData={true} ref={camera} />
However, I can't find any depth data. I've added a Frame Processor Plugin as well and still couldn't see any depth data.
Can you guys help me here ?
What I tried
No response
VisionCamera Version
"react-native-vision-camera": "^3.9.0",
Additional information