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
0
votes
1 answer

TurboModuleRegistry.getEnforcing(...): 'RNCCameraRoll' could not be found [React Native Expo]

I'm trying to use camera roll in a react native project, so far tried libraries "@react-native-camera-roll/camera-roll" and "expo-image-picker". However, on both iPhone and Android, I get an error "TurboModuleRegistry.getEnforcing(...):…
IZW
  • 11
  • 2
0
votes
1 answer

How to changes the photo width and height in React Native Vision Camera or chop it?

I am simply trying to get a square image and lower the size of the image as much a possible while keep image text clear. This is my attempt but it does not work. const capturePhoto = async () => { const options = { qualityPrioritization:…
0
votes
0 answers

How to record a video using React-Native on web?

I am trying to record a 10 sec video through the webcam on a web app using React-Native. I found a couple of libraries for Android and iOS like react-native-camera, but these don't seem to work similarly on the web. This is strange, because I'm…
0
votes
0 answers

Is is possible to use face camera in PIP (picture-in-picture) mode with app screen recording in react native?

I want to accomplish application screen recording with face(selfie) camera on, in picture-in-picture mode. In this, user can record screen while interacting with application and at the same time face camera should be able to record his reaction and…
0
votes
0 answers

Identify photos with black parts in react native app

I have an issue with photos having black areas in react native app. When the user takes a photo, it sometimes appears to have black areas which I need to prevent. What I want is to recognize that the photo has black parts, so I can discard the photo…
0
votes
1 answer

Cannot read property 'RNCamera' of undefined on android

I have installed and configured react-native-camera this way : npm install react-native-camera added these to AndroidManifest.xml:
Amit giri
  • 1
  • 3
0
votes
2 answers

onTextRecognized front camera app crash without log React Native android

I have switched from back camera to front camera, React native camera but it will crash without any log. Here is the following code.
Chanrithisak Phok
  • 1,590
  • 1
  • 19
  • 29
0
votes
1 answer

Could not resolve project :rncamerakit

I install react-native-camera and got this issues. Could not determine the dependencies of task ':app:mergeDebugAssets'. > Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. > Could not resolve project…
Anhdevit
  • 1,926
  • 2
  • 16
  • 29
0
votes
1 answer

attempt to invoke virtual method 'void android.view.TextureView.setSurfaceTextureListener(android.view.TextureView$SurfaceTextureListener)'

I'm getting this error when using the library RNCamera attempt to invoke virtual method 'void android.view.TextureView.setSurfaceTextureListener(android.view.TextureView$SurfaceTextureListener)' on a null object reference I reinstall the library…
carch
  • 217
  • 4
  • 18
0
votes
0 answers

License Plate Recognition in React Native

I am trying to implement License Plate Recognition in React Native for the same I got only single npm package react-native-openalpr https://www.npmjs.com/package/react-native-openalpr. I am stuck here because that package is no longer working in…
Rahul Mishra
  • 4,263
  • 7
  • 32
  • 53
0
votes
1 answer

I am using react-native-camera for video recording in my React Native App. I want to add timer in it

This is my code for recording a video https://i.stack.imgur.com/R32yV.png
user17680513
0
votes
1 answer

Expo Managed Workflow - Modify CocoaPods Podfile

Modify CocoaPods Podfile for MLKit I would like to implement react-native-camera for managed workflow which requires MLKit for text recognition. How do I add the following snippet to the CocoaPods Podfile so I can enable text recognition? pod…
Reft
  • 2,333
  • 5
  • 36
  • 64
0
votes
1 answer

React Native Camera is able to capture images but is NOT recording video

I am trying to use react-native-camera package to create an app to take pictures and record videos. I took the example code and converted it to functional component, since its necessary for my app. I am able to take pictures and store in local…
0
votes
1 answer

Unable to play audio while recording a video in iOS in React Native using react-native-camera

I want to play an audio that is being played through a url using react-native-sound, at the same time I want to record a video so that I can capture the audio being played through the speakers of the phone in the video. I'm able to achieve this in…
Mursal Khan
  • 35
  • 1
  • 9
0
votes
1 answer

Upload Video URI from React-Native Picker to AWS S3 Server

I am trying to upload a video from my IOS device library to S3 using axios and a pre-signed url. I've determined the axios/s3 part is working great, but the issue is coming from the uri I receive from 'react-native-image-picker'. When I record a…