使用Unity进行文本识别

时间:2018-01-27 14:42:21

标签: unity3d vuforia text-recognition

我正在努力使用文字识别。当我尝试它时,它会返回此错误,

"An assembly with the same name `Vuforia.UnityExtensions' has already been imported. Consider removing one of the references or sign the assembly
/Applications/Unity/PlaybackEngines/VuforiaSupport/Managed/Runtime/Vuforia.UnityExtensions.dll (Location of the symbol related to previous error)
Assets/Vuforia/Scripts/Internal/Vuforia.UnityExtensions.dll (Location of the symbol related to previous error)"

enter image description here

即使单击文本识别,它也不显示Text Reco行为(脚本)。 怎么了 ?要使用文本识别,我使用Unity版本2.0f3并导入vuforia-unity-6-2-10.unitypackage。 如果详细解释,我们将非常感激。

1 个答案:

答案 0 :(得分:1)

使用 Unity 2017或更高版本,您无需手动导入 Vuforia 包。要使用 Vuforia SDK,只需在 Unity 中的Player settings中启用它即可。如果该选项在 Unity 中不可见,则需要先点击 Unity Vuforia

中的链接下载该选项

然后,您就可以使用 Vuforia 功能。 在通过 Unity 下载程序安装软件包之前,不要忘记删除所有 Vuforia 相关文件。