获取我们在 Firebase 峰会上发布的所有信息,了解 Firebase 可如何帮助您加快应用开发速度并满怀信心地运行应用。
了解详情
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
地标识别
plat_ios
plat_android

使用 ML Kit 的地标识别 API,您可以识别图像中的知名地标。
当您将图像传递给此 API 时,您会获得其中识别的地标,以及每个地标的地理坐标以及找到地标的图像区域。您可以使用此信息自动生成图像元数据,根据用户共享的内容为用户创建个性化体验等。
iOS安卓
关键能力
识别知名地标 | 获取自然地标和人工地标的名称和地理坐标,以及发现地标的图像区域。 试用Cloud Vision API 演示,看看可以在您提供的图像中找到哪些地标。 |
获取 Google 知识图实体 ID | 知识图实体 ID 是唯一标识已识别的地标的字符串,与知识图搜索 API使用的 ID 相同。您可以使用此字符串来标识跨语言的实体,并且与文本描述的格式无关。 |
小批量免费使用 | 每月前 1000 次免费使用此功能:请参阅定价 |
示例结果
照片:Arcalino / Wikimedia Commons / CC BY-SA 3.0 | 结果 |
---|
描述 | 布鲁日 | 地理坐标 | 51.207367, 3.226933 | 知识图谱实体 ID | /m/0drjd2 | 边界多边形 | (20, 342), (651, 342), (651, 798), (20, 798) | 信心分数 | 0.77150935 |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-01-17 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]