Questions tagged [react-native-camera]

Camera module for React Native. Including photographs, videos, face detection and barcode scanning

The comprehensive camera module for React Native. Including photographs, videos, face detection and barcode scanning

Github: https://github.com/react-native-community/react-native-camera

Docs: https://github.com/react-native-community/react-native-camera/blob/master/docs/RNCamera.md

339 questions
1
vote
2 answers

React native build error for react-native-camera

I have added react-native-camera to my application. But I am getting this error while running npm run android command. * What went wrong: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. > Could not resolve all task…
Rohit Aggarwal
  • 1,048
  • 1
  • 14
  • 32
1
vote
1 answer

Cannot run android with react-native-camera

I can't run project when install this lib. I got error: What went wrong: Execution failed for task ':react-native-camera:generateGeneralDebugRFile'. Could not resolve all files for configuration…
1
vote
0 answers

React Native - Integration of camera and photo upload in one screen

I am trying to find a library or a way to implement the camera and upload pictures in one screen like it is on IOS or android camera. For example you open the camera app and you get to take the photo or choose from gallery. Is there a way to do…
1
vote
1 answer

React native camera is not showing full screen

I am new to camera in react-native. I am using Rect-native-camera to take pictures. But I found it have some issues. Grid view is not available Unable to point only the nose in react-native-camera face detection Unable to find the distance of the…
Deepika
  • 737
  • 7
  • 23
1
vote
2 answers

How to create a camera with Grid - point for nose, distance warning, lighting conditions in react native

I am new to react-native. I tried many camera packages (react-native-camera, react-native-image-crop-picker) to create a camera in react-native app. But non of them have all the sections as I checked. I want these options to be there in the…
Deepika
  • 737
  • 7
  • 23
1
vote
0 answers

Crop bounding boxes from React Native Camera

I have a react native application which uses react native camera to detect the faces and do some process on that. So, when the face is detected I am showing bounding boxes over the camera and now I want that bounding box to be cropped. So, the…
1
vote
1 answer

react-native-vision-camera doesn't appears after initialization

react-native-vision-camera doesn't appears after initialization I was expecting Camera or something like this but screen stucks on Loading I've tried a lot of things but couldn't solve the problem. Documentation didn't give any of useful…
1
vote
2 answers

How to take a pic using expo react native camera?

I have just started using React Native with Expo so I am kind of confused. So, I have made a camera component which I imported in the main screen. Everything looks good. But I can't take pictures. I cannot click the snap icon and save the image. Is…
박종준
  • 125
  • 1
  • 2
  • 10
1
vote
1 answer

Camera not working with React Native Expo: Invalid Hook Call

I'm trying to get camera working in my RN Expo app, but I'm getting an error. The error is telling me I am using hooks, how I'm using class component and not using hooks (as far as I'm aware!?) I've added the code and error log below. Can anyone…
mcooling
  • 107
  • 2
  • 14
1
vote
1 answer

react-native-camera default Camera UI

When using react-native-camera to allow photo capture; is there an API to simply enable the default platform camera UI, or an additional library? I've been looking for this for a while with no luck.
Jarolin V
  • 69
  • 1
  • 7
1
vote
1 answer

Why is there difference between image of iPhone camera and Image taken by my app in React Native

I am using react-native-camera library for implementing camera and taking images. I have noticed that the images taken by default camera of iPhone are better in colors and sharpness than the ones I take using my app. Also is there a way to…
Abdullah
  • 393
  • 4
  • 10
1
vote
1 answer

react-native-camera face detection

Using react-native-camera to attempt facial recognition is not working. { console.log(face) }} /> I get the error TypeError: cannot read property…
sqwale
  • 554
  • 3
  • 24
1
vote
1 answer

MediaLibrary.saveToLibraryAsync Error: Unable to copy file into external storage

I'm attempting to save a video to my cameraRoll in React Native on Android, console returns the video uri perfectly fine, but I get the error. Error: Unable to copy file into external storage. However, when putting the code on Snack, it works fine.…
Peter T
  • 81
  • 3
  • 9
1
vote
1 answer

react-native-camera not firing on Android

I am using react-native-camera to scan barcodes. On iOS, where I started developing, everything works well as expected. On Android though, it will just not fire onBarcodeRead when a barcode is focused with the camera. The relevant piece of code is…
1
vote
0 answers

The screen goes black when opening the camera with react-native-camera

react-native-camera: 3.7.2 node: 10.23.1 Problem: I have a button to read the QR Code. Right after reading the QR Code, automatically opens the camera to take a photo. When the camera opens, it goes black There is no error on the console. Open the…
Hora
  • 162
  • 1
  • 8