camera-samples icon indicating copy to clipboard operation
camera-samples copied to clipboard

Custom Transform using CameraX

Open carl0529 opened this issue 1 year ago • 0 comments

I need to transform the camera view to match the view of other camera. It is not a problem to do so by setting matrix transform on textureview using Camera 1 library. However, it seems any matrix transform does not work other than scale on PreviewView using Camera X library. How can I set custom transform on the camera view with CameraX? Or at least can I set the starting top-left corner of the CameraX preview?

Screenshot 2024-08-28 181040

carl0529 avatar Aug 28 '24 10:08 carl0529