Open Camera Slowly on Android. #3700
Labels
legacy:face detection
Issues related to Face Detection
platform:android
Issues with Android as Platform
type:others
issues not falling in bug, perfromance, support, build and install or feature
Symptoms
Camera opens slowly in android studio project. Please see attached image below
Environment
Time measurement
The screen is black for about 2 seconds before showing camera frames.
This is logcat of measurement while running application
2022-09-16 10:29:40.555 19250-19250/com.thinhnguyen.xface D/ObjectRecordsViewModel: setupStreamingPipeline takse: 1791671822 ns
The function setupStreamingPipeline in code snip below.
Code snip
Full class: https://pastebin.com/pE1QdjbR
Some of code related to setup stream pipeline:
Is it possible to make it faster? Please correct me if any wrong usage?
The text was updated successfully, but these errors were encountered: