forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathface_landmarks2_d.gen.go
171 lines (146 loc) · 6.01 KB
/
face_landmarks2_d.gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
// Code generated by DarwinKit. DO NOT EDIT.
package vision
import (
"unsafe"
"github.com/progrium/macdriver/objc"
)
// The class instance for the [FaceLandmarks2D] class.
var FaceLandmarks2DClass = _FaceLandmarks2DClass{objc.GetClass("VNFaceLandmarks2D")}
type _FaceLandmarks2DClass struct {
objc.Class
}
// An interface definition for the [FaceLandmarks2D] class.
type IFaceLandmarks2D interface {
IFaceLandmarks
AllPoints() FaceLandmarkRegion2D
Nose() FaceLandmarkRegion2D
RightEye() FaceLandmarkRegion2D
RightEyebrow() FaceLandmarkRegion2D
NoseCrest() FaceLandmarkRegion2D
RightPupil() FaceLandmarkRegion2D
OuterLips() FaceLandmarkRegion2D
LeftPupil() FaceLandmarkRegion2D
LeftEyebrow() FaceLandmarkRegion2D
FaceContour() FaceLandmarkRegion2D
InnerLips() FaceLandmarkRegion2D
MedianLine() FaceLandmarkRegion2D
LeftEye() FaceLandmarkRegion2D
}
// A collection of facial features that a request detects. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/vision/vnfacelandmarks2d?language=objc
type FaceLandmarks2D struct {
FaceLandmarks
}
func FaceLandmarks2DFrom(ptr unsafe.Pointer) FaceLandmarks2D {
return FaceLandmarks2D{
FaceLandmarks: FaceLandmarksFrom(ptr),
}
}
func (fc _FaceLandmarks2DClass) Alloc() FaceLandmarks2D {
rv := objc.Call[FaceLandmarks2D](fc, objc.Sel("alloc"))
return rv
}
func (fc _FaceLandmarks2DClass) New() FaceLandmarks2D {
rv := objc.Call[FaceLandmarks2D](fc, objc.Sel("new"))
rv.Autorelease()
return rv
}
func NewFaceLandmarks2D() FaceLandmarks2D {
return FaceLandmarks2DClass.New()
}
func (f_ FaceLandmarks2D) Init() FaceLandmarks2D {
rv := objc.Call[FaceLandmarks2D](f_, objc.Sel("init"))
return rv
}
// The region containing all face landmark points. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/vision/vnfacelandmarks2d/2879430-allpoints?language=objc
func (f_ FaceLandmarks2D) AllPoints() FaceLandmarkRegion2D {
rv := objc.Call[FaceLandmarkRegion2D](f_, objc.Sel("allPoints"))
return rv
}
// The region containing points that outline the nose. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/vision/vnfacelandmarks2d/2879443-nose?language=objc
func (f_ FaceLandmarks2D) Nose() FaceLandmarkRegion2D {
rv := objc.Call[FaceLandmarkRegion2D](f_, objc.Sel("nose"))
return rv
}
// The region containing points that outline the right eye. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/vision/vnfacelandmarks2d/2879442-righteye?language=objc
func (f_ FaceLandmarks2D) RightEye() FaceLandmarkRegion2D {
rv := objc.Call[FaceLandmarkRegion2D](f_, objc.Sel("rightEye"))
return rv
}
// The region containing points that trace the right eyebrow. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/vision/vnfacelandmarks2d/2879432-righteyebrow?language=objc
func (f_ FaceLandmarks2D) RightEyebrow() FaceLandmarkRegion2D {
rv := objc.Call[FaceLandmarkRegion2D](f_, objc.Sel("rightEyebrow"))
return rv
}
// The region containing points that trace the center crest of the nose. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/vision/vnfacelandmarks2d/2879431-nosecrest?language=objc
func (f_ FaceLandmarks2D) NoseCrest() FaceLandmarkRegion2D {
rv := objc.Call[FaceLandmarkRegion2D](f_, objc.Sel("noseCrest"))
return rv
}
// The region containing the point where the right pupil is located. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/vision/vnfacelandmarks2d/2879441-rightpupil?language=objc
func (f_ FaceLandmarks2D) RightPupil() FaceLandmarkRegion2D {
rv := objc.Call[FaceLandmarkRegion2D](f_, objc.Sel("rightPupil"))
return rv
}
// The region containing points that outline the outside of the lips. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/vision/vnfacelandmarks2d/2879440-outerlips?language=objc
func (f_ FaceLandmarks2D) OuterLips() FaceLandmarkRegion2D {
rv := objc.Call[FaceLandmarkRegion2D](f_, objc.Sel("outerLips"))
return rv
}
// The region containing the point where the left pupil is located. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/vision/vnfacelandmarks2d/2879436-leftpupil?language=objc
func (f_ FaceLandmarks2D) LeftPupil() FaceLandmarkRegion2D {
rv := objc.Call[FaceLandmarkRegion2D](f_, objc.Sel("leftPupil"))
return rv
}
// The region containing points that trace the left eyebrow. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/vision/vnfacelandmarks2d/2879438-lefteyebrow?language=objc
func (f_ FaceLandmarks2D) LeftEyebrow() FaceLandmarkRegion2D {
rv := objc.Call[FaceLandmarkRegion2D](f_, objc.Sel("leftEyebrow"))
return rv
}
// The region containing points that trace the face contour from the left cheek, over the chin, to the right cheek. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/vision/vnfacelandmarks2d/2879437-facecontour?language=objc
func (f_ FaceLandmarks2D) FaceContour() FaceLandmarkRegion2D {
rv := objc.Call[FaceLandmarkRegion2D](f_, objc.Sel("faceContour"))
return rv
}
// The region containing points that outline the space between the lips. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/vision/vnfacelandmarks2d/2879434-innerlips?language=objc
func (f_ FaceLandmarks2D) InnerLips() FaceLandmarkRegion2D {
rv := objc.Call[FaceLandmarkRegion2D](f_, objc.Sel("innerLips"))
return rv
}
// The region containing points that trace a vertical line down the center of the face. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/vision/vnfacelandmarks2d/2879427-medianline?language=objc
func (f_ FaceLandmarks2D) MedianLine() FaceLandmarkRegion2D {
rv := objc.Call[FaceLandmarkRegion2D](f_, objc.Sel("medianLine"))
return rv
}
// The region containing points that outline the left eye. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/vision/vnfacelandmarks2d/2879426-lefteye?language=objc
func (f_ FaceLandmarks2D) LeftEye() FaceLandmarkRegion2D {
rv := objc.Call[FaceLandmarkRegion2D](f_, objc.Sel("leftEye"))
return rv
}