New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@paddlejs-mediapipe/opencv

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paddlejs-mediapipe/opencv

lightweight opencv.js

  • 0.0.4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
25
decreased by-35.9%
Maintainers
3
Weekly downloads
 
Created
Source

中文版

opencv_blur.js

A lightweight npm package which just includes modules core imgproc js video. Modify the opencv build_js script to package a few modules and api.

opencv.js

Opencv3.4 contains most of the commonly used APIs, supporting cv.boxPoints api.

opencv_ocr.js

Encapsulate the opencv API used by ocr module, Containing the following api:

[
    'findContours', 
    'minAreaRect', 
    'boxPoints', 
    'fillPoly',
    'getPerspectiveTransform',
    'warpPerspective',
    'getRotationMatrix2D',
    'warpAffine',
    'resize'
]

modules

OpenCV modules: -- To be built: core imgproc js video -- Disabled: calib3d dnn features2d flann highgui imgcodecs ml photo stitching videoio world -- Disabled by dependency: objdetect -- Unavailable: gapi java python2 python3 ts -- Applications: - -- Documentation: js -- Non-free algorithms: NO

npm

npm install @paddlejs-mediapipe/opencv

Usage

import cv from '@paddlejs-mediapipe/opencv/library/opencv_blur';
let logit = cv.imread('canvas');
let dst = new cv.Mat();
let ksize = new cv.Size(5, 5);
let anchor = new cv.Point(-1, -1);
cv.blur(logit, dst, ksize, anchor, cv.BORDER_DEFAULT);

tips

1、cv.mean api has precision error when calculating floating-point numbers

Keywords

FAQs

Package last updated on 08 Mar 2022

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