Developing with the camera on Android can be difficult. When we need to develop a camera-based application, we need to do a lot of manual work, and we need to do handle a lot of complex things with the Camera API, like handling preview screens, image rotations, and much more
At Google IO 2019, Google added another powerful tool for camera development in Android called CameraX as part of Jetpack.