Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -84,7 +84,7 @@ vision.init(jsonfile); | ... | @@ -84,7 +84,7 @@ vision.init(jsonfile); |
84 | //Build the request payloads | 84 | //Build the request payloads |
85 | var d = requtil.createRequests().addRequest( | 85 | var d = requtil.createRequests().addRequest( |
86 | requtil.createRequest('/home/ubuntu/a/LINEBOT/photo/Fancy-TWICE.jpg') | 86 | requtil.createRequest('/home/ubuntu/a/LINEBOT/photo/Fancy-TWICE.jpg') |
87 | -.withFeature('Optical Character Recognition', 3) | 87 | +.withFeature('TEXT_DETECTION', 3) |
88 | .build()); | 88 | .build()); |
89 | //Do query to the api server | 89 | //Do query to the api server |
90 | vision.query(d, function(e, r, d){ | 90 | vision.query(d, function(e, r, d){ | ... | ... |
-
Please register or login to post a comment