Hi -
CameraX doesn't have built-in support for panoramas, but you can certainly build a panorama capture feature on top of CameraX.
That said, it would be quite a bit of work and requires understanding of computer vision (or finding a lot of libraries to help).
There are various ways panorama features work, but roughly speaking, you would need to use the ImageAnalysis use case to detect as the camera moves and when a new frame of the panorama needs to be captured. You also need to create a preview composite to show a in-progress panorama. And then either use the ImageCapture use case to capture that new frame in high resolution or just use a frame from ImageAnalysis which might be a bit more fluid. Once the user completes the capture, and for the in-progress preview, you need to align and merge all the individual frames. That requires a lot of standard computer vision analysis and computer graphics knowledge.
- Eddy