Closed marcosrjjunior closed 4 months 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.
bump
@arjunmenon1302 why are you bumping an issue on the same exact day it was created at?
@marcosrjjunior sorry I cannot help you. I cannot reproduce the issue with the sample code you provided (tested on iPhone 15 Pro and iPhone 8), and if you didn't try to reproduce it in the example app then we don't know where it is coming from. Maybe you are using a Frame Processor Plugin that does something weird.
bump
😂
@marcosrjjunior AVFoundationErrorDomain code -11819 means that the daemon has crashed, I think you need to file this bug using Apple's Feedback Assistant.
I don't think this is related to VisionCamera at all, but it doesn't hurt to also tell them that you use VisionCamera (provide a link to the github repo)
@mrousavy just an update on this issue.
we were able to workaround that by using react-native-camera, with the option autoFocus="off"
.
The issue was solved just by disabling that autoFocus prop.
To improve the experience a lit bit, we are using the autoFocusPointOfInterest
with a "slider" to adjust the focus.
I couldn't find a way to force to disable the auto focus on the current vision camera. Thoughts?
-- UPDATE:
self.captureDevice.automaticallyAdjustsFaceDrivenAutoFocusEnabled = NO;
self.captureDevice.faceDrivenAutoFocusEnabled = NO;
is there a way to override somewhere in the camera session without a manual patch?
What's happening?
The camera is freezing when pointing to a face. Please check videos below.
30 fps 60 fps
Found these issues pointing to the same error: https://github.com/mrousavy/react-native-vision-camera/issues/2313, https://github.com/mrousavy/react-native-vision-camera/pull/2329. Not sure if is direct related because I'm not even using any zoom option.
Seems like the camera is trying to perform some face identification when focus is on a face. I'm guessing it is related to the iOS version.
**
Reproduceable Code
Relevant log output
Camera Device
Device
iPad iOS 17.5.1 9th gen. Couldn't reproduce on 8th gen or iPhone 13 Pro. Maybe something related to the hardware performance.
VisionCamera Version
first identified on "2.16.7", also happening on 4.3.2 after update
Can you reproduce this issue in the VisionCamera Example app?
I didn't try but followed examples and even tried disabling some props.
Additional information