We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bc7f0a commit 4db80beCopy full SHA for 4db80be
vision/samples/detect.js
@@ -102,7 +102,7 @@ function detectLabels(fileName) {
102
.then(results => {
103
const labels = results[0].labelAnnotations;
104
console.log('Labels:');
105
- labels.forEach(label => console.log(label));
+ labels.forEach(label => console.log(label.description));
106
})
107
.catch(err => {
108
console.error('ERROR:', err);
@@ -130,7 +130,7 @@ function detectLabelsGCS(bucketName, fileName) {
130
131
132
133
134
135
136
0 commit comments