blob: 1b1cac19887875e480c6c8685870a65ebb243ec5 (
plain)
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
|
Extension [ <persistent> extension #90 pdlib version 1.0.2 ] {
- Functions {
Function [ <internal:pdlib> function dlib_chinese_whispers ] {
- Parameters [1] {
Parameter #0 [ <required> array $edges ]
}
}
Function [ <internal:pdlib> function dlib_face_detection ] {
- Parameters [2] {
Parameter #0 [ <required> string $img_path ]
Parameter #1 [ <optional> int $upsample_num = 0 ]
}
}
Function [ <internal:pdlib> function dlib_face_landmark_detection ] {
- Parameters [2] {
Parameter #0 [ <required> string $shape_predictor_file_path ]
Parameter #1 [ <required> string $img_path ]
}
}
Function [ <internal:pdlib> function dlib_vector_length ] {
- Parameters [2] {
Parameter #0 [ <required> array $x_arg ]
Parameter #1 [ <required> array $y_arg ]
}
}
}
- Classes [3] {
Class [ <internal:pdlib> class CnnFaceDetection ] {
- Constants [0] {
}
- Static properties [0] {
}
- Static methods [0] {
}
- Properties [0] {
}
- Methods [2] {
Method [ <internal:pdlib, ctor> public method __construct ] {
- Parameters [1] {
Parameter #0 [ <required> string $cnn_face_detection_model_path ]
}
}
Method [ <internal:pdlib> public method detect ] {
- Parameters [2] {
Parameter #0 [ <required> string $img_path ]
Parameter #1 [ <optional> int $upsample_num = 0 ]
}
}
}
}
Class [ <internal:pdlib> class FaceLandmarkDetection ] {
- Constants [0] {
}
- Static properties [0] {
}
- Static methods [0] {
}
- Properties [0] {
}
- Methods [2] {
Method [ <internal:pdlib, ctor> public method __construct ] {
- Parameters [1] {
Parameter #0 [ <required> string $shape_predictor_file_path ]
}
}
Method [ <internal:pdlib> public method detect ] {
- Parameters [2] {
Parameter #0 [ <required> string $img_path ]
Parameter #1 [ <required> array $bounding_box ]
}
}
}
}
Class [ <internal:pdlib> class FaceRecognition ] {
- Constants [0] {
}
- Static properties [0] {
}
- Static methods [0] {
}
- Properties [0] {
}
- Methods [2] {
Method [ <internal:pdlib, ctor> public method __construct ] {
- Parameters [1] {
Parameter #0 [ <required> string $face_recognition_model_path ]
}
}
Method [ <internal:pdlib> public method computeDescriptor ] {
- Parameters [3] {
Parameter #0 [ <required> string $img_path ]
Parameter #1 [ <required> array $landmarks ]
Parameter #2 [ <optional> int $num_jitters = 1 ]
}
}
}
}
}
}
|