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
2
votes
0 answers

Possible Unhandled Promise Rejection (id: 0) React Native_camera

I want to use react-native-camera in expo but I get this error.-> Possible Unhandled Promise Rejection (id: 0) Here is code. import {StatusBar} from 'expo-status-bar'; import React from "react"; import { StyleSheet, Modal, View, Pressable, Text,…
이소민
  • 21
  • 1
2
votes
0 answers

React-native-camera face recognition isn't working for iOS, RNCamera.Constants.FaceDetection.Mode.accurate is undefined

I have a react-native application that uses react-native-camera with its FaceDetection functionality and was working smoothly for quite some time. Lately it started to shut down unexpectedly every time you try to open camera in this app. Code wasn't…
daria.p
  • 21
  • 2
2
votes
1 answer

How to capture 360 images in a React Native App?

I need to implement the functionality to capture 360 panoramic images in my React Native App. So far I have not found any library or method to implement this. What is the best method to implement this functionality in React Native? Thanks.
2
votes
0 answers

React native camera (panorama support)

We need to capture a large receipt using React native camera, But the current version does not support Panorama view. Does anyone know if there is any alternate library available or how can this be achieved.
Anupam Chaplot
  • 1,134
  • 1
  • 9
  • 22
2
votes
1 answer

How to get a stream while a video is being recorded?

I'd like to upload data chunk to server while recording a video(not after recording). I tried to go with react-native-camera or react-native-vision-camera. but as far as I know, recordAsync method only resolves the final version of recorded…
2
votes
1 answer

How to create custom camera component using that return image, in react-native

I'm trying to build custom camera component similar to launchCamera in react-native-image-picker module, that can be called from function and returns image. How this can be implemented using react-native-camera. Because I need to add some custom…
2
votes
1 answer

React Native record video and capture Speech to Text

I'm using React Native Camera to record video. I would also like to transcribe the voice at the same time (speech-to-text). I'm looking at React Native Voice but I don't think I can use both libraries at once (sharing the Mic input). Wondering if…
2
votes
0 answers

React Native - How to process camera frames in real time while displaying them?

I'm making an app where I have a camera feed that should be displayed, where the frames of the feed should be processed in real time. I was thinking of using native modules for the camera feed and processing, but afaik in order to show the frames…
2
votes
3 answers

Nothing was returned from render. This usally means a return statement is missing

I use React Native Camera to be able to scan barcodes and right now I'm trying to show a Modal when barcode checks with the item in database. The error I'm getting is: Error: checkBarcode(...): Nothing was returned from render. This usually means a…
Lmao12233
  • 61
  • 1
  • 1
  • 15
2
votes
0 answers

Image out of focus when using focusDepth in React Native Camera

I have been trying to use the focusDepth property to manually change the focus of the camera. However, while capturing the image, the camera preview changes and becomes out of focus, resulting in an image different from the preview before capture. I…
S12_6
  • 21
  • 1
2
votes
1 answer

React-native-image-picker add mask layout to camera

I'm making an app, that implements taking photos or uploading them from gallery. I would like to find out, if it is and how it is possible to add a mask layout for camera view. The result i would like to get is : Is it possible to achieve this with…
2
votes
0 answers

React Native Expo: Camera in ViewPager

I am creating a ViewPager with a Camera inside in a View, when the ViewPager renders the Views everything is ok but then when the ViewPager change the page and get back to the Camera Page the Camera is not appearing again. How to solve this? There…
2
votes
0 answers

How to get frames from video and show with trimmer in react native like whatsapp status uploading

I'm developing a video streaming app and I need to trim, merge audio & video stuff like that, But for Now, I've to get frames of video and show in the trimmer so that user can trim the video as per his need. How can I achieve this? If anybody done…
2
votes
0 answers

Set Default To "Square (1:1)" Image Capture & Save With React Native App?

I'm in the process of developing an iOS/Android React Native App that will allow me to take photos of incoming packages. However, currently photos are saved in 4:3 aspect ratio but I need the default to be a 1:1 "square" aspect ratio. Is there a…
olimits7
  • 555
  • 2
  • 9
  • 26
2
votes
0 answers

React Native - display camera roll videos

My RNCameraRoll videos and photos are saved on my custom folder in my device, I want to display the videos in my app...I used getPhotos method to display or create my photo gallery, but for videos it displays only images. setIndex = (index) => { …
digiware
  • 33
  • 4