Merge pull request #151 from psayre23/patch-1

Fixed readImage() callback arguments
This commit is contained in:
Peter Braden 2014-08-26 20:16:46 +02:00
commit 2714c7219e

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){
...
})
```