Nonprofit Pizza Maker

    visual-recognition

    0.1.0 • Public • Published

    Visual Recognition

    This libray requires ffmpeg and tesseract as dependencies, please install them first.

    Installation

    npm install -g visual-recognition
    

    Usage

    Command line

    # read from a file
    visual-recognition -p {example.mp4}
    
    # set the interval
    visual-recognition -p {example.mp4} --interval 300

    Node.js

    const path = require('path');
    const visualRecognition = require('../index');
    
    var params = {
      interval: 300,
      path: path.resolve(__dirname, 'example.mp4')
    };
    
    visualRecognition(params)
      .then(data => {
        process.stdout.write(
          JSON.stringify(data),
        );
      });

    Keywords

    none

    Install

    npm i visual-recognition

    DownloadsWeekly Downloads

    1

    Version

    0.1.0

    License

    ISC

    Unpacked Size

    8.23 kB

    Total Files

    6

    Last publish

    Collaborators

    • meikidd
    • prasetyaa