opencv4nodejs
Advanced tools
Comparing version 4.9.1 to 4.10.0
@@ -22,6 +22,7 @@ import { Mat } from './Mat.d'; | ||
export function applyColorMap(src: Mat, colormap: number | Mat): Mat; | ||
export function blobFromImage(image: Mat, scaleFactor?: number, size?: Size, mean?: Vec3, swapRB?: boolean): Mat; | ||
export function blobFromImageAsync(image: Mat, scaleFactor?: number, size?: Size, mean?: Vec3, swapRB?: boolean): Promise<Mat>; | ||
export function blobFromImages(image: Mat[], scaleFactor?: number, size?: Size, mean?: Vec3, swapRB?: boolean): Mat; | ||
export function blobFromImagesAsync(image: Mat[], scaleFactor?: number, size?: Size, mean?: Vec3, swapRB?: boolean): Promise<Mat>; | ||
export function blobFromImage(image: Mat, scaleFactor?: number, size?: Size, mean?: Vec3, swapRB?: boolean, crop?: boolean, ddepth?: number): Mat; | ||
export function blobFromImageAsync(image: Mat, scaleFactor?: number, size?: Size, mean?: Vec3, swapRB?: boolean, crop?: boolean, ddepth?: number): Promise<Mat>; | ||
export function blobFromImages(image: Mat[], scaleFactor?: number, size?: Size, mean?: Vec3, swapRB?: boolean, crop?: boolean, ddepth?: number): Mat; | ||
export function blobFromImagesAsync(image: Mat[], scaleFactor?: number, size?: Size, mean?: Vec3, swapRB?: boolean, crop?: boolean, ddepth?: number): Promise<Mat>; | ||
export function NMSBoxes(bboxes: Rect[], scores: number[], scoreThreshold: number, nmsThreshold: number): number[]; | ||
export function calcHist(img: Mat, histAxes: HistAxes[], mask?: Mat): Mat; | ||
@@ -120,2 +121,5 @@ 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 polarToCartAsync(magnitude: Mat, angle: Mat, angleInDegrees?: boolean): Promise<{ x: Mat, y: Mat }>; | ||
export function getNumThreads(): number; | ||
export function setNumThreads(nthreads: number): void; | ||
export function getThreadNum(): number; | ||
export function projectPoints(objectPoints: Point3[], imagePoints: Point2[], rvec: Vec3, tvec: Vec3, cameraMatrix: Mat, distCoeffs: number[], aspectRatio?: number): { imagePoints: Point2[], jacobian: Mat }; | ||
@@ -122,0 +126,0 @@ export function projectPointsAsync(objectPoints: Point3[], imagePoints: Point2[], rvec: Vec3, tvec: Vec3, cameraMatrix: Mat, distCoeffs: number[], aspectRatio?: number): Promise<{ imagePoints: Point2[], jacobian: Mat }>; |
@@ -48,2 +48,6 @@ import { Size } from './Size.d'; | ||
at(row: number, col: number): Vec4; | ||
at(idx: number[]): number; | ||
at(idx: number[]): Vec2; | ||
at(idx: number[]): Vec3; | ||
at(idx: number[]): Vec4; | ||
atRaw(row: number, col: number): number; | ||
@@ -50,0 +54,0 @@ atRaw(row: number, col: number): number[]; |
@@ -5,5 +5,7 @@ import { Mat } from './Mat.d'; | ||
forward(inputName?: string): Mat; | ||
forward(outBlobNames?: string[]): Mat[]; | ||
forwardAsync(inputName?: string): Promise<Mat>; | ||
forwardAsync(outBlobNames?: string[]): Promise<Mat[]>; | ||
setInput(blob: Mat, inputName?: string): void; | ||
setInputAsync(blob: Mat, inputName?: string): Promise<void>; | ||
} |
{ | ||
"name": "opencv4nodejs", | ||
"version": "4.9.1", | ||
"version": "4.10.0", | ||
"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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11256747
2156