Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
37 views

Android webview close automatically when capture image from camera

I have used WebView camera for capture image but in Android 14 when capture 2-3 images one by one then on click OK button in camera WebView close automatically and also not showing any error or log. ...
Adil Saiyad's user avatar
  • 1,592
0 votes
0 answers
26 views

Flutter Camera Exif orientation is always 0 on my phone

I'm using the Camera package for flutter. My client has a Samsung S53 phone and when it take a picture in portrait mode, the image is rotated by 90°. I tried on my Oppo A73, but no matter the ...
Nicola's user avatar
  • 331
0 votes
0 answers
25 views

How to set ISO of android Ricoh Theta X using Java?

I am using THETA Plug-in to set iso for thetaX camera 360. However I didn't notice any changes on the camera. This is code i tried: import theta360.hardware.Camera; int value = 50; // value of 50 to ...
Khuê Nguyễn's user avatar
0 votes
0 answers
932 views

(Flutter Android) ImageTextureEntry can't wait on the fence on Android < 33

I'm trying to use this package: multiple_image_camera. It allows user to take multiple pictures from camera. image_picker allows only single at a time. I/CameraManagerGlobal( 5873): Connecting to ...
Mohit Marfatia's user avatar
0 votes
0 answers
117 views

camera2 CameraCaptureSession.capture() fails on first go but completes on second call

