Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

max-viz-utils

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

max-viz-utils

Visualization utilities for deep learning models.

  • 0.0.34
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-83.33%
Maintainers
1
Weekly downloads
 
Created
Source

max-viz-utils

This package will allow you to quickly and easily create annotated images from predictions generated by the deep learning models of the Model Asset eXchange (MAX) in your JavaScript applications.

Currently the list of supported models includes:

  • MAX Image Segmenter
  • MAX Human Pose Estimator
  • MAX Object Detector

Uses

MAX Image Segmenter

  • getColorMap(imageData, segmentMap)
    • this function takes an image and the corresponding segment map contained in the model payload, and returns the annotated colormap image.

MAX Human Pose Estimator

  • getPoseLines(imageData, poseData, colorName)
    • this function takes an image, with the corresponding detected poses contained in the model payload, along with the name of a desired color (optionally) and returns an annotated image with drawn pose lines.

MAX Object Detector

  • getObjectBoxes(imageData, boxData)
    • this function takes an image and the corresponding detected objects contained in the model payload, and returns an annotated image with drawn bounding boxes.
  • cropObjectBoxes(imageData, boxData)
    • this function takes an image and the corresponding detected objects contained in the model payload, and returns an array of cropped images with metadata.

FAQs

Package last updated on 12 Jun 2019

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc