Questions tagged [camera-view]
51 questions
1
vote
1 answer
Kotlin/Anko/OpenCV/CameraView can't create handler because thread hasn't called Looper.prepare()
So, I'm currently attempting to convert a picture taken using CameraView into Grey Scale using OpenCV. After the picture is taken, I use Anko in order to process it asynchronously. After the processing is done, I write the image to the MediaStore.…

João Borrego
- 95
- 6
1
vote
1 answer
While taking video camera.startCapturingVideo(null); automatically call the public void onVideoTaken(File video)
I use the following library for camera and video
https://github.com/natario1/CameraView
While I take video sometimes its work fine for me. But sometimes While taking a video camera.startCapturingVideo(null); automatically call the public void…

Subin Babu
- 1,515
- 2
- 24
- 50
1
vote
0 answers
How do I fix a 3D object on glsurfaceview and cameraview and rotate it from a different angle?
I want to build an augmented reality (AR) app as shown in this video: Ikea’s new augmented reality app will change the way you decorate
I have loaded a 3D .stl object on glsurfaceview and cameraview, and I am able to rotate the object with the touch…

Sejpal Pavan
- 130
- 10
1
vote
1 answer
How can i Take a Picture and Preview it
I recently added a cameraView to my project and everything works well.
Although right now i don't really capture photos yet and its what i want to implement next...
it would be great if you could show me how could i implement capturing a photo and…

RandomGeek
- 303
- 5
- 20
1
vote
3 answers
OutOfMemoryError generated due to camera preview
I managed to open the Android camera using opencv. but when i use the code that fixes the camera orientation -"see the code mentioned below in the onCameraFrame(..) method"- the App crashes after few seconds and the logcat
generates the belwo…

Amrmsmb
- 1
- 27
- 104
- 226
1
vote
0 answers
Can't launch my camera view in Android
I wanted to get my phone camera view in html, so I decided to try this plugin: https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview but then I tried to turn on my app it was only white screen. I am using phonegap / cordova…

Domantas Zilinskas
- 41
- 3
1
vote
1 answer
How do I scale my imagePickerController to fit the screen?
I've created an imagePickerController which I am trying to create a custom overlayView for. I have done this, but when hiding the camera controls, I was left with a big black space.
So I tried to fill this by attempting to dynamically scale my…

Jamie Baker
- 157
- 6
1
vote
0 answers
Customize scanner camera view zbar ios sdk
Is there a way to customize zbar sdk camera view.
I used below code to add the scanner.
ZBarReaderViewController *reader = [ZBarReaderViewController new];
reader.readerDelegate = self;
reader.supportedOrientationsMask =…

Susitha
- 3,339
- 5
- 27
- 41
0
votes
0 answers
How create scanner screen with particular given area in camera view
I want to create scanner screen (Image is given below).
Scanner Screen
For this screen, I aim to display a full-screen camera view where only the central 240x240 area is visible for scanning QR codes. Additionally, the remaining area should be…

Spidy
- 1
- 2
0
votes
0 answers
Google Maps iOS, how to set camera to view a given rectangle with the correct orientation?
I am experimenting with Google Maps SDK for iOS (v16.4) and using SwiftUI. I have set up a View implementing UIViewRepresentable and am using the @Binding property wrapper to set map properties. Everything is working well but I cannot seem to find a…

apps2go
- 86
- 1
- 6
0
votes
0 answers
Xamarin Community Toolkit CameraView video file location supplied becomes invalid IOS and Android
I'm using the CameraView to capture a series of short videos. I want these videos to be viewable at a later time from within the app. I'm using the MediaCaptured event to get the path of captured videos and saving these paths in a SQLite db.
The…

Not_Bluffing
- 78
- 2
- 7
0
votes
1 answer
how can access to video path in my device?
@Throws(IOException::class)
private fun createVideoFile(): File {
// Create an image file name
val timeStamp: String = SimpleDateFormat("yyyyMMdd_HHmmss").format(Date())
val storageDir: File? =…

medmjs
- 86
- 5
0
votes
1 answer
How are camera views handled in fps multiplayer games?
Hi I was completing the movement system in my hobby engine, where I have a fps camera, and I was curious to know how multiplayer games handle the movement of all players, I mean imagine there are 10 people on a server,8 players playing and moving,2…
0
votes
0 answers
Bitmap size > 0, but recognized text block size = 0
Android Studio 3.6
I try to recgnized text on check (paper).
I use this lib CameraView for get picture and use Firebase ML Kit to recognize image.
here image:
implementation "com.otaliastudios:cameraview:2.6.0"
implementation…

Alexei
- 14,350
- 37
- 121
- 240
0
votes
0 answers
Custom cameraView stretched for api level >21
I am getting CameraView Streatch issue in api >21
the issue is cameraView area preview is small than area captured
Example: cameraView Preview is ----- after takePicture -------- . Why this area is not preview while camera open?
public…

Hemant CTD
- 15
- 1
- 6