简体   繁体   English

在 Android 中使用 AR 从 2D 图像创建 3D 图像 model

[英]Creating 3D image model from 2D image using AR in Android

I'm new to Augment Reality and not having a compatible device to run examples provided for ARCore .我是增强现实的新手,没有兼容的设备来运行为ARCore提供的示例。 I am having a few questions and want them to clear before going further as I'm getting clear about those through any mean.我有几个问题,希望他们在进一步讨论之前先弄清楚,因为我正在通过任何方式弄清楚这些问题。 The app I'm working over is gonna perform the following task.我正在处理的应用程序将执行以下任务。

  • Detect a logo from a product从产品中检测徽标
  • Create a 3D model of it using AR使用 AR 创建它的 3D model
  • display the generated 3D model at the exact same surface在完全相同的表面显示生成的 3D model
    Here is a sample image captured from a box.这是从盒子中捕获的示例图像。 I want to display the text and logo in the 3D model.我想在 3D model 中显示文字徽标

My Questions我的问题

  1. is it possible to display both logo and text as a 3D model or AR supports images only?是否可以将徽标和文本显示为 3D model 或 AR 仅支持图像?
  2. Should I use ARCore or OpenCV or any other to do the task?我应该使用ARCore还是OpenCV或任何其他来完成任务? which one is efficient regarding time and memory to implement?哪一个在时间和 memory 实施方面是有效的?

Maybe it would be a discussion-based question but I am literally unable to find a solution for it.也许这将是一个基于讨论的问题,但我实际上无法找到解决方案。 Thanks everyone!感谢大家!

If you do not have ARCore supported device, you can try Vuforia + Unity instead.如果您没有支持 ARCore 的设备,您可以尝试 Vuforia + Unity。 Vuforia also supports image recognition and overlay with AR. Vuforia 还支持图像识别和 AR 叠加。 Check out this tutorial for your use case.查看本教程以了解您的用例。

If you still want to use ARCore, you should check out Augmented Images feature.如果您仍想使用 ARCore,您应该查看增强图像功能。 The challenge here if your logo has a good score to be able to work nicely for tracking and overlaying AR.如果您的徽标具有良好的分数以能够很好地用于跟踪和覆盖 AR,那么这里的挑战是。 You can check image quality/score with this tool .您可以使用此工具检查图像质量/分数。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM