Post

Replies

Boosts

Views

Activity

Reply to Crash inside of Vision framework during VNImageRequestHandler use
@BlazejStanek we found a workaround that may be useful to you as well. In our research on this problem, we discovered that this crash only seems to happen when you call .perform with more than one request. This was the case in our code base (and in Apple's sample app too). If you discover this is true for you, you can use our workaround. What we did was unroll the perform calls, so instead of calling perform with our full array of requests, we iterate over the array of requests, and do a separate call to .perform on each one individually. We then accumulate the results of those calls and proceed from there. Hopefully this helps. If not, good luck in your search.
Topic: Machine Learning & AI SubTopic: General Tags:
Jan ’25