Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Transform using CameraX #591

Open
carl0529 opened this issue Aug 28, 2024 · 0 comments
Open

Custom Transform using CameraX #591

carl0529 opened this issue Aug 28, 2024 · 0 comments

Comments

@carl0529
Copy link

carl0529 commented Aug 28, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant