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

opencv4nodejs

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opencv4nodejs - npm Package Compare versions

Comparing version 4.7.2 to 4.7.3

44

lib/typings/constants.d.ts

@@ -485,2 +485,46 @@ export const CV_8U: number;

export const IMREAD_UNCHANGED: number;
export const IMREAD_GRAYSCALE: number;
export const IMREAD_COLOR: number;
export const IMREAD_ANYDEPTH: number;
export const IMREAD_ANYCOLOR: number;
export const IMREAD_LOAD_GDAL: number;
export const IMWRITE_JPEG_QUALITY: number;
export const IMWRITE_JPEG_PROGRESSIVE: number;
export const IMWRITE_JPEG_OPTIMIZE: number;
export const IMWRITE_JPEG_RST_INTERVAL: number;
export const IMWRITE_JPEG_LUMA_QUALITY: number;
export const IMWRITE_JPEG_CHROMA_QUALITY: number;
export const IMWRITE_PNG_COMPRESSION: number;
export const IMWRITE_PNG_STRATEGY: number;
export const IMWRITE_PNG_BILEVEL: number;
export const IMWRITE_PXM_BINARY: number;
export const IMWRITE_WEBP_QUALITY: number;
export const IMWRITE_PNG_STRATEGY_DEFAULT: number;
export const IMWRITE_PNG_STRATEGY_FILTERED: number;
export const IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY: number;
export const IMWRITE_PNG_STRATEGY_RLE: number;
export const IMWRITE_PNG_STRATEGY_FIXED: number;
export const IMREAD_REDUCED_GRAYSCALE_2: number;
export const IMREAD_REDUCED_COLOR_2: number;
export const IMREAD_REDUCED_GRAYSCALE_4: number;
export const IMREAD_REDUCED_COLOR_4: number;
export const IMREAD_REDUCED_GRAYSCALE_8: number;
export const IMREAD_REDUCED_COLOR_8: number;
export const IMREAD_IGNORE_ORIENTATION: number;
export const IMWRITE_PAM_TUPLETYPE: number;
export const IMWRITE_PAM_FORMAT_NULL: number;
export const IMWRITE_PAM_FORMAT_BLACKANDWHITE: number;
export const IMWRITE_PAM_FORMAT_GRAYSCALE: number;
export const IMWRITE_PAM_FORMAT_GRAYSCALE_ALPHA: number;
export const IMWRITE_PAM_FORMAT_RGB: number;
export const IMWRITE_PAM_FORMAT_RGB_ALPHA: number;
export const HAAR_EYE: string;

@@ -487,0 +531,0 @@ export const HAAR_EYE_TREE_EYEGLASSES: string;

12

lib/typings/cv.d.ts

@@ -26,6 +26,6 @@ import { Mat } from './Mat.d';

export function calcHist(img: Mat, histAxes: HistAxes[], mask?: Mat): Mat;
export function calibrateCamera(objectPoints: Point3[], imagePoints: Point2[], imageSize: Size, cameraMatrix: Mat, distCoeffs: number[], flags?: number, criteria?: TermCriteria): { returnValue: number, rvecs: Vec3[], tvecs: Vec3[] };
export function calibrateCameraAsync(objectPoints: Point3[], imagePoints: Point2[], imageSize: Size, cameraMatrix: Mat, distCoeffs: number[], flags?: number, criteria?: TermCriteria): Promise<{ returnValue: number, rvecs: Vec3[], tvecs: Vec3[] }>;
export function calibrateCameraExtended(objectPoints: Point3[], imagePoints: Point2[], imageSize: Size, cameraMatrix: Mat, distCoeffs: number[], flags?: number, criteria?: TermCriteria): { returnValue: number, rvecs: Vec3[], tvecs: Vec3[], stdDeviationsIntrinsics: Mat, stdDeviationsExtrinsics: Mat, perViewErrors: number[] };
export function calibrateCameraExtendedAsync(objectPoints: Point3[], imagePoints: Point2[], imageSize: Size, cameraMatrix: Mat, distCoeffs: number[], flags?: number, criteria?: TermCriteria): Promise<{ returnValue: number, rvecs: Vec3[], tvecs: Vec3[], stdDeviationsIntrinsics: Mat, stdDeviationsExtrinsics: Mat, perViewErrors: number[] }>;
export function calibrateCamera(objectPoints: Point3[], imagePoints: Point2[], imageSize: Size, cameraMatrix: Mat, distCoeffs: number[], flags?: number, criteria?: TermCriteria): { returnValue: number, rvecs: Vec3[], tvecs: Vec3[], distCoeffs: number[] };
export function calibrateCameraAsync(objectPoints: Point3[], imagePoints: Point2[], imageSize: Size, cameraMatrix: Mat, distCoeffs: number[], flags?: number, criteria?: TermCriteria): Promise<{ returnValue: number, rvecs: Vec3[], tvecs: Vec3[], distCoeffs: number[] }>;
export function calibrateCameraExtended(objectPoints: Point3[], imagePoints: Point2[], imageSize: Size, cameraMatrix: Mat, distCoeffs: number[], flags?: number, criteria?: TermCriteria): { returnValue: number, rvecs: Vec3[], tvecs: Vec3[], distCoeffs: number[], stdDeviationsIntrinsics: Mat, stdDeviationsExtrinsics: Mat, perViewErrors: number[] };
export function calibrateCameraExtendedAsync(objectPoints: Point3[], imagePoints: Point2[], imageSize: Size, cameraMatrix: Mat, distCoeffs: number[], flags?: number, criteria?: TermCriteria): Promise<{ returnValue: number, rvecs: Vec3[], tvecs: Vec3[], distCoeffs: number[], stdDeviationsIntrinsics: Mat, stdDeviationsExtrinsics: Mat, perViewErrors: number[] }>;
export function canny(dx: Mat, dy: Mat, threshold1: number, threshold2: number, L2gradient?: boolean): Mat;

