vinnyguitar / npm-opencv-build

A simple script to auto build recent OpenCV + contrib version via npm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Build status

A simple script to auto build recent OpenCV + contrib version via npm. This script is used to auto build opencv4nodejs.

Install

npm install opencv-build

Requirements

  • cmake

Windows

  • windows build tools or Visual Studio
npm install --global windows-build-tools

Custom flags

It's possible to specify custom flags to build process inserting on the package.json where the dependency is declared an object like:

{
  ...
  "opencv4nodejs": {
    "autoBuildFlags": "-DOPENCV_GENERATE_PKGCONFIG=ON -DOPENCV_PC_FILE_NAME=opencv.pc"
  }
}

these flags will be used during building in the same way as described here.

About

A simple script to auto build recent OpenCV + contrib version via npm


Languages

Language:JavaScript 59.6%Language:TypeScript 29.0%Language:C# 11.5%