You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP →

detection-lib

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detection-lib - npm Package Compare versions

Comparing version

to
1.0.14

{
"name": "detection-lib",
"version": "1.0.13",
"version": "1.0.14",
"main": "src/DetectorFactory.js",

@@ -5,0 +5,0 @@

@@ -43,3 +43,3 @@ import { Detector } from './types.js';

try {
console.log("FaceDetector: Starting asynchronous initialization with static image...");
// console.log("FaceDetector: Starting asynchronous initialization with static image...");

@@ -57,5 +57,5 @@

console.log("FaceDetector: Sending static warm-up image...");
// console.log("FaceDetector: Sending static warm-up image...");
await this.faceDetector.send({ image: img });
console.log("FaceDetector: Warm-up complete. Model is now ready.");
// console.log("FaceDetector: Warm-up complete. Model is now ready.");
this.modelReady = true;

@@ -62,0 +62,0 @@ } catch (error) {