0.0.4 • Published 5 years ago

node-picojs v0.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

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
0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago