How to Display Camera Preview in .NET MAUI?

Viewed 299

Currently, what I did is to access the camera and use it to take a picture, but this isn't exactly what I want to accomplish.

I want to activate and display front camera preview on my content page, and then take a picture by pressing a button control.

I've searched around and I can't seem to find any solution. In Xamarin, there's CameraView from Xamarin Community Toolkit that can be used for camera stream, but from the looks of it, CameraView hasn't been implemented in .NET MAUI Community Toolkit. Is there any other way to do this? Thank you.

0 Answers
Related