This is a template of CameraX written by Java.
You can capture photo, save it and review with ImageAnalyze, feel free to use it. Icons used in this project are from Icon8 and Material Design Repo.
Reference:
-Freeze Preview : https://stackoverflow.com/questions/59661727/how-to-make-camerax-preview-freeze-when-take-a-photo
-Bitmap Rotation : https://stackoverflow.com/questions/56772967/converting-imageproxy-to-bitmap
And google official api.