Commit 3e1ad1e0 by vincent

export interfaces properly

parent 03bb2198
export * from './FaceDetection';
export * from './FaceDetectionWithLandmarks';
export * from './FaceLandmarks';
export * from './FaceLandmarks5';
export * from './FaceLandmarks68';
......
......@@ -8,8 +8,9 @@ import { mobileNetV1 } from './mobileNetV1';
import { nonMaxSuppression } from './nonMaxSuppression';
import { outputLayer } from './outputLayer';
import { predictionLayer } from './predictionLayer';
import { NetParams, ISsdMobilenetv1Options } from './types';
import { SsdMobilenetv1Options } from './SsdMobilenetv1Options';
import { ISsdMobilenetv1Options, SsdMobilenetv1Options } from './SsdMobilenetv1Options';
import { NetParams } from './types';
export class SsdMobilenetv1 extends NeuralNetwork<NetParams> {
......
import { ISsdMobilenetv1Options } from './types';
export interface ISsdMobilenetv1Options {
minConfidence?: number
maxResults?: number
}
export class SsdMobilenetv1Options {
protected _name: string = 'SsdMobilenetv1Options'
......
......@@ -70,9 +70,4 @@ export type NetParams = {
mobilenetv1: MobileNetV1.Params,
prediction_layer: PredictionLayerParams,
output_layer: OutputLayerParams
}
export interface ISsdMobilenetv1Options {
minConfidence?: number
maxResults?: number
}
\ No newline at end of file
import { TinyYolov2Options } from 'tfjs-tiny-yolov2';
import { ITinyYolov2Options, TinyYolov2Options } from 'tfjs-tiny-yolov2';
export interface ITinyFaceDetectorOptions extends ITinyYolov2Options {}
export class TinyFaceDetectorOptions extends TinyYolov2Options {
protected _name: string = 'TinyFaceDetectorOptions'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment