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 1.3.0 to 1.3.1

6

lib/utils.js

@@ -31,7 +31,7 @@ const fs = require('fs');

const defaultDir = '/usr/local';
const opencvDir = process.env.OPENCV_DIR;
let includeDir = process.env.OPENCV_INCLUDE_DIR;
const opencvDir = resolvePath(process.env.OPENCV_DIR);
let includeDir = resolvePath(process.env.OPENCV_INCLUDE_DIR);
const libSuffix = process.platform === 'win32' ? '.lib' : '.so';
let libDir = process.env.OPENCV_LIB_DIR;
let libDir = resolvePath(process.env.OPENCV_LIB_DIR);

@@ -38,0 +38,0 @@ if (!includeDir) {

{
"name": "opencv4nodejs",
"version": "1.3.0",
"version": "1.3.1",
"description": "Transparent OpenCV API for nodejs.",

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

@@ -8,5 +8,11 @@ opencv4nodejs

* **[Examples](#examples)**
* **[How to install](#how-to-install)**
* **[Usage with Electron](#usage-with-electron)**
* **[API documentation](#doc)**
<a name="examples"></a>
## Examples
See examples folder for implementation.
See <a href="https://github.com/justadudewhohacks/opencv4nodejs/tree/master/examples"><b>examples</b></a> for implementation.

@@ -37,2 +43,3 @@ ### Face Detection

<a name="how-to-install"></a>
## How to install

@@ -50,2 +57,3 @@

<a name="usage-with-electron"></a>
## Usage with Electron

@@ -73,2 +81,3 @@

<a name="doc"></a>
## Documentation

@@ -162,3 +171,3 @@

// get a node buffer with raw Mat data
const matAsArray = matBGR.getData();
const matAsBuffer = matBGR.getData();

@@ -165,0 +174,0 @@ // get entire Mat data as JS array

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