I have installed Xcode beta 5. Now I have a warning related to Vision framework and VNFaceLandmarkRegion2D
object especially:
'point(at:)' was deprecated in iOS 11.0
Regarding to documentation point(at:)
and points
were introduced and deprecated in iOS 11. Anyway, now I can get a face landmark points?
In last Xcode updates VNFaceLandmarkRegion2D
was changed. And now it is no needed to convert x and y into CGPoint
object. VNFaceLandmarkRegion2D
has normalizedPoints
, an array of CGPoint
s.