什么是元数据?如何创建元数据以及如何使用 Vuforia 将其关联到云目标? [英] What is metadata? How do I create a metadata and how do I associate it to a Cloud target using Vuforia?

查看:32
本文介绍了什么是元数据?如何创建元数据以及如何使用 Vuforia 将其关联到云目标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为自己的代码修改了示例 CloudRecog 代码.我创建了云数据库并获取了 AccessKeys,然后将此密钥复制到 CloudReco.cpp 文件.我应该为元数据使用什么.我不明白这一点.然后当我阅读示例代码时,我看到了这一行: private static final String mServerURL = "https://ar.qualcomm.at/samples/cloudreco/json/".如何获取我的元数据网址?

I modified sample CloudRecog code for my own code. I created cloud database and get AccessKeys then copied this keys to CloudReco.cpp file. What should i use for metadata. I didn't understand this. Then when i was reading sample code i saw this line: private static final String mServerURL = "https://ar.qualcomm.at/samples/cloudreco/json/". How to get my metaData url?

推荐答案

这是对您问题的第一部分的回应:我应该为元数据使用什么"(不是关于如何找到网址)

this is in response to the first part of your question,: "What should i use for metadata" (not the second part about how to find the URL)

基于他们的文档(https://developer.vuforia.com/resources/dev-guide/cloud-targets):

每当 Cloud Reco 将元数据传递给应用程序目标被识别.由开发商决定此元数据的内容 – Vuforia 将其视为 blob 并通过它随着应用程序.可上传的最大尺寸元数据为 150kByte.

The metadata is passed to the application whenever the Cloud Reco target is recognized. It is up to the developer to determine the content of this metadata – Vuforia treats it as a blob and just passes it along to the application. The maximum size of the uploadable metadata is 150kByte.

我在他们的 CloudRecognition 应用程序中添加了一些调试,并看到他们在识别"图像时返回的有效负载(大概是元数据)是:

I added some debugging in their CloudRecognition app and saw that the payload (presumably the meta-data) they return when "recognizing" an image is:

{
    "thumburl": "https://developer.vuforia.com/samples/cloudreco/thumbs/01_thumbnail.png",
    "author": "Karina Borland",
    "your price": "43.15",
    "title": "Cloud Recognition in Vuforia",
    "average rating": "4",
    "# of ratings": "41",
    "targetid": "a47d2ea6b762459bb0aed1ae9dbbe405",
    "bookurl": "https://developer.vuforia.com/samples/cloudreco/book1.php",
    "list price": "43.99"
}

这篇关于什么是元数据?如何创建元数据以及如何使用 Vuforia 将其关联到云目标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