Skip to content

Should this work on CommunityToolkit.CameraView? It produces a black image. #8

@stefnmUBB

Description

@stefnmUBB

I found your project while struggling to automatically feed camera input to some sort of image processor at regular time intervals. As I had terrible issues with CameraView.Shutter() becoming prone to crashing in combination with threads, I started to explore a way to take a screenshot of the camera preview directly from the screen instead of requesting it from the camera.

So here I have a working CameraView control that streams images to a page. However, CameraView.CaptureImageAsync() returns a completely transparent image (black when seen as JPEG), while other calls like Button.CaptureImageAsync() render the control indeed.

Is this how it should be? Are there any possible workarounds?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions