detection-lib
Advanced tools
Comparing version
{ | ||
"name": "detection-lib", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"main": "src/DetectorFactory.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
import { Detector } from './types.js'; | ||
import { FaceDetection } from '@mediapipe/face_detection'; | ||
// import { FaceDetection } from '@mediapipe/face_detection'; | ||
export class FaceDetector extends Detector { | ||
@@ -10,3 +10,3 @@ constructor() { | ||
locateFile: (file) => | ||
`../mediapipe/face_detection/${file}`, | ||
'../mediapipe/face_detection/'+file, | ||
}); | ||
@@ -13,0 +13,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
14102564
03
-25%