class AutomaticCapture(private val arguments: IntentArguments, override val cameraCharacteristics: CameraCharacteristics, override val imageReader: ...
Antti Niemi's user avatar
0 votes
0 answers
300 views

Activating the flash when starting a camera in Camera.MAUI crashes on Android

I am developing a .NET MAUI App that uses the phone's camera to take pictures and to scan barcodes. I use the Camera.MAUI NuGet package for it and it works fine in most instances. But I have one ...
BeRo's user avatar
  • 113
0 votes
0 answers
11 views

Camera implementation

Some applications bundle their custom camera implementation and don't allow to use system camera or gallery, how can I force an application to use system camera instead of their own custom camera . I ...
WOMEN'S DRESS FABRIC's user avatar
0 votes
1 answer
171 views

How to restrict or detect an active camera device in a background process in Android?

I am working on a security requirement for our product which states that the camera cannot be active while using our library. All of the possible solutions I investigated lack uniformity and coverage ...
Vladimir Computin's user avatar
0 votes
1 answer
360 views

custom bottomActionsBuilder for taking picture in camerawesome flutter

I'm using the camera awesome package to be able to open the phone's camera in my app and be able to switch between photo and video on the camera. But I wanted to change the bottom of the buttons. In ...
Natan 's user avatar
0 votes
0 answers
78 views

In openCV, the inputFrame.rgba().size returns resolution of inputFrame or previewSize of the camera?

Can someone please confirm, in the openCV, the inputFrame.rgba().size() gives the resolution of the inputFrame or the previewSize of the camera?(https://github.com/touchlab-lab/OpenCVAndroidLib/blob/...
Ani's user avatar
  • 1
1 vote
0 answers
513 views

Change default CAMERA LENS on ANDROID

How can I change the default lens on my Android device? I want the device to use my ULTRA-WIDE LENS instead of the default one when opening apps like Instagram, since I feel it is very ZOOM even if it ...
jakineru's user avatar
0 votes
1 answer
100 views

Capacitor Camera on Android - How to change Background Color

I am trying to figure out how to change the background color of this screen when using Capacitor Camera on Android. I'm having a tough time finding docs on this. Launching camera from Android using ...
Joe Schmo's user avatar
2 votes
0 answers
97 views

About the correctness of focal Lengths, sensor Height, sensor Width taken with Android Camerax

with the android camerax, I get the focalLengths, hFov, vFov , cameraSensorHeight and cameraSensorWidth values from the corresponding camera of the phone as follows. val maxFocus = characteristics....
Sina's user avatar
  • 31
1 vote
0 answers
278 views

How to use NFC and Camera at the same time?

How to use NFC and Camera at the same time Each Service(NFC, Camera) work well seperatly But if i use both on same activity NFC reader is not work nfc reader polling is automatically disabled when ...
Roy's user avatar
  • 49
1 vote
1 answer
835 views

Camera X android landscape orientation for preview

I have implemented a Camera X preview which handle both portrait an landscape orientation. Basics google params are good for portrait mode, but when I'm rotating my device the preview in landscape ...
nicover 's user avatar
  • 2,623
0 votes
0 answers
426 views

React native RN Camera crachs onTextRecognized

I am trying to get(read) text in image. Fot this I am using "react-native-camera": "^4.2.1", Whenever I open camera it works fine. But when I add this line into code App craches ...
jawad zahoor's user avatar
1 vote
1 answer
5k views

Handling Camera Permission Result - Flutter

I am using below method to check whether Camera permission is granted or not: //Global variable int cameraPermission = -1; Future<void> checkCameraPermission() async { cameraPermissionStatus = ...
Jaimin Modi's user avatar
  • 1,667
0 votes
1 answer
476 views

Looking for an easy way to capture images on an Android phone as a background service

I'm trying to create an application that automatically clicks pictures as you carry your phone around, the point is that it clicks pictures as you do your own business. This question is basically what ...
Selfish Stoic's user avatar
0 votes
1 answer
568 views

How to get absolute path to captured video file (CameraX/2)?

I'm recording now video with CameraX: val name = "Front_record-" + SimpleDateFormat(FILENAME_FORMAT) .format(System.currentTimeMillis()) + FILENAME_EXT ...
Urma's user avatar
  • 320
0 votes
2 answers
3k views

React Camera component does not work on mobile device

I'm trying to test the Camera component on my react application using mobile devices (I tried with iPad pro and Google pixel 6a). I tried react-webcam and react-camera-pro, but neither works on mobile ...
shinchan97's user avatar
2 votes
4 answers
4k views

Flutter : `camera_android` threw an error: Binding has not yet been initialized

Regression. After upgrading plugins my app does not start anymore. this my flutter spec: Flutter is already up to date on channel stable Flutter 3.0.2 • channel stable • https://github.com/flutter/...
MANISH's user avatar
  • 3,313
1 vote
2 answers
4k views

How to increase image quality with android cameraX library?

I am creating an application which must implement its own camera. I use the cameraX library provided by google. I noticed that there is a difference between the quality of the image captured by my own ...
user avatar
0 votes
0 answers
270 views

Replace a image with a rotated image in file location - android

when an image is captured on camera, I am using a ExifConverter to rotate the image correctly. I want to replace the file in the uri/path with the rotated image so this path can be sent to the ...
BRDroid's user avatar
  • 4,358
1 vote
1 answer
716 views

Android Camera2: How To Get the Current Auto-Exposure and Auto-ISO Values?

How do I get the current auto-exposure and auto-iso values for an Android Camera2 camera session? I am not looking for SENSOR_EXPOSURE_TIME and SENSOR_SENSITIVITY - these return non-auto exposure and ...
poppy's user avatar
  • 277
0 votes
3 answers
1k views

flutter app release apk does not open camera

I have a flutter app which uses the phone's camera. While debugging I can successfully use the camera but when using a release apk I have built I get a blank screen. I have added the permissions to ...
Kevnlan's user avatar
  • 567
0 votes
1 answer
247 views

Android’s New Image Capture from a Camera using File Provider and saving in root directory

Screenshoti am working on App in which i take pictures from camera, and save that picture in root directory of android, everything is working fine the problem that i am facing is with its name , when ...
Muhammad Asad.'s user avatar
0 votes
1 answer
1k views

How can I keep the frame rate of Android Camera constant

I've been working on a project to transmit data through a light transmitter (LED screen) that displays a video with coded information and a photodetector array as the receiver, that is, in this case, ...
Matheus Fortunato Alves's user avatar
0 votes
0 answers
331 views

How add mirror effect in camera preview screen using open camera android

I want to add mirror effect in live camera preview screen.im using open camera library.can anyone help me to achieve this I'm stuck last couple of days.
Rudra Goswami's user avatar
0 votes
1 answer
2k views

How can I use camera on android tv emulator (Android Studio)

I am making android tv app and I want to use labtop camera instead tv web cam for this app. but I can't use it. I tried to allow camera permission. How to use camera on tv emulator? I already checked ...
jane kim's user avatar
2 votes
0 answers
1k views

Issues with starting back camera on Chrome on Android (facingMode: environment)

I have a little web app that runs nicely on iOS on Safari. It scans QR codes and does an audio sync. However, if I try to load up the back camera on Chrome on my Samsung S7 phone, it gives me the ...
Man James's user avatar
1 vote
0 answers
208 views

Cordova get stream from camera without opening it

Im currently trying to develop an android application with cordova. I want to get the stream from the camera. On Windows I achieved that like this: if (!(navigator.mediaDevices && navigator....
broken chargingcable's user avatar
0 votes
0 answers
141 views

How to show text on camera app without to record it #Android #Camera API

I want to show a text when the camera app is opened. Something like 'Hello World!' but must not be recorded, just viewable like an overlay on the app, while I am recording a video.
user3944364's user avatar
0 votes
1 answer
180 views

how to fix CameraSource preview orientation in android studio

So I am using CameraSource to preview camera scan in my application, but the problem is that the camera preview is always horizontal. TO be more clear look at this picture: Preview I mean the preview ...
Chris Marec's user avatar
0 votes
2 answers
1k views

Launch Back Camera On a Button Click?

i just want to know is there any way to launch the backcamera using just intent. i don't want to use intent.putextra thing. so basically my code should look like this final Intent cameraIntent = new ...
aarti Ladva's user avatar
1 vote
0 answers
961 views

Without additional calculation Camera or camera2 APIs return FOV angle values for 4:3 aspect ratio by default?

I can get horizontal and vertical angles of camera view using legacy Camera API or camera2 API (doesn't matter), same values. But horizontal angle is correct only for 4:3 aspect ratio camera preview (...
user924's user avatar
  • 11.9k
9 votes
1 answer
2k views

Flutter CameraPreview is blurry, noisy, and zoomed in

I have a Google Pixel 3 and am using Flutter's camera plugin at version 0.8.1. CameraPreview is blurry, noisy, zoomed in, and generally looks worse than Android's camera app. Android Camera App: ...
Fred's user avatar
  • 557
0 votes
1 answer
549 views

Returning an image to IMAGE_CAPTURE_INTENT

I am developing a camera app and would like to implement the feature that allows the app to return an image to another app which called the IMAGE_CAPTURE_INTENT. val pictureIntent = Intent(MediaStore....
Mike's user avatar
  • 165
1 vote
1 answer
1k views

How one can use 'Wide-angle lense' or 'Telephoto lense' using camera2 api?

As per my understanding manager.getCameraIdList() returns the possible number of logical camera id's we can use.Is there any way to determine which camera Id is an Id for 'Wide-angle lense' or '...
Parth's user avatar
  • 791
2 votes
1 answer
1k views

Pixel art of a house appears when using camera in virtual android

In a virtual android setup you're supposed to be able to navigate through a virtual room when using the camera. In that room, you can change your wall and table arts by uploading images. However, When ...
Qwertford's user avatar
  • 1,189
0 votes
2 answers
2k views

React-native-camera appears as black screen

I'm trying to implement an eKYC for my application, which included 3 camera screens (2 screens with back side camera, 1 with front side camera) On some Android devices (Samsung Note 8, Xiaomi Redmi ...
hrtlkr29's user avatar
  • 413
1 vote
1 answer
569 views

Flutter: Android - How to open camera

I am trying to open the camera app on Android in Flutter. I don't want to open a camera in the app itself, I want to open the 'Camera' app as an external app. My idea was to open it throught the '...
Marco's user avatar
  • 167
0 votes
1 answer
1k views

videoRecording Failed The camera device has encountered a serious error

I have these errors at my screen while I stopped the video { I am using flutter, and https://pub.dev/packages/camera camera: ^0.5.8+11 } Any idea how to fix it? Thanks. Camera error The camera device ...
Malakmkd's user avatar
  • 141
5 votes
2 answers
14k views

Flutter takePicture() function does not take an image path as stated in the Flutter docs

I am currently trying to code a camera app, which captures an image and displays it through a separate widget. For that I use the Flutter docs here. This is the the full code. import 'dart:async';...
rein_b's user avatar
  • 88
0 votes
1 answer
111 views

Photos getting dark pack camera

I'm using the camera pack, however, the photos are getting too dark, does anyone know how to lighten them, note: I'm not using image_picker, because I need the front camera as the main one and the ...
Gabriel Mattos's user avatar
0 votes
1 answer
786 views

How to switch camera in "com.wonderkiln.camerakit.CameraView" library

I tried very hard, But I am not able to switch the camera in com.wonderkiln.camerakit.CameraView library. Please Tell me if anyone know to switch the camera in this library. Version of com.wonderkiln....
Pratik PSB's user avatar
5 votes
3 answers
6k views

camerax "Not bound to a valid Camera" for imageCapture use case on Android 11

I'm consistently getting the error Not bound to a valid Camera when attempting to implement the imageCapture use case. I'm implementing the feature in Java following the camerax tutorial here. The ...
AntonyK's user avatar
  • 51
0 votes
1 answer
125 views

Properly release target Surface used for Camera2 repeating request

Let say I have CameraCaptureSession session1 and Surface s1 as a target for repeating CaptureRequest. Now I want to change the output size. To this end I can create another Surface s2 with the ...
frumle's user avatar
  • 623
0 votes
1 answer
607 views

Problem opening camera in onTopResumedActivityChanged

I have an Android app that uses the Camera. Until now, I was opening the camera in my activity's onResume callback, and releasing it in onPause. This worked fine before Android 10. Starting from ...
Grodriguez's user avatar
  • 21.9k
1 vote
0 answers
540 views

Getting E/Camera: Error 2 and E/Camera: Error 1 when trying to take a picture with custom camera App

I am currently building a custom camera app to sample and classify pictures of climbing knots. At first I had some troubles adding the pictures to my gallery, but I was able to fix it on my personal ...
Snoopeyy's user avatar
0 votes
2 answers
296 views

Problem adding "pro mode" for Huawei Camera Kit

I followed the sample code on their developer page, and I'm not sure how to add the pro mode camera feature into my app after initializing the Huawei Camera Kit instance. private CameraKit mCameraKit; ...
user avatar

1
2 3 4 5
15