【发布时间】:2018-03-17 14:36:23
【问题描述】:
我想使用 Google Vision API 进行标签检测。但我想减少标签百分比,我不知道该怎么做。有人可以帮助我吗?我正在使用一个样本。我正在使用 google 提供的 android 示例 这是代码:
除此之外它会显示结果:
// add the features we want
annotateImageRequest.setFeatures(new ArrayList<Feature>() {{
Feature labelDetection = new Feature();
labelDetection.setType("LABEL_DETECTION");
labelDetection.setMaxResults(10);
add(labelDetection);
}});
【问题讨论】:
标签: java android google-vision vision-api