2020-09-09 15:50:10 +02:00
|
|
|
// const os = require('os');
|
|
|
|
// const process = require('process');
|
|
|
|
|
2020-10-09 03:31:31 +02:00
|
|
|
import * as tf from '@tensorflow/tfjs';
|
2020-08-18 13:54:53 +02:00
|
|
|
import * as draw from './draw';
|
|
|
|
import * as utils from './utils';
|
2020-09-08 18:26:51 +02:00
|
|
|
export { draw, utils, tf };
|
|
|
|
|
2020-08-18 13:54:53 +02:00
|
|
|
export * from './ageGenderNet/index';
|
|
|
|
export * from './classes/index';
|
|
|
|
export * from './dom/index'
|
|
|
|
export * from './env/index';
|
|
|
|
export * from './faceExpressionNet/index';
|
|
|
|
export * from './faceLandmarkNet/index';
|
|
|
|
export * from './faceRecognitionNet/index';
|
|
|
|
export * from './factories/index';
|
|
|
|
export * from './globalApi/index';
|
|
|
|
export * from './ops/index';
|
2020-08-26 00:24:48 +02:00
|
|
|
export * from './ssdMobilenetv1/index';
|
2020-08-18 13:54:53 +02:00
|
|
|
export * from './tinyFaceDetector/index';
|
|
|
|
export * from './tinyYolov2/index';
|
|
|
|
export * from './euclideanDistance';
|
|
|
|
export * from './NeuralNetwork';
|
2020-08-29 20:56:29 +02:00
|
|
|
export * from './resizeResults';
|
2020-09-08 18:26:51 +02:00
|
|
|
|
|
|
|
import * as pkg from '../package.json';
|
2020-09-09 15:50:10 +02:00
|
|
|
const node = typeof process !== 'undefined' ? process.version : false
|
|
|
|
const browser = typeof navigator !== 'undefined' ? navigator.userAgent : false
|
2020-10-09 03:31:31 +02:00
|
|
|
export const version = { faceapi: pkg.version, node, browser };
|