Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
Post marked as unsolved with 3 replies, 0 views
let handler = VNImageRequestHandler(ciImage: ciImage, orientation: .up)
let objOfAVVisionRectangleRequest = AVVisionRectangleRequest(avInputImage: ciImage, currentProcessCompletion: completion)
try handler.perform([self.objOfAVVisionRectangleRequest])
After perform request it will return error VNDetectorOption_OriginatingRequestSpecifier required option was not found" UserInfo={NSLocalizedDescription=The VNDetectorOption_OriginatingRequestSpecifier
Not getting let observations = request.results as? [VNRectangleObservation] result for rectangleObservation. Only in iOS15.