Skip to main content

Questions tagged [android-camerax]

If your issue is related to observed behavior, rather than API usage, please include information about the specific device (even if the device is an emulator).

android-camerax
0 votes
0 answers
18 views

ML kit camera text recognition not working when navigated from another screen

I asked a previous question here where the camera preview screen with ocr wouldn't work when navigated from another screen and I managed to get it to work but now the problem is the ocr function doesn'...
3698 3698's user avatar
0 votes
0 answers
20 views

Android CameraX Video Capture: ERROR_NO_VALID_DATA when starting recording

I'm trying to implement video recording in my Android app using CameraX. The app displays the camera preview correctly, but when I try to start recording, I get the following error:Sending ...
ka hei tong's user avatar
0 votes
0 answers
19 views

CameraX preview page not working with navigation

So I have camera preview page that implements google mlkit's ocr option and it works if I run it as is but if I link it by navigation through a button the page opens up but the camera preview is not ...
3698 3698's user avatar
2 votes
0 answers
47 views

Crash with CameraX and Compose Navigation on Android 11

I have a problem very similar to this. I'm encountering a crash in my app when using CameraX with Compose Navigation. The issue occurs inconsistently: sometimes it crashes when opening the bottom ...
andrei's user avatar
  • 31
2 votes
0 answers
61 views

How to get camera preview on jetpack compose with library implementation("androidx.camera:camera-viewfinder-compose:1.0.0-alpha02")?

The alpha version of viewfinder has been released. How can I use it to get a preview from the camera? Viewfinder( surfaceRequest = , implementationMode = , transformationInfo = , )
Muscle Code's user avatar
0 votes
0 answers
44 views

Android - How to display captured image from CameraX full size in ImageView?

I am using Kotlin CameraX, I have successfully implemented PreviewView with ratio 16:9 I successfully Captured Image using ImageCapture.takePicture(...) imageCapture.takePicture(executor, object : ...
Taufik Fadlurahman Fajari's user avatar
0 votes
0 answers
120 views

Application crashes in Android 14 devices in ServiceCompat.startForeground() function

I am trying to make an android application that keeps recording videos even when the user leaves the app ( foreground service) . I declared all the permissions as per the documentation in the Manifest ...
NeroVero's user avatar
0 votes
0 answers
65 views

App stops when navigating to / from a composable displaying camera on Android 11

I have a bottom navigation app in the beginning stages. It has 5 navigation items, one of which displays the camera. When navigating between tabs, eventually the app stops either when landing on the ...
andrei's user avatar
  • 31
0 votes
3 answers
133 views

Text Recognition Overlay Misalignment Issue in Camera Preview

I'm working on an Android application where I'm implementing live text recognition using CameraX and ML Kit. The recognized text is displayed with bounding boxes on the camera preview, but I'm facing ...
Purushotam Kumar's user avatar
0 votes
0 answers
41 views

Native module:React native, showing black screen when integrating camera

I am using react-native-cli version 0.74.0 and Andorid device for debugging linux os for writing code. I am trying to make a Camera app using a native module. You will ask if there is already a camera ...
chirag prajapati's user avatar
-1 votes
0 answers
62 views

Text scanning & recognition with Regex + Google's ML Kit

I am trying to add a text scanning feature to my app where the user can scan any business card and extract the information out of it. Then I'll be saving that info to firebase in a table. For this ...
Sahar Batool's user avatar
0 votes
0 answers
612 views

NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null appear on build Android camerax v1.4.0-beta02

i update camerax version to v1.4.0-beta02, but i get the error java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null when build. how ...
Leong kerwin's user avatar
0 votes
0 answers
28 views

Camera crop working on Android 10. Not working on Android 11 or 12

Below is a very small gitHub project for image cropping from camera pic or gallery pic. So, on the android java side it is using the 'edmodo' image cropper library- com.theartofdev.edmodo.cropper But ...
TryCatch's user avatar
0 votes
0 answers
36 views

Android Super Resolution Camera Extension

I saw an article saying that a video stabilization extension will be added to Camera2 as part of Android 15. Is there any news on an extensions to enable super resolution photos that you can take with ...
Pramath Pancholi's user avatar
0 votes
1 answer
33 views

Jetpack Compsoe Camerax imageCapture and crop 3 rectangles

I am trying to implement an app to take pictures, I don't want the full pic, I need to crop three pictures of the main pic (represented with rectangles), and save them for later processing. I am using ...
Jamal N's user avatar
  • 529

15 30 50 per page
1
2 3 4 5
58