Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
unique-faces
Advanced tools
`unique-faces` is a node module that assists in detecting unknown sets of faces across multiple photos.
unique-faces
is a node module that assists in detecting unknown sets of faces across multiple photos.
import UniqueFaces from "unique-faces";
// all state is stored inside a unique faces instance
const uniqueFaces = new UniqueFaces();
init
Init function will load in all the required tensorflow libraries and also prepare the GPU for processing
/**
* Note: This returns a promise, you can either
* initialize it manually (prewarm it) or you can skip
* this step and it will be called on before the first image
* is processed
*/
await uniqueFaces.init();
findAllUniqueFaces
Method which takes an image path and finds all the unique faces inside the photo. If this is a sequential call of this function, it could match on an existing photo.
const images [
"./IMG_101.jpg",
"./IMG_200.jpg"
];
for (let imgPath of images) {
await faceDetection.findAllUniqueFaces(imgPath);
}
export
Take the training data generated and export it to JSON
await faceDetection.export();
FAQs
`unique-faces` is a node module that assists in detecting unknown sets of faces across multiple photos.
The npm package unique-faces receives a total of 1 weekly downloads. As such, unique-faces popularity was classified as not popular.
We found that unique-faces demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.