mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
Update readme
This commit is contained in:
parent
90c7a0fc50
commit
32bb2d089b
16
README.md
16
README.md
@ -1,7 +1,7 @@
|
||||
# node-opencv
|
||||
|
||||
[](http://travis-ci.org/peterbraden/node-opencv)
|
||||
|
||||
[](https://codecov.io/gh/peterbraden/node-opencv)
|
||||
|
||||
[OpenCV](http://opencv.org) bindings for Node.js. OpenCV is
|
||||
the defacto computer vision library - by interfacing with it natively in node,
|
||||
@ -223,6 +223,20 @@ contours.approxPolyDP(index, epsilon, isClosed);
|
||||
contours.convexHull(index, clockwise);
|
||||
```
|
||||
|
||||
## Test
|
||||
|
||||
Using [tape](https://github.com/substack/tape). Run with command:
|
||||
|
||||
`npm test`.
|
||||
|
||||
## Code coverage
|
||||
|
||||
Using [istanbul](http://gotwarlost.github.io/istanbul/) and [lcov](http://ltp.sourceforge.net/coverage/lcov.php). Run with command:
|
||||
|
||||
`make cover`
|
||||
|
||||
Build version of `opencv.node` will be generated, and coverage files will be put in `coverage/` directory. These files can be remvoved automatically by running `make clean`.
|
||||
|
||||
## MIT License
|
||||
The library is distributed under the MIT License - if for some reason that
|
||||
doesn't work for you please get in touch.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user