File tree Expand file tree Collapse file tree 5 files changed +11
-9
lines changed Expand file tree Collapse file tree 5 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 1
1
export * from './FaceDetection' ;
2
+ export * from './FaceDetectionWithLandmarks' ;
2
3
export * from './FaceLandmarks' ;
3
4
export * from './FaceLandmarks5' ;
4
5
export * from './FaceLandmarks68' ;
Original file line number Diff line number Diff line change @@ -8,8 +8,9 @@ import { mobileNetV1 } from './mobileNetV1';
8
8
import { nonMaxSuppression } from './nonMaxSuppression' ;
9
9
import { outputLayer } from './outputLayer' ;
10
10
import { predictionLayer } from './predictionLayer' ;
11
- import { NetParams , ISsdMobilenetv1Options } from './types' ;
12
- import { SsdMobilenetv1Options } from './SsdMobilenetv1Options' ;
11
+ import { ISsdMobilenetv1Options , SsdMobilenetv1Options } from './SsdMobilenetv1Options' ;
12
+ import { NetParams } from './types' ;
13
+
13
14
14
15
export class SsdMobilenetv1 extends NeuralNetwork < NetParams > {
15
16
Original file line number Diff line number Diff line change 1
- import { ISsdMobilenetv1Options } from './types' ;
1
+ export interface ISsdMobilenetv1Options {
2
+ minConfidence ?: number
3
+ maxResults ?: number
4
+ }
2
5
3
6
export class SsdMobilenetv1Options {
4
7
protected _name : string = 'SsdMobilenetv1Options'
Original file line number Diff line number Diff line change @@ -70,9 +70,4 @@ export type NetParams = {
70
70
mobilenetv1 : MobileNetV1 . Params ,
71
71
prediction_layer : PredictionLayerParams ,
72
72
output_layer : OutputLayerParams
73
- }
74
-
75
- export interface ISsdMobilenetv1Options {
76
- minConfidence ?: number
77
- maxResults ?: number
78
73
}
Original file line number Diff line number Diff line change 1
- import { TinyYolov2Options } from 'tfjs-tiny-yolov2' ;
1
+ import { ITinyYolov2Options , TinyYolov2Options } from 'tfjs-tiny-yolov2' ;
2
+
3
+ export interface ITinyFaceDetectorOptions extends ITinyYolov2Options { }
2
4
3
5
export class TinyFaceDetectorOptions extends TinyYolov2Options {
4
6
protected _name : string = 'TinyFaceDetectorOptions'
You can’t perform that action at this time.
0 commit comments