Questions tagged [react-native-vision-camera]

54 questions
5
votes
2 answers

'react/bridging/CallbackWrapper.h' file not found in React Native

I am trying to setup my React Native app on iOS, but on build, I am always getting this error: 'react/bridging/CallbackWrapper.h' file not found I have been investigating on my own and found a few people with the same…
MIPB
  • 1,770
  • 2
  • 12
  • 21
4
votes
0 answers

view photo taken in landscape orientation, in "portrait" orientation for review, and save so it's not rotated

I am using "react-native-vision-camera": "^2.15.4", in my Expo project (SDK 46, RN, 0.69.9). The expo-camera module doesn't support different lenses, hence the switch. When i take a picture in either portrait or landscape orientation, the photo is…
4
votes
4 answers

__scanCodes is not defined vision-camera-code-scanner [React Native]

I'm getting the following error, as a lot of other people report on issues. __scanCodes is not defined It occurs both on iOS and Android. Here's my libraries version: "react-native": "^0.70.6", "react-native-vision-camera":…
PietroPutelli
  • 482
  • 4
  • 20
4
votes
2 answers

React Native: what to set minimum deployment target to?

I'm trying to add react-native-vision-camera to my React Native app, and it gave me the following error: Specs satisfying the VisionCamera (from ../node_modules/react-native-vision-camera) dependency were found, but they required a higher minimum…
3
votes
1 answer

No objects detected with Google MLKit on iOS

I am new to Google MLKit and want to detect bills/receipts for Android and iOS. I use Object Detection and this model. Detection is done by Google MLkit and then interpreted by react-native-vision-camera On android in java I have no problem, the…
3
votes
3 answers

react-native-reanimated:configureCMakeDebug[arm64-v8a] error after install react-native-vision-camera

After the install of react-native-vision-camera there is this error that shows up. I've tried to downgrade the versions but again i can the same error. Error: react-native-reanimated:configureCMakeDebug[arm64-v8a] FAILED Deprecated Gradle features…
3
votes
0 answers

How to switch camera devices in Rect-native using vision-camera

I'm using react-native-vision-camera, this doc says there are multi lens such as wide-angle-camera, telephoto-camera, ultra-wide-angle-camera. I would like to switch camera lens on camera view. I tried to find some solutions on this doc, but not…
crystal_17
  • 719
  • 5
  • 13
3
votes
0 answers

I used react-native-vision-camera in my project and got this error:

Where: Build file 'D:\Confeez-Workspace\Demo\node_modules\react-native-vision-camera\android\build.gradle' line: 231 What went wrong: A problem occurred evaluating project ':react-native-vision-camera'. Expected directory…
3
votes
2 answers

react native file system, fs, cannot find taken pictures

In my ReactNative application I am using "react-native-vision-camera": "^2.13.5" for taking pictures. After the picture is taken and uploaded, I want to delete it from the device, but the RNFS (react-native-fs) cannot find the file by the given…
2
votes
2 answers

About react native vision camera taking picture and save

I am new in react native. What do I need to do if I want to have a picture on the desktop after I click on the button? Just simply want to take a picture. I have tried to do so and succeed yesterday but I can't do that now. function Cam() { const…
1
vote
0 answers

How to improve UK license plates scanned by OCR

I am using OCR to read the UK license plates, but I have a problem with our text detection since 1, 0, 6, 8 and 5 were mistakenly identified as I, O, G, B and S, and vice versa. For example, the number plate BA01 FXO could be detected as BA0I FXO or…
1
vote
0 answers

Failed to construct 'Response': The status provided (0) is outside the range [200, 599] while fetch

i'm using react-native-vision-camera library and click photo and trying to convert it into blob and then to the base64 while fetch getting this error Failed to construct 'Response': The status provided (0) is outside the range [200, 599] while…
Yuvraj Chaudhari
  • 191
  • 1
  • 2
  • 10
1
vote
0 answers

Is It Possible To Choose IOS Wide Angle Camera In React Native Expo App?

I am new to react-native ecosystem. I was recently building a simple qr code scanner with expo react native using expo camera. What I found out was that there is no option to manually select wide angle camera in expo camera, It just selects the…
1
vote
1 answer

Drawing with SVG across different phone screens using React-Native-Vision-Camera

I'm trying to render a pose onto a camera screen with SVG and react-native-vision camera. It works fine on the normal 16:9 aspect ratio but on my friends iPhone Pro Max, which is 19.5:9 then the pose doesn't match up with the body. It's in the…
1
vote
0 answers

react-native-vision-camera makes React Native Expo build to fail

Currently, I am in the lasts steps of lunching a React Native Expo App, but when I try to do a build, it fails and I keep getting different errors for the react-native-vision-camera. Does anyone have an ideia or solution for this…
im_94
  • 11
  • 2
1
2 3 4