diff options
| author | Remi Collet <remi@remirepo.net> | 2020-07-06 07:31:31 +0200 | 
|---|---|---|
| committer | Remi Collet <remi@remirepo.net> | 2020-07-06 07:31:31 +0200 | 
| commit | 31f228704d37774d18a96b4f2cf010ea91a59823 (patch) | |
| tree | 7c8ea244c633d22a8bc3b03353d3ef53629f355b /REFLECTION | |
| parent | 05698f70edcd3106021425ac36023964e527e72e (diff) | |
update to 1.0.1
drop patches merged upstream
Diffstat (limited to 'REFLECTION')
| -rw-r--r-- | REFLECTION | 32 | 
1 files changed, 15 insertions, 17 deletions
@@ -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 ]            }          }        }  | 
