Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
s1hofmann committed May 19, 2019
1 parent 6cba313 commit 990dbc6
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,8 @@ yarn add @nut-tree/nut-js

will install nut.js and its required dependencies.

The installation process assumes you do not have an existing OpenCV installation and will try to build it from source via [opencv4nodejs](https://github.com/justadudewhohacks/opencv4nodejs).

Building OpenCV from scratch requires a [cmake](https://cmake.org/) installation.

In case you already have an OpenCV installation (version 3.x.x required, e.g. via `brew install opencv@3` or [else](https://docs.opencv.org/3.4/df/d65/tutorial_table_of_content_introduction.html)), you can disable the build process via environment variable:

```bash
export OPENCV4NODEJS_DISABLE_AUTOBUILD=1
```

or

```bash
set OPENCV4NODEJS_DISABLE_AUTOBUILD=1
```
The installation process comes with a pre-built version of OpenCV for the respective target platform (via [opencv4nodejs](https://github.com/justadudewhohacks/opencv4nodejs)).
It's not required to manually build OpenCV, but the installation process has some 3rd-party dependencies.

Please make sure to also install all required peer dependencies:

Expand Down

0 comments on commit 990dbc6

Please sign in to comment.