diff --git a/README.md b/README.md index 858708d..628e16e 100755 --- a/README.md +++ b/README.md @@ -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){ ... }) ```