node-picojs
v0.0.4
Published
using picojs easily in node
Downloads
2
Readme
node-picojs
Make using picojs feel cool in Node env.
Install
npm install --save node-picojs
# or
yarn add node-picojs
Usage
const pico = require('node-picojs')
const qThreshold = 10.0; // default is 5.0
const IoU = 0.3; // default is 0.2
pico.face_detection('image_file.jpg', qThreshold, IoU),then(response => {
/**
* Ref to picojs doc:
* The array response contains quadruplets of the form(r, c, s, q), where r, c and s specify
* the position (row, column) and size of face region, and q represents the detection score.
* The higher the score of the region, the more likely it is a face.
*/
console.log('face detection results: ', response)
})
Feature
- Automatically calculate object sizes based on input image.
- Custom qThreshold and IoU parameters