@@ -273,7 +273,7 @@ |
||
273 | 273 | * |
274 | 274 | * @param \FaceLandmarkDetection $fld Landmark detection model |
275 | 275 | * @param \FaceRecognition $fr Face recognition model |
276 | - * @param ImageProcessingContext Image processing context |
|
276 | + * @param ImageProcessingContext ImageProcessingContext processing context |
|
277 | 277 | */ |
278 | 278 | private function populateDescriptors(\FaceLandmarkDetection $fld, \FaceRecognition $fr, ImageProcessingContext $imageProcessingContext) { |
279 | 279 | $faces = $imageProcessingContext->getFaces(); |
@@ -82,6 +82,9 @@ |
||
82 | 82 | return $this->getFaceThumb ($fileId, $face); |
83 | 83 | } |
84 | 84 | |
85 | + /** |
|
86 | + * @param \OCP\AppFramework\Db\Entity $face |
|
87 | + */ |
|
85 | 88 | private function getFaceThumb ($fileId, $face) { |
86 | 89 | $userFolder = $this->rootFolder->getUserFolder($this->userId); |
87 | 90 | $nodes = $userFolder->getById($fileId); |