Questions tagged [expo-camera]
104 questions
13
votes
6 answers
Execution failed for task ':expo-permissions:compileDebugKotlin'
I am working on a React Native app where I included some expo libraries (bare workflow). I had successfully used expo-location, but now after I installed also expo-camera, the app won't build anymore with npm run android, did not try yet on ios.
It…

chris chris
- 131
- 1
- 1
- 5
6
votes
2 answers
expo-camera takePictureAsync() not working on Android
I recently updated several lines of code in a managed expo project, unrelated to the camera functionality. It still works fine on iOS, only Android does not work. I had released a previous version one month ago that worked well. When I revert back…

Patrick O'Neill
- 86
- 6
6
votes
2 answers
expo camera show black screen for first time : React-Native
I have Created Project with expo-camera which on click of button opens camera. However first time when i click that button only black screen is render, after reopening the screen, and clicking the same button, the Camera UI is render on…

Ferin Patel
- 3,424
- 2
- 17
- 49
5
votes
0 answers
React Native expo-camera landscape video
I'm recording some videos in different orientation (landscape and portrait) but my app is forced to be in portrait mode by config. The problem is that the result of every record is saved in portrait.
Is there any way to decide the result orientation…

Axel Ros
- 685
- 1
- 7
- 15
4
votes
1 answer
`expo-face-detector` not detecting faces in landscape mode
I am working on an Expo managed react-native project, using expo-face-detector to detect faces. It is working fine on Portrait mode. But when I changed "orientation": "landscape" in app.json, I am getting 0 face result or sometimes 2 face results in…

mestarted
- 413
- 4
- 11
3
votes
1 answer
Expo BarCodeScanner keeps camera open upon navigation
I have a simple expo managed React Native project setup with react-navigation
I have 2 screens one of which is the Home screen and the other is a screen for QRCode scanner which uses expo's BarCodeScanner.
The issue here is that when navigating from…

Sudhanshu Bhagwat
- 372
- 1
- 8
3
votes
1 answer
React Native Expo camera uses wide angle
I am using the Expo camera in my React Native application for my web application.
Whenever I open the web application from any browser from my mobile device (Samsung Galaxy S10), it uses a wide-angle camera.
I'd like the webapp to use the "normal"…

Jeroen
- 113
- 10
3
votes
2 answers
expo-camera keep front facing photo mirrored?
I am using the expo-camera library to take a selfie image. The preview is mirrored but the saved image is reverted to the normal orientation. How do I prevent this effect from happening (I want the image to stay mirrored), or if I can't, how can I…

Ken
- 1,155
- 2
- 19
- 36
3
votes
2 answers
React Native Expo-Camera recording video find problem User rejected audio permission needed
I'm having trouble recording video with expo-camera. User rejected audio permission needed. Has anyone had such a problem?? If anyone tells me the way to solve the problem, I also added expo install expo-permissions. But it still doesn't work
taking…

Julfikar Haidar
- 93
- 2
- 10
3
votes
0 answers
Expo-Camera not saving video
I'm using expo-camera in my app and I've implemented it completely;
The process of recording and stopping it works correctly, but when I click on stopRecording() no files are being returned;
I was wondering what's the problem?
Here's my Code below:
…

Aexomir
- 158
- 8
3
votes
1 answer
how to capture image using expo-camera in react native
I am new to react-native. I have created an app. but now I want to Capture Image from this app. I have got the code from expo website But the problem is This code only open camera. I want to capture An Image Through That camera. So if it is possible…
user14877357
3
votes
1 answer
Expo image-manipulator crop - according to facedetector values
Short: How can i use facedetector coordinates and sizes for image manipulator crop? I want to crop face from photo.
Explanation;
I use expo-camera with facedetection. It works so well. Face detector gives output object
"origin": Object {
"x":…

ertem aktay
- 79
- 1
- 5
2
votes
0 answers
Getting an error on Android when reading the image from expo-camera and expo-image-manipulator
Image manipulator package: expo-image-manipulator
Camera package: expo-camera
✅Camera is working and file is created.
✅Manipulator is working and file is created.
❌When converting compressed photo to base64 format i am getting this error:
Error:…

Beyza Odabaşı
- 21
- 1
2
votes
2 answers
How to draw over a picture in React Native?
I have an app that uses expo-camera to take a picture. I would like to implement a function that would let user to draw over a taken picture. What is the best way to achieve this?
What have I tried?
react-native-sketch-canvas (looks like this…

fakermaker
- 57
- 8
2
votes
1 answer
TensorflowJS - React Native - Error predicting from tensor image
I'm trying to get a keras model I converted to tensorflowJS to work in react native but getting the error in predicting the image tensor.
I have trained a custom tensorflow keras model and converted the keras h5 model to JavaScript JSON model. In…

Priyanka Dhumane
- 41
- 4