问题描述
是否可以在没有摄像头的情况下使用 Vuforia 进行图像跟踪?
Is it possible to use Vuforia without a camera for image tracking?
基本上我想要一个函数,我可以使用图像作为 indata 参数和图像目标的坐标作为结果调用.存在吗?
Basically I would like a function I could call with an image as a indata parameter and coordinates of a image target as a result. Does that exist?
推荐答案
很遗憾,这是不可能的.在开发 Moodstocks(图像识别 SDK)/Vuforia mashup 时,我自己已经多次寻找这样的选项(参见这 2 个 博客 帖子 如果您对此感兴趣),但 Vuforia SDK 会阻止使用相机以外的任何其他来源.
It is unfortunately not possible. I've been looking for such an option myself several times while working on a Moodstocks (image recognition SDK) / Vuforia mashup (see these 2 blog posts if you are interested in it), but the Vuforia SDK prevents the use of any other source than the camera.
我想主要原因是相机管理完全由 Vuforia SDK 内部处理,可能是为了更容易使用,因为我们自己管理相机充其量是一项无聊的任务(行和行代码在每个项目中重复......),最坏的情况是屁股上的巨大痛苦(尤其是在 Android 上,有时设备的行为不如预期).
I guess the main reason for this is that the camera management is fully handled internally by the Vuforia SDK, probably in order to make it easier to use as managing the camera by ourselves is at best a boring task (lines and lines of code to repeat in each project...), at worst a huge pain in the ass (especially on Android where there are sometimes devices than don't behave as expected).
顺便说一句,在我看来,Vuforia SDK 并不是您能找到的适合您的用例的最佳解决方案:它主要是一个增强现实 SDK,专注于实时跟踪,这意味着使用相机流......所以用它来做简单"的图像识别看起来真的有点矫枉过正!
By the way, it looks to me like the Vuforia SDK is not the best solution you can find for your use case: it is mainly an augmented-reality SDK, focussed on real-time tracking, which imply working with a camera stream... so using it to do "simple" image recognition looks really overkill!
这篇关于是否可以在没有摄像头的情况下使用 Vuforia?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!