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

@mediapipe/tasks-vision

Package Overview
Dependencies
Maintainers
7
Versions
420
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mediapipe/tasks-vision

MediaPipe Vision Tasks

  • 0.10.18
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
252K
decreased by-2.3%
Maintainers
7
Weekly downloads
 
Created

What is @mediapipe/tasks-vision?

@mediapipe/tasks-vision is a powerful npm package that provides a suite of vision-based machine learning tools. It allows developers to integrate advanced computer vision functionalities such as object detection, face detection, hand tracking, and more into their web applications.

What are @mediapipe/tasks-vision's main functionalities?

Object Detection

This feature allows you to detect objects within an image. The code sample demonstrates how to initialize the object detector and use it to detect objects in a given image.

const vision = require('@mediapipe/tasks-vision');
const objectDetector = new vision.ObjectDetector();
objectDetector.detect(image).then(predictions => {
  console.log(predictions);
});

Face Detection

This feature enables face detection within an image. The code sample shows how to initialize the face detector and use it to detect faces in a given image.

const vision = require('@mediapipe/tasks-vision');
const faceDetector = new vision.FaceDetector();
faceDetector.detect(image).then(predictions => {
  console.log(predictions);
});

Hand Tracking

This feature allows for real-time hand tracking in video streams. The code sample demonstrates how to initialize the hand tracker and use it to track hands in a video.

const vision = require('@mediapipe/tasks-vision');
const handTracker = new vision.HandTracker();
handTracker.track(video).then(predictions => {
  console.log(predictions);
});

Other packages similar to @mediapipe/tasks-vision

Keywords

FAQs

Package last updated on 04 Nov 2024

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