Skip to content

Commit 8733d92

Browse files
docs: always provide types array
1 parent 39d1e92 commit 8733d92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/vision/src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ Vision.prototype.annotate = function(requests, callback) {
208208
* // Error handling omitted.
209209
* }
210210
*
211-
* vision.detect(image, function(err, detection, apiResponse) {});
211+
* vision.detect(image, types, function(err, detection, apiResponse) {});
212212
* });
213213
*
214214
* //-
@@ -218,7 +218,7 @@ Vision.prototype.annotate = function(requests, callback) {
218218
*
219219
* var image = new Buffer(myBase64ImageRepresentation, 'base64');
220220
*
221-
* vision.detect(image, function(err, detection, apiResponse) {});
221+
* vision.detect(image, types, function(err, detection, apiResponse) {});
222222
*
223223
* //-
224224
* // Supply multiple images for feature detection.

0 commit comments

Comments
 (0)