可以从Google Cloud Vision API请求什么功能字符串
问题描述:
我正在使用适用于Android的Google Cloud API Java库。并使用com.google.api.services.vision.v1.model.Feature包中的Feature API。可以从Google Cloud Vision API请求什么功能字符串
com.google.api.services.vision.v1.model.Feature.setType(MY_FEATURE);
考虑上面的简单调用。
我正在寻找可以以字符串的形式请求所有功能MY_FEATURE的详细信息。在哪里得到这些细节?任何文档?
我无法在常规搜索中找到它。
答
也许是这样的:https://cloud.google.com/vision/docs/reference/rest/v1/images/annotate#Type
{
"type": enum(Type),
"maxResults": number,
}