当前位置:网站首页>[Vuforia] 详解·高通Vuforia识别追踪3D物体/模型,Unity开发
[Vuforia] 详解·高通Vuforia识别追踪3D物体/模型,Unity开发
2022-07-15 12:53:00 【Goodbye!】
前期硬件准备工作:
1.安卓机一台
2.电脑、软件就不说了
3.安卓机扫描3D物体的Scanner工具包下载:https://developer.vuforia.com/downloads/tool
下载包内有安装apk和扫描用的pdf底图(A4-ObjectScanningTarget.pdf),用A4纸打印出来即可,没有这个图纸无法扫描。
(就长这个样)
4.要扫描识别的实物模型!!!实物!!!实物!!!用作录制。(EasyAR可以直接用3dmax建模出ob模型,不需要实物模型录制)
开始扫描录制:
1.扫描的物体放在打印出来的A4纸右上角灰色区域内。安卓机打开Scanner,选择右上角的“+”键。
2.手机对准物体,会出现“红绿蓝”的坐标轴在屏幕中。
3.点击右侧的扫描按钮,开始扫描物体。
4.旋转A4纸,手机扫描。直到半圆全部变绿。手机如果难变绿的方位可以适当聚焦调节手
机角度,直至成功。
5.结束录制。保存。手机文件夹选择/VuforiaObjectScanner/ObjectReco/***.od文件,并复
制到电脑上。
上传并导出包
1.上传地址:https://developer.vuforia.com/targetmanager/project/checkDeviceProjectsCreated
2.
3.可以添加多个扫描物体,我这边扫描添加了两个

4.下载为***.unitypackage包。
开始开发:
1.首先导入下载的Vuforia For Unity插件,下载地址:https://developer.vuforia.com/downloads/sdk#downloadModal
(导入时如果有报错请参考我的另一篇博文中的开发注意事项环节,传送门:https://blog.csdn.net/gheartsea/article/details/85115305)
2.导入上一步中导出的***.unitypackage包。
3.删除Main Camera,导入ARCamera、ObjectTarget两个预制体到Hierarchy面板。并在ARCamera中点击Opern Vuforia configuration配置Vuforia。

4.配置识别物体,看图。
5.测试是否成功。ObjectTarget1和2分别创建一个子物体。当识别到的时候就会显示出来(系统的默认代码是查找子物体的 Collider组件和MeshRenderer组件,未识别时则禁用这两个组件,则隐藏。识别到的时候则启用,所以就能显示了。)。
打包发布问题
1.可直接发布移动端程序,配置好环境按要求发布即可。
2.如果想发布pc端,不好意思,比较麻烦那么请看传送门:https://blog.csdn.net/gheartsea/article/details/85115305
边栏推荐
- TiKV & TiFlash 加速复杂业务查询
- Thesis learning (I) -- MWP bert: numerical augmented pre training for math wordproblem solving
- 腾讯T4架构师带你“一窥”大型网站架构的主要技术挑战和解决方案
- leetcode:558. 四叉树交集【四叉树dfs】
- Two years of crud, two ordinary graduates, three months of challenge interview Ali, successfully won the offer grading P7! Annual salary 50W
- ArkUI常见问题汇总【系列1】
- B树与B+树的区别
- DataArts Studio数据架构——基于模型驱动的智能自动化流水线建设案例
- torch.nn.CTCLoss()的使用
- 51nod 1278 separated circles
猜你喜欢

Award winning research | openeuler developer experience research questionnaire

Teach people to fish - see a field on the sap mm material display interface, how to find which field of which database table to store
![[visdom drawing] summary of visdom drawing in deep learning](/img/1d/534eb0d1c0f7108d8cb959bd66c65d.png)
[visdom drawing] summary of visdom drawing in deep learning

Use USBASP to write programs to Arduino uno through ICSP mode
![leetcode:558. Quadtree intersection [quadtree DFS]](/img/ea/7048657a7106c749eb4a8b95b07733.png)
leetcode:558. Quadtree intersection [quadtree DFS]

Where is the IBD file of MySQL in win11 virtual machine

Flutter 中的 offstage

让企业数字化砸锅和IT主管背锅的软件供应链安全风险指北

水电站设备也能远程运维

LeetCode刷题
随机推荐
Looking for a big brokerage to open an account? Is it safe to open an account through mobile stock now?
Bufferedinputstream byte cache input stream and cache stream efficiency test_ Copy files
Is it true that double non undergraduate students cannot enter the big factory? Ali technology four sides + cross face +hr face, successfully got the offer!!
Flutter中的IndexedStack
Index in MySQL
OpenHarmony藏头诗应用
PD server grpc interface diagram
Clustered index and non clustered index
Redis连接池
Realizing deep learning framework from zero -- glove
世界首款抗量子攻击商用密码芯片 | 沐创
【OpenCV 例程200篇】230. 特征描述之 LBP 统计直方图
网络基础学习系列二(socket编程)
Wrap in shutter
腾讯T4架构师带你“一窥”大型网站架构的主要技术挑战和解决方案
LeetCode刷题
Thesis learning (I) -- MWP bert: numerical augmented pre training for math wordproblem solving
Where is the IBD file of MySQL in win11 virtual machine
MySQL中的索引
51nod 1413 power binary