From 31f228704d37774d18a96b4f2cf010ea91a59823 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 6 Jul 2020 07:31:31 +0200 Subject: update to 1.0.1 drop patches merged upstream --- REFLECTION | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index 01fa628..35124a3 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,26 +1,24 @@ Extension [ extension #90 pdlib version 1.0.1 ] { - Functions { - Function [ function confirm_pdlib_compiled ] { - } Function [ function dlib_chinese_whispers ] { - Parameters [1] { - Parameter #0 [ $edges ] + Parameter #0 [ array $edges ] } } Function [ function dlib_face_detection ] { - Parameters [2] { - Parameter #0 [ $img_path ] - Parameter #1 [ $upsample_num ] + Parameter #0 [ string $img_path ] + Parameter #1 [ int $upsample_num ] } } Function [ function dlib_face_landmark_detection ] { - Parameters [2] { - Parameter #0 [ $shape_predictor_file_path ] - Parameter #1 [ $img_path ] + Parameter #0 [ string $shape_predictor_file_path ] + Parameter #1 [ string $img_path ] } } } @@ -44,15 +42,15 @@ Extension [ extension #90 pdlib version 1.0.1 ] { Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ $cnn_face_detection_model_path ] + Parameter #0 [ string $cnn_face_detection_model_path ] } } Method [ public method detect ] { - Parameters [2] { - Parameter #0 [ $img_path ] - Parameter #1 [ $upsample_num ] + Parameter #0 [ string $img_path ] + Parameter #1 [ int $upsample_num ] } } } @@ -76,15 +74,15 @@ Extension [ extension #90 pdlib version 1.0.1 ] { Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ $shape_predictor_file_path ] + Parameter #0 [ string $shape_predictor_file_path ] } } Method [ public method detect ] { - Parameters [2] { - Parameter #0 [ $img_path ] - Parameter #1 [ $bounding_box ] + Parameter #0 [ string $img_path ] + Parameter #1 [ array $bounding_box ] } } } @@ -108,16 +106,16 @@ Extension [ extension #90 pdlib version 1.0.1 ] { Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ $face_recognition_model_path ] + Parameter #0 [ string $face_recognition_model_path ] } } Method [ public method computeDescriptor ] { - Parameters [3] { - Parameter #0 [ $img_path ] - Parameter #1 [ $landmarks ] - Parameter #2 [ $num_jitters ] + Parameter #0 [ string $img_path ] + Parameter #1 [ array $landmarks ] + Parameter #2 [ int $num_jitters ] } } } -- cgit