cmusatyalab / gabriel

Wearable cognitive assistance using cloudlets
Apache License 2.0
65 stars 41 forks source link

Camera Configuration Change is Slow #14

Closed junjuew closed 4 years ago

junjuew commented 6 years ago

Current implementation close and reopens the camera to change the configuration. This is done to make sure devices that do not support configuration change on the fly (e.g. ODG R7) is still able to change the configuration.

However, closing and reopening camera is slow (~second). For devices that support on-th-fly configuration change (e.g. nexus 6), it's better not to close and reopen the camera.

akindofyoga commented 4 years ago

Newer Gabriel clients (example) will use Android's modern Camera packages (either Camera2 or CameraX).