Fixed readImage() callback arguments

Added missing error object in readImage() callback under Creation heading.
This commit is contained in:
psayre23 2014-08-26 09:52:04 -07:00
parent 05e42b70aa
commit 75a325203c

View File

@ -62,11 +62,11 @@ new Matrix(height, width)
Or you can use opencv to read in image files. Supported formats are in the OpenCV docs, but jpgs etc are supported.
```javascript
cv.readImage(filename, function(mat){
cv.readImage(filename, function(err, mat){
...
})
cv.readImage(buffer, function(mat){
cv.readImage(buffer, function(err, mat){
...
})
```