android / android/camera-samples

Use VideoCapture, ImageAnalysis and Preview use cases at the same time on CameraX

Open
#414 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
5.5k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

I've already implemented the preview, video capture and image analysis use cases for cameraX and everything works fine, I can visualize the preview, record a video or do image analysis. The problem is when I try to combine all the use cases to work together I have the error `Id : 1. May be attempting to bind too many use cases`.
This probably because videoCapture is not already supported in cameraX.

Is there a way to make the 3 use cases work simultaneously?

Thanks in advance.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported CameraX setup with Preview, VideoCapture, and ImageAnalysis bound together, using the issue's existing implementations. Confirm whether the three use cases can run simultaneously and document the supported outcome or required project changes; no files or tests are named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.