Questions tagged [ios-vision]
13 questions
22
votes
3 answers
CoreML Memory Leak in iOS 14.5
In my application, I used VNImageRequestHandler with a custom MLModel for object detection.
The app works fine with iOS versions before 14.5.
When iOS 14.5 came, it broke everything.
Whenever try handler.perform([visionRequest]) throws an error…

Tuan Do
- 283
- 1
- 9
10
votes
3 answers
ios Vision VNImageRequestHandler orientation issue
I am trying to detect faces via camera using VNImageRequestHandler (iOS Vision).
When I point on the photo by the camera in landscape mode it detects faces but with opposite orientation mode.
let detectFaceRequestHandler =…

Svitlana
- 2,938
- 1
- 29
- 38
7
votes
1 answer
Using DJI video feed with Vision Framework
I'm working on an app that uses the video feed from the DJI Mavic 2 and runs it through a machine learning model to identify objects.
I managed to get my app to preview the feed from the drone using this sample DJI project, but I'm having a lot of…

Spencer
- 373
- 5
- 20
4
votes
1 answer
iOS Vision: VNRecognizedText boundingBox(for:) method returning identical bounding box for any range
I'm using the iOS Vision framework to perform OCR via a VNRecognizeTextRequest call, and I'm trying to locate each individual character in the resulting VNRecognizedText observations. However, when I call the boundingBox(for range:…

G.S.
- 623
- 6
- 22
4
votes
1 answer
VNRecognizeTextRequest unable to recognise text scanned in landscape mode
I'm using VNDocumentCameraViewController to scan document and VNRecognizeTextRequest to detect the text. It works only if the document is scanned in portrait mode. It landscape mode it fails. I could pass the orientation in VNImageRequestHandler but…

Ranadhir
- 107
- 1
- 9
2
votes
0 answers
VNDetectFaceLandmarksRequest not working on m1 macs with iOS 14 simulator? (Unspecified error)
Why are new simulators on M1 (iPhone 12, iOS 14.3) providing unspecified error when I use the vision framework. I guess the iOS 14 simulators don't have access to a working vision framework? It can't be the code, since it does give me results on…

Ben Butterworth
- 22,056
- 10
- 114
- 167
1
vote
0 answers
VNRecognizeTextRequest stopped recognising text in iOS 15
I'm using VNRecognizeTextRequest via VNImageRequestHandler with following settings:
request.recognitionLevel = .accurate
request.usesLanguageCorrection = false
request.recognitionLanguages = ["en-US", "de-DE"]
I'm using real time capturing from…

Ivan Androsenko
- 608
- 6
- 15
1
vote
1 answer
Error and freezes in iOS Vision API "computeBlinkFunction" during feature detection
I use iOS Vision API to perform feature detection in realtime on ARFrame buffers passed from the camera on iPhone X. It usually works quite well, but on both iOS 11 and iOS 12, I've been seeing occasional errors in the console that I haven't been…

Michael
- 291
- 2
- 6
1
vote
1 answer
CAShapeLayer flipped coordinate while using with iOS11 vision
I'm playing with iOS 11vision framework to detect facial features like nose, eyes, lips etc.
Vision frame work gives very accurate normalize points for all facial features. Now I'm trying to draw a red line over right eye with help of bezier path…

Jay Savsani
- 299
- 1
- 3
- 16
0
votes
0 answers
iOS Object Based Saliency Image Request Not Cropping Correctly
I'm attempting to crop an UIImage in iOS using Saliency via the VNGenerateObjectnessBasedSaliencyImageRequest().
I'm following the documentation provided by Apple here…

James Parker
- 2,095
- 3
- 27
- 48
0
votes
0 answers
live vision framework rectangle detection flicker
I am using the vision framework to detect rectangles off a live feed then drawing a border and coloring the inside of the rectangle. In doing so the rectangle I draw comes and goes with every new detection causing a jarring flicker. How can I…

barryalan2633
- 610
- 7
- 21
0
votes
1 answer
iOS Vision panorama stitching
How to use vision framework to stitching panorama picture?
vision's VNTranslationalImageRegistrationRequest can stitch two images.I try , it works.
Now I want to stitch two fishPhotos. Like this
VNHomographicImageRegistrationRequest or…

ChokWah
- 105
- 8
0
votes
1 answer
How to detect and track the foot using ARKIt and vision framework?
I wants to virtually add foot ball and detect and tracking the foot so that we can simulate the kick to the ball.
Can any one please suggest the way achieve it in iOS?

idev
- 311
- 3
- 10