Skip to content

Commit f0ae9c7

Browse files
check in latest build
1 parent 1c56acb commit f0ae9c7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+939
-593
lines changed

build/allFacesFactory.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import { TinyYolov2Types } from 'tfjs-tiny-yolov2';
33
import { TinyYolov2 } from '.';
44
import { FullFaceDescription } from './classes/FullFaceDescription';
55
import { FaceDetectionNet } from './faceDetectionNet/FaceDetectionNet';
6-
import { FaceLandmarkNet } from './faceLandmarkNet/FaceLandmarkNet';
6+
import { FaceLandmark68Net } from './faceLandmarkNet/FaceLandmark68Net';
77
import { FaceRecognitionNet } from './faceRecognitionNet/FaceRecognitionNet';
88
import { Mtcnn } from './mtcnn/Mtcnn';
99
import { MtcnnForwardParams } from './mtcnn/types';
10-
export declare function allFacesSsdMobilenetv1Factory(ssdMobilenetv1: FaceDetectionNet, landmarkNet: FaceLandmarkNet, recognitionNet: FaceRecognitionNet): (input: TNetInput, minConfidence?: number, useBatchProcessing?: boolean) => Promise<FullFaceDescription[]>;
11-
export declare function allFacesTinyYolov2Factory(tinyYolov2: TinyYolov2, landmarkNet: FaceLandmarkNet, recognitionNet: FaceRecognitionNet): (input: TNetInput, forwardParams?: TinyYolov2Types.TinyYolov2ForwardParams, useBatchProcessing?: boolean) => Promise<FullFaceDescription[]>;
10+
export declare function allFacesSsdMobilenetv1Factory(ssdMobilenetv1: FaceDetectionNet, landmarkNet: FaceLandmark68Net, recognitionNet: FaceRecognitionNet): (input: TNetInput, minConfidence?: number, useBatchProcessing?: boolean) => Promise<FullFaceDescription[]>;
11+
export declare function allFacesTinyYolov2Factory(tinyYolov2: TinyYolov2, landmarkNet: FaceLandmark68Net, recognitionNet: FaceRecognitionNet): (input: TNetInput, forwardParams?: TinyYolov2Types.TinyYolov2ForwardParams, useBatchProcessing?: boolean) => Promise<FullFaceDescription[]>;
1212
export declare function allFacesMtcnnFactory(mtcnn: Mtcnn, recognitionNet: FaceRecognitionNet): (input: TNetInput, mtcnnForwardParams?: MtcnnForwardParams, useBatchProcessing?: boolean) => Promise<FullFaceDescription[]>;

build/allFacesFactory.js

Lines changed: 10 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/allFacesFactory.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/dom/extractFaceTensors.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import * as tf from '@tensorflow/tfjs-core';
2-
import { Rect, TNetInput } from 'tfjs-image-recognition-base';
2+
import { Rect } from 'tfjs-image-recognition-base';
33
import { FaceDetection } from '../classes/FaceDetection';
44
/**
55
* Extracts the tensors of the image regions containing the detected faces.
66
* Useful if you want to compute the face descriptors for the face images.
77
* Using this method is faster then extracting a canvas for each face and
88
* converting them to tensors individually.
99
*
10-
* @param input The image that face detection has been performed on.
10+
* @param imageTensor The image tensor that face detection has been performed on.
1111
* @param detections The face detection results or face bounding boxes for that image.
1212
* @returns Tensors of the corresponding image region for each detected face.
1313
*/
14-
export declare function extractFaceTensors(input: TNetInput, detections: Array<FaceDetection | Rect>): Promise<tf.Tensor4D[]>;
14+
export declare function extractFaceTensors(imageTensor: tf.Tensor3D | tf.Tensor4D, detections: Array<FaceDetection | Rect>): Promise<tf.Tensor3D[]>;

build/dom/extractFaceTensors.js

Lines changed: 16 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/dom/extractFaceTensors.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)