Questions tagged [expo-camera]

104 questions
1
vote
1 answer

How did Expo Camera create a mobile full screen camera view? Trying to do the same with React-webcam and failing

How to make fullscreen mobile camera view like expo-camera but with react-webcam? Using Expo-Camera/Tailwind, the below code would create a fullscreen camera view on mobile. // Creates the camera itself, on web, it'd use getUserMedia/Stream API, see…
wanna_coder101
  • 508
  • 5
  • 19
1
vote
0 answers

How to get the color of a pixel React Native using expo

What I'm trying to do is to recognize the color of a pixel via expo-camera. I've used react-native-pixel-color but couldn't make it work. If someone has an example project I could look into I would really appreciate it.
1
vote
0 answers

Getting the dimensions of the photo to be taken from expo-camera

I was wondering if there was a way to configure the expo camera component size so that it was exactly as large as the picture being taken? I was also thinking that I could use the standard photo dimension information available for each platform, but…
1
vote
0 answers

Record Video with Tensorflow.js and React Native

I am trying to record video while using BlazePose with React Native. Wherever I add in cameraRef.current.camera.recordAsync() into causes the video to freeze and app to crash. From what I've found, it might need to go in the handleCameraStream but I…
1
vote
0 answers

when i open a expo camera than showing error

when camera screen are start than show a error in android studio logcat and also show me on screen . if reload page than error are disappear > 2022-04-05 13:01:28.804 17912-17912/com.test2 E/unknown:ReactNative: Exception in native…
1
vote
0 answers

Convert .mp4 to .webm on react native

i am using expo-camera to record a video but the uri response comes with a .mp4 url, is there a way to convert .mp4 to webm?, just by changing the type to video/webm is not enough once my video, on expo camera documentation i had no…
1
vote
1 answer

React Native Vision Camera using Expo

I have an Expo managed project in which I would like to use the React Native Vision Camera. The Expo Camera does not provide enough functionalities for my app. After following the Getting Started, I get the following errors when running the app in…
Jeroen
  • 113
  • 10
1
vote
1 answer

Expo camera black screen on ios first time - works on app restart

On IOS the first time a user who has not previously given permission for their camera the screen shows black screen. If the user closes the app and returns, the camera works fine. A loading screen is shown before the permissions have been…
1
vote
1 answer

expo-camera: Error: Permissions module is null

I have an error in console after to install expo-camera. expo install expo-camera add permission in android manifest add module expo camera in maven allprojects { repositories { // * Your other repositories here * // * Add a new maven…
1
vote
1 answer

How do I calcuate zoom from pinch event using expo camera?

As far as I googled, zooming with two fingers is called pinch gesture (correct me if I am wrong). Also, as per this question I have to use PinchGestureHandler from react-native-gesture-handler library in order to detect this gesture. Again, as…
1
vote
1 answer

Expo Face Detector Angle

I was trying to implement live face detection using Expo-Face detector; I encountered a mysterious problem in which turning left was not recognizable for ios, but worked properly for android; There was no documentation about it; I couldn't figure…
Aexomir
  • 158
  • 8
1
vote
1 answer

React-Native: How to include location details while capturing the image using expo-camera

Developing a react-native app in that application accessing the Camera via expo-camera package, able to capture the image, While accessing the the asset info of the captured image via MediaLibrary.getAssetInfoAsync(asset) the location field in the…
Pavan Kumar
  • 99
  • 4
  • 14
1
vote
2 answers

why expo-camera alongwith vue-native is not capturing picture?

I am trying to learn vue-native and creating a practice application to use camera and capture an image. In documentation they are using some ref to assign camera to it but I do not know the exact method to pass ref in vue-native. I have done little…
GigaByte
  • 700
  • 6
  • 21
1
vote
1 answer

Video Recording (expo) is not working on production/apk file

I'm using an expo-camera for video recording in my react native app. Everything is working great in development but when I generate an APK file so the camera is not recording the video. I have used the useRef hook is my code which triggers when the…
1
vote
1 answer

Getting a spinning plank screen and Error: Camera is not ready yet. Wait for 'onCameraReady' callback using expo Camera component

I'm new to web development and I'm trying to build an image recognition app using expo for testing. My code for the camera is below. On screen load, I get a black screen (not the camera) with my "capture" button. When I click on capture, I get the…