🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

menoh-yolo

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

menoh-yolo

Object classification using Yolo powered by Menoh.

0.1.0
latest
Source
npm
Version published
Maintainers
1
Created
Source

menoh-yolo

npm version Build Status Coverage Status

Object classification using YOLO v2 powered by Menoh.

This module is made on top of npm module, menoh, which is a wrapper of Menoh (C/C++) core. The modules supports both command line interface and API.

Requirements

You must have the following libraries installed in advance.

  • MKL_DNN Library (0.14 or later)
  • Protocol Buffers (2.6.1 or later)
  • Menoh (core (1.1.1 or later)

See Building Menoh for more details.

Installation (command line use)

npm install -g menoh-yolo

Usage

$ menoh-yolo --help
Usage: menoh-yolo [options]

Options:
  -v, --version            Output the version number
  -i, --input <pathname>   Input file path.
  -o, --output <pathname>  Output file path.
  -s, --score <number>     Score threshold (0, 1.0] (defaults to 0.4)
  -x, --overlap <number>   Overlap threshold (0, 1.0] (defaults to 0.5)
  -b, --browse             Show output image with default viewer.
  -h, --help               Output usage information

Example

$ menoh-yolo -i ./dog.jpg -b

When you use the CLI for the first time, it automatically downloads ONNX file and a configuration file into $HOME/.menoh-yolo/.

By giving -b option, it will open up a viewer to show the output result like below:

Alt text

API

(TODO)

See ./bin/cli.js as an example.

Keywords

menoh

FAQs

Package last updated on 31 Oct 2018

Did you know?

Socket

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.

Install

Related posts