mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
Fix contours example in README
`#findContours` needs to be called, not just referenced.
This commit is contained in:
parent
d45e74a0aa
commit
79aeeffb87
@ -206,7 +206,7 @@ functions for accessing, computing with, and altering the contours contained in
|
|||||||
See [relevant source code](src/Contours.cc) and [examples](examples/)
|
See [relevant source code](src/Contours.cc) and [examples](examples/)
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
var contours = im.findContours;
|
var contours = im.findContours();
|
||||||
|
|
||||||
// Count of contours in the Contours object
|
// Count of contours in the Contours object
|
||||||
contours.size();
|
contours.size();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user