14,676 questions
-1
votes
1
answer
36
views
Camerx issue in react native live preview
I am currently trying to embed an Android native view inside a React Native view with a CameraX live preview. However, I am facing a timeout exception issue with CameraX.
On iOS, the same ...
1
vote
0
answers
23
views
AVCaptureVideoDataOutput stops zooming while AVCaptureVideoPreviewLayer continues — physical wide / ultra-wide / telephoto only
We use a single AVCaptureSession with AVCaptureVideoPreviewLayer and AVCaptureVideoDataOutput (preview-sized buffers, BGRA).
When we increase videoZoomFactor, beyond a certain zoom level the image ...
1
vote
1
answer
56
views
Camera with Isaac Sim 5.1
I have created an USD file with camera and other object.
I also used BasicWriter to write the current image seen from the camera to the disk.
It seeem that there is no way to grab the image seen from ...
0
votes
0
answers
28
views
Three.js camera does not orbit correctly around model when using predefined positions
I am working with Three.js and trying to implement predefined camera views (like front, top, side, isometric) for a 3D model.
I calculate the bounding box of the model and position the camera based on ...
1
vote
0
answers
41
views
Clamp camera boundaries including zoom in Monogame
Hi there I am currently programming a 2D game with monogame and have a camera class which looks as follows:
class Camera
{
private Matrix transform;
private Vector2 centre;
private ...
0
votes
1
answer
51
views
Camera application problem in release mode (it seems a permission problem?)
I have a problem of camera application with flutter in release mode (apk). it is OK in debug mode.
I try different solution including using camera library and image_picker library , I have add this ...
1
vote
0
answers
133
views
Capture Image Only When Camera is at a Specific Distance from Object
I’m building a Flutter app where the user can take pictures of objects, but I want the capture button to be enabled only when the camera is at a specific distance from the object.
I am using the ...
-1
votes
1
answer
147
views
Flutter web: cameraNotReadable error when calling availableCameras()
i am using "cameara" flutter package
when i am trying to read all cameras on web-app device (Laptop with multiple camear options)
getting this error from camear package:
cameraNotReadable, ...
2
votes
0
answers
64
views
How to avoid MS Teams to select MJPG as camera data format?
I'm developing a "Python + C++ DLL" application, which calls Windows MediaCapture interface to open and read camera data (in format of NV12 or YUY2) in SharedReadOnly mode. And it must work ...
0
votes
0
answers
52
views
Canon EDSDK kEdsStateEvent_Shutdown Error
I have a Canon Eos R8 using EDSDK on Windows11. If I Open a session and leave it alone for 1 mins I sometimes get a shutdown event triggered. Why does it always call shutdown? I didn't turn off the ...
3
votes
2
answers
255
views
Flutter camera plugin records dark/black videos on Android - preview is fine but recorded video is dark
I'm developing a Flutter app with video recording functionality using the official camera package (version ^0.10.6). The camera preview looks perfect with correct brightness, but when I record and ...
2
votes
1
answer
120
views
LockedCameraCapture Does Not Launch The App from Lock Screen
My implementation of LockedCameraCapture does not launch my app when tapped from locked screen. But when the same widget is in the Control Center, it launches the app successfully.
Standard Xcode ...
1
vote
0
answers
125
views
AVCaptureDevice - Getting a List of Cameras Including Ones with Virtual 2x Crop
So using AVCaptureDevice.DiscoverySession gets you each dedicated camera nowadays.
let devices = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera], mediaType: .video, position: ....
0
votes
0
answers
121
views
My app is unable to save recorded video on Android 14
Full project link: https://github.com/rdtmaster/camcam
Context: I am developing an app that allows the user to choose camera (front/rear), pick a figure (the shape of a circle or rectangle), then open ...
0
votes
0
answers
132
views
How can I change the camera's CFrame while still having standard camera controls?
I'm trying to invert the depth of the camera (multiplying the camera's CFrame by (0,0,0, -1,0,0,0,1,0,0,0,1). To my knowledge, the only way I can implement this is by setting the camera type to ...
2
votes
0
answers
189
views
Wrong camera -> video orientation on website "Added to Home Screen" on iPadOS 26: any workarounds?
Given an HTML5 video element...
‹video id='video' autoplay muted playsinline></video>
..and some JavaScript to set its source to a camera by means of getUserMedia...
(async () => {
...
0
votes
0
answers
226
views
Android Cuttlefish Camera Passthrough - No Documentation or Working Implementation
I'm trying to enable host camera passthrough in Android Cuttlefish but cannot find any working documentation or implementation. I've tested on multiple setups without success.
Setup Details
Host ...
1
vote
0
answers
49
views
Need to play a video above the recording camera
In Android I need to play an exoplayer video above the recording camera. I use AndroidView() for camera and VideoPlayer() below it in my Compose method.
Currently I see only buttons of the video ...
0
votes
0
answers
193
views
OV2640 register settings for 640x480 vga
I am trying to configure the ov2640 camera using the registers given below. Unfortunately, I am getting 800x600 rather than 640x480. Also, I'd expect 2 bytes per pixel on YUV422 mode but I am getting ...
0
votes
0
answers
53
views
Stepper motor and camera issues
So I want to run the stepper motor a little but faster and always have the camera running. Basically, to have this system be more efficient. It runs for a few seconds, camera turns on then turns off, ...
0
votes
1
answer
50
views
Save and read photo on Android 11 using Xamarin.Android
I can save a photo from camera intent to Mediastore Public Picture Directory, but the photo cannot be read back by the app.
private bool DoPhoto(int KeepAsking)
{
Intent intent = new Intent(...
1
vote
2
answers
190
views
ov7670 vertical stripes, what are they and how to get rid of them?
I have the ov7670 and I'm configuring it to read an arucomarker in pure black / white.
To do so, I'm having the ov7670 in YUYV mode and I'm only reading the Y bytes' first bit. A 1 indicates white, a ...
0
votes
0
answers
85
views
OV7670 black and white image capture - contrast and brightness
I have an OV7670 camera which I have set to mode YUV. Using only the Y bytes, I'd like to have black and white images to detect an aruco marker. The uc that I am using, an nrf9161 is low on memory and ...
1
vote
1
answer
196
views
Best way to manage LookAt in RealityKit
In RealityKit we don't have a convenient SCNLookatConstraint as we do in SceneKit.
I'm trying to determine the "best" or most efficient way to achieve this in a game where there is a full ...
3
votes
1
answer
449
views
How to place and orient RealityKit camera
I'm really struggling to get the camera to behave even remotely as expected in a RealityKit app (where I have set RealityViewCameraContent.camera to .virtual).
I have a programmatically generated ...
1
vote
0
answers
64
views
Detecting flipped YUV_420_888 buffers with Camera2 API
I am having a strange issue where a single phone (Redmi Note 11 5G) has a flipped UV buffer on the front camera when I take an image. This causes the skin color to turn blue
Currently I obtain the ...
3
votes
1
answer
78
views
Rgb565 to rgb888 error in the Nicla Vision
I'm running into a problem converting raw rgb565 into rgb888. I'm getting psychedelic looking images:
I followed the advice from this forum post, but I have not been able to fix the problem. Has ...
1
vote
1
answer
425
views
iOS Camera shows blank screen due to videoDeviceNotAvailableWithMultipleForegroundApps error - how to handle it properly
My iOS application uses the camera and some users are experiencing a blank screen because the camera fails to start with the error
videoDeviceNotAvailableWithMultipleForegroundApps
I initially ...
0
votes
0
answers
51
views
When does `AVCapturePhotoOutput` start and stop accumulating light (exposure)?
My question is not a duplicate of AVCaptureDevice's exposureDuration and iso not honored by AVCapturePhotoOutput. In my example, I capture RAW Bayer image and per Apple's own documentation "...
1
vote
0
answers
67
views
react-native-camera-kit shows wide-angle camera by default even with zoom={1.0}
I'm using the react-native-camera-kit library to implement a photo-taking feature in my React Native app. However, when the camera screen opens, it uses the wide-angle lens by default instead of the ...
1
vote
1
answer
78
views
Android & compose: embed camera preview to UI layout
I want to use only square crop of the image from sensor, therefore I want to have square preview in UI, other UI elements are supposed to be placed outside of preview. UI is built using jetpack ...
0
votes
0
answers
43
views
Android ndk-build fails with "LOCAL_SRC_FILES points to a missing file" after integrating libturbojpeg.so 3.0.2
I recently upgraded from libjpeg-turbo 1.5.0 to 3.0.2 and attempted to integrate libturbojpeg.so into an Android Studio project using ndk-build. However, the build process fails during ndkClean or ndk-...
1
vote
1
answer
131
views
Do I need camera access to access gallery?
For some reason I'm testing this code on android and I can't figure out why it says "Please grant Photo access permission to select images" immediately after I grant access to the gallery. I'...
2
votes
1
answer
202
views
How to animate smooth camera transition between wide and ultra wide lenses like iPhone native Camera app?
I'm working on a custom camera implementation for iOS using AVCaptureSession and AVCaptureDevice. I know how to handle zoom in and zoom out, and how to switch between cameras (wide, ultra wide, etc.). ...
0
votes
0
answers
43
views
Telephoto Lens Keeps Switching to Other Lenses on iPhone 16 Pro Max During PPG (Finger on Camera)
I’m building a PPG-based heart rate feature where the user places their finger over the rear telephoto camera. On iPhone 16 Pro Max, I'm explicitly selecting the telephoto lens like this:
videoDevice =...
1
vote
0
answers
93
views
IOS 17 camera capture not working in Next.js with <input type="file" capture>
Good day everyone,
I'm working on a Next.js project where I need to allow users to upload images using their device's camera. Here's the relevant snippet:
import { Loader2, Camera } from "lucide-...
0
votes
0
answers
102
views
Can I record system audio and video simultaneously using Expo (React Native)?
I'm wondering if it's possible to record a video (using expo-camera or any other package) and record a system sound (sounds from other apps)?
As far as I know, there is no ready-to-use package for ...
0
votes
0
answers
49
views
Add overlay on camera and click photo if paper is inside the overlay in flutter
I'm working on a Flutter app where I need to implement a document scanner feature. The requirements are:
When the camera opens, there should be an overlay (for example, a rectangular frame) displayed ...
0
votes
0
answers
50
views
WinSock2 - Socket cannot be read any longer if there was no data for a period of time
I'm using a socket to retrieve image data from a camera. This works properly, if the camera is continuously sending data. But, when the camera is in manual trigger mode and we wait for a while (maybe ...
0
votes
1
answer
431
views
.NET MAUI app crashes on iOS when I check camera permissions
My mobile app uses a wide variety of hardware features, but for some reason, checking the permissions for the camera causes regular crashes, and I can't figure out why.
I have the following check for ...
-2
votes
1
answer
686
views
How can I prevent OBS virtual camera injection on my website? [closed]
I have a website that uses navigator.mediaDevices.getUserMedia to access the device's webcam. Still, I noticed that some users are using a virtual camera (like OBS Virtual Camera) and injecting images ...
0
votes
0
answers
39
views
Vuforia camera is supported for splitview
Vuforia support for Split View on iOS: I have developed an AR application for iOS using Unity 2020.3.33f1 and Vuforia 10.8.9. In Split View, the camera gets paused. Is this because Vuforia doesn't ...
1
vote
1
answer
222
views
How can I set AutoFocus for CameraView on Camera.MAUI .NET MAUI?
I tried to do this in order to make the camera works with the autofocus because I noticed that when I scan Barcodes when there is less environment light, the camera can't autofocus the barcode so I ...
1
vote
0
answers
237
views
iOS: Camera screen is black on OS version 18.3 and above not able to capture the image
I have been using camera API for an iOS application which launches the camera and captures the image. So user of my app has reported the issue that they are not able to capture the images sometimes ...
1
vote
0
answers
54
views
Is it possible to turn on the camera flashlight in JavaScript on Windows?
I have a Windows 10 hybrid laptop/tablet that has a rear camera with flash.
I want to control the flashlight from an Electron app.
You can verify the availability of the flashlight with this ...
1
vote
0
answers
50
views
iOS AVmulticamPiP Video recording issue for react-native bridging
For now, I'm developing front and back camera simultaneous recording and I found this code. I added some code snippet. You can take a look the full code in this url (https://github.com/Lax/Learn-iOS-...
0
votes
1
answer
352
views
Limelight Detector Notebook suddenly not working. Any ideas?
I've been trying to train a custom detector model for a LimeLight3A through the Google Colab notebook they provided. I successfully trained one on April 4th, but since then any of my attempts at ...
0
votes
2
answers
70
views
SystemChrome.setPreferredOrientations not affecting camera preview orientation in Flutter using camera plugin in iphone 12
I'm building a Flutter app that uses the camera plugin to capture photos, and I've locked the app orientation using:
SystemChrome.setPreferredOrientations([
DeviceOrientation.portraitUp,
...
1
vote
0
answers
242
views
How to Add a Text/Watermark to Video Using CameraX OverlayEffect API?
I'm trying to add a watermark text to a video while recording using CameraX's OverlayEffect API.
Initially, I considered using FFmpeg for this, but:
Significantly increases the app size.
Requires ...
0
votes
1
answer
36
views
Trying to add a 3D hotbar by using 2nd ortho camera, but it displays sky and obscures the world
I am trying to add a 3D hotbar to my Minecraft clone at GitHub
So I have added a 2nd camera as SubViewportContainer → SubViewPort → hotbar.tscn → HotbarCamera and put the cubes in a line and at layer ...