Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1adb840
commit 5c12433
Showing
7 changed files
with
12 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ Then: | |
Or to build the repo: | ||
|
||
|
||
node-waf configure && node-waf build | ||
node-gyp rebuild | ||
|
||
|
||
## Examples | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
{ | ||
"targets": [{ | ||
"target_name": "opencv" | ||
"target_name": "opencv" | ||
, "sources": [ | ||
"src/CascadeClassifierWrap.cc" | ||
, "src/init.cc" | ||
"src/init.cc" | ||
, "src/Matrix.cc" | ||
, "src/OpenCV.cc" | ||
, "src/CascadeClassifierWrap.cc" | ||
, "src/Point.cc" | ||
, "src/VideoCaptureWrap.cc" ] | ||
, "src/VideoCaptureWrap.cc" | ||
] | ||
, "cflags" : ["-O3", "-Wall", "<!@(pkg-config --cflags opencv]"] | ||
, "libraries" : ["<!@(pkg-config --libs opencv)"] | ||
|
||
}] | ||
, "libraries": ['-l/lib/opencv.lib' ] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/bash | ||
|
||
node-waf configure build && | ||
node-gyp rebuild && | ||
cd examples && | ||
#node face_detection.js | ||
node $1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters