1

即使我关注了这篇文章如何在图像识别后在 vuforia sdk ImageTarget 中显示布局而不是茶壶模型,茶壶模型消失但识别后无法显示警报,任何人都可以建议我应该在哪里显示警报吗?

4

2 回答 2

2

You should probably have a look at the "Knowledge base article" from the Vuforia documentation.

In particular, there an article explaining how to replace the teapot by another 3D-model, and another which more specifically explains how to display a 2D image instead of the Teapot. Tweaking it to display an alert instead of a simple 2D image should be possible!

于 2013-08-30T08:32:26.997 回答
0

试试这个链接: Vuforia 知识库文章展示图像检测 Toast

代替:

Toast toast = Toast.makeText(context, text, duration);
toast.show();

使用您的警报代码,不要忘记删除网络浏览器启动代码。

于 2013-12-16T06:43:38.377 回答