summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION32
1 files changed, 15 insertions, 17 deletions
diff --git a/REFLECTION b/REFLECTION
index 01fa628..35124a3 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,26 +1,24 @@
Extension [ <persistent> extension #90 pdlib version 1.0.1 ] {
- Functions {
- Function [ <internal:pdlib> function confirm_pdlib_compiled ] {
- }
Function [ <internal:pdlib> function dlib_chinese_whispers ] {
- Parameters [1] {
- Parameter #0 [ <required> $edges ]
+ Parameter #0 [ <required> array $edges ]
}
}
Function [ <internal:pdlib> function dlib_face_detection ] {
- Parameters [2] {
- Parameter #0 [ <required> $img_path ]
- Parameter #1 [ <optional> $upsample_num ]
+ Parameter #0 [ <required> string $img_path ]
+ Parameter #1 [ <optional> int $upsample_num ]
}
}
Function [ <internal:pdlib> function dlib_face_landmark_detection ] {
- Parameters [2] {
- Parameter #0 [ <required> $shape_predictor_file_path ]
- Parameter #1 [ <optional> $img_path ]
+ Parameter #0 [ <required> string $shape_predictor_file_path ]
+ Parameter #1 [ <required> string $img_path ]
}
}
}
@@ -44,15 +42,15 @@ Extension [ <persistent> extension #90 pdlib version 1.0.1 ] {
Method [ <internal:pdlib, ctor> public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <required> $cnn_face_detection_model_path ]
+ Parameter #0 [ <required> string $cnn_face_detection_model_path ]
}
}
Method [ <internal:pdlib> public method detect ] {
- Parameters [2] {
- Parameter #0 [ <required> $img_path ]
- Parameter #1 [ <required> $upsample_num ]
+ Parameter #0 [ <required> string $img_path ]
+ Parameter #1 [ <optional> int $upsample_num ]
}
}
}
@@ -76,15 +74,15 @@ Extension [ <persistent> extension #90 pdlib version 1.0.1 ] {
Method [ <internal:pdlib, ctor> public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <required> $shape_predictor_file_path ]
+ Parameter #0 [ <required> string $shape_predictor_file_path ]
}
}
Method [ <internal:pdlib> public method detect ] {
- Parameters [2] {
- Parameter #0 [ <required> $img_path ]
- Parameter #1 [ <required> $bounding_box ]
+ Parameter #0 [ <required> string $img_path ]
+ Parameter #1 [ <required> array $bounding_box ]
}
}
}
@@ -108,16 +106,16 @@ Extension [ <persistent> extension #90 pdlib version 1.0.1 ] {
Method [ <internal:pdlib, ctor> public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <required> $face_recognition_model_path ]
+ Parameter #0 [ <required> string $face_recognition_model_path ]
}
}
Method [ <internal:pdlib> public method computeDescriptor ] {
- Parameters [3] {
- Parameter #0 [ <required> $img_path ]
- Parameter #1 [ <required> $landmarks ]
- Parameter #2 [ <required> $num_jitters ]
+ Parameter #0 [ <required> string $img_path ]
+ Parameter #1 [ <required> array $landmarks ]
+ Parameter #2 [ <optional> int $num_jitters ]
}
}
}