face-api/src/tinyFaceDetector/const.ts

14 lines
354 B
TypeScript
Raw Normal View History

2020-12-19 17:46:41 +01:00
import { Point } from '../classes/index';
2020-08-18 13:54:53 +02:00
2020-12-23 17:26:55 +01:00
export const IOU_THRESHOLD = 0.4;
2020-08-18 13:54:53 +02:00
export const BOX_ANCHORS = [
new Point(1.603231, 2.094468),
new Point(6.041143, 7.080126),
new Point(2.882459, 3.518061),
new Point(4.266906, 5.178857),
2020-12-23 17:26:55 +01:00
new Point(9.041765, 10.66308),
];
2020-08-18 13:54:53 +02:00
2020-12-23 17:26:55 +01:00
export const MEAN_RGB: [number, number, number] = [117.001, 114.697, 97.404];