@@ -135,4 +135,4 @@ export function cartToPolar(x: Mat, y: Mat, angleInDegrees?: boolean): { magnitude: Mat, angle: Mat };

export function solvePnPAsync(objectPoints: Point3[], imagePoints: Point2[], cameraMatrix: Mat, distCoeffs: number[], useExtrinsicGuess?: boolean, iterationsCount?: number, reprojectionError?: number, confidence?: number, flags?: number): Promise<{ returnValue: boolean, rvec: Vec3, tvec: Vec3, inliers: number[] }>;
export function stereoCalibrate(objectPoints: Point3[], imagePoints1: Point2[], imagePoints2: Point2[], cameraMatrix1: Mat, distCoeffs1: number[], cameraMatrix2: Mat, distCoeffs2: number[], imageSize: Size, flags?: number, criteria?: TermCriteria): { returnValue: number, R: Mat, T: Vec3[], E: Mat, F: Mat };
export function stereoCalibrateAsync(objectPoints: Point3[], imagePoints1: Point2[], imagePoints2: Point2[], cameraMatrix1: Mat, distCoeffs1: number[], cameraMatrix2: Mat, distCoeffs2: number[], imageSize: Size, flags?: number, criteria?: TermCriteria): Promise<{ returnValue: number, R: Mat, T: Vec3[], E: Mat, F: Mat }>;
export function stereoCalibrate(objectPoints: Point3[], imagePoints1: Point2[], imagePoints2: Point2[], cameraMatrix1: Mat, distCoeffs1: number[], cameraMatrix2: Mat, distCoeffs2: number[], imageSize: Size, flags?: number, criteria?: TermCriteria): { returnValue: number, R: Mat, T: Vec3[], E: Mat, F: Mat, distCoeffs1: number[], distCoeffs2: number[] };
export function stereoCalibrateAsync(objectPoints: Point3[], imagePoints1: Point2[], imagePoints2: Point2[], cameraMatrix1: Mat, distCoeffs1: number[], cameraMatrix2: Mat, distCoeffs2: number[], imageSize: Size, flags?: number, criteria?: TermCriteria): Promise<{ returnValue: number, R: Mat, T: Vec3[], E: Mat, F: Mat, distCoeffs1: number[], distCoeffs2: number[] }>;
export function stereoRectifyUncalibrated(points1: Point2[], points2: Point2[], F: Mat, imageSize: Size, threshold?: number): { returnValue: boolean, H1: Mat, H2: Mat };

@@ -139,0 +139,0 @@ export function stereoRectifyUncalibratedAsync(points1: Point2[], points2: Point2[], F: Mat, imageSize: Size, threshold?: number): Promise<{ returnValue: boolean, H1: Mat, H2: Mat }>;

{
"name": "opencv4nodejs",
"version": "4.7.2",
"version": "4.7.3",
"description": "Asynchronous OpenCV 3.x nodejs bindings with JavaScript and TypeScript API.",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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