node-picojs

0.0.4 • Public • Published

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

/node-picojs/

    Package Sidebar

    Install

    npm i node-picojs

    Weekly Downloads

    17

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    279 kB

    Total Files

    7

    Last publish

    Collaborators

    • yrq110