mrousavy / react-native-vision-camera

📸 A powerful, high-performance React Native Camera library.
https://react-native-vision-camera.com
MIT License
7.26k stars 1.06k forks source link

💭 Capturing photo of Drawable Frames of SkiaFrameProcessor #3097

Closed clouddaa closed 1 month ago

clouddaa commented 1 month ago

Question

I have gone through the documentation that states Skia Frame Processors are currently preview-only. Any content drawn to the Frame will not be visible in captured photos, snapshots or videos.

I don't want drawn content to be captured in my photos, I just want to capture photos without the drawn components. However, when I try to create a Camera component that can take photos on drawable frames an error appears as follows.

Camera.onError(session/invalid-output-configuration): Failed to configure the Camera Session because the output/stream configurations are invalid! [session/invalid-output-configuration: Failed to configure the Camera Session because the output/stream configurations are invalid!]

Am I missing something? Is it not possible at all to capture photos when Drawable frames are being rendered?

What I tried

No response

VisionCamera Version

"react-native-vision-camera": "^4.0.3"

Additional information

maintenance-hans[bot] commented 1 month ago

Guten Tag, Hans here.

[!NOTE] New features, bugfixes, updates and other improvements are all handled mostly by @mrousavy in his free time. To support @mrousavy, please consider 💖 sponsoring him on GitHub 💖. Sponsored issues will be prioritized.

mrousavy commented 1 month ago

This is possible, but it seems like something went wrong when trying to create the session. Please create a bug report with native logs.