当前位置:网站首页>unity之EasyAR使用
unity之EasyAR使用
2022-06-26 06:43:00 【被代码折磨的狗子】
一、效果展示
二、准备工作
1.下载EasyARSdk包 导入unity
下载完毕,解压后可以看到有一个com.easyar.sense-4.5.0+2500.38660d14.tgz包 注意这个包不要解压
(2) 在Unity中导入com.easyar.sense-4.5.0+2500.38660d14.tgz包
这里我用的Unity版本是2019.4.32f1
打开Package Manager面板
(3) 导入com.easyar.sense-4.5.0+2500.38660d14.tgz包
(4)导入EasyAR自带的Demo场景
2. 打开图片识别的场景Demo
(1)打开
打开图片识别场景,这时候Easy还是不能用的 因为需要一个密钥
2.获取EasyAR密钥
(1)注册登录
(2)创建Sense秘钥
(3) 复制秘钥
3. unity添加EasyAR秘钥
进入配置文件
扫描EasyAR默认图片测试
测试结果:
测试成功
三、自定义图片扫描
(1)新建场景,创建Session
(2)设置Camera相机属性
(3)手机拍摄一张图片或者网上找一张图片,将图片放入到StreamingAssets文件下
这是我自己拍摄了一张图笔记本的图
(4)新建 Image Target
将图片名称写入
(5)在 Image Target下创建一个Cube
如果看不到的话 调整一下cube的位置即可
这样设置后就可以扫描自定义的图片了。
四、更多操作可以看官方说明
边栏推荐
- Temperature alarm
- Bugku exercise ---misc--- prosperity, strength and democracy
- Go learning notes 1.3- data types of variables
- 宝塔服务器搭建及数据库远程连接
- shell 输入验证仅限字母数字
- Pagoda server setup and database remote connection
- 3.pyinstaller模块介绍
- Guide to "avoid dismissal during probation period"
- MYSQL(三)
- When vs code uses prettier to format JS, there is a space between the name of the function definition and the parentheses, and ESLIt does not allow this space
猜你喜欢
LabVIEW Arduino tcp/ip remote smart home system (project part-5)
Marketing skills: compared with the advantages of the product, it is more effective to show the use effect to customers
Experience the new features of Milvus 2.0 together
Closure problem C Lua
When vs code uses prettier to format JS, there is a space between the name of the function definition and the parentheses, and ESLIt does not allow this space
数据湖架构之Hudi编译篇
Vulnerability discovery - API interface service vulnerability probe type utilization and repair
DS18B20 details
What is data mining?
I caught a 10-year-old Alibaba test developer in the company. After chatting with him, I realized everything
随机推荐
Live broadcast Preview - fire safety instructor training "cloud class" is about to start!
DS18B20 details
OCA Security Alliance (cybersecurity mesh)
MySQL 数据库的小白安装与登录
View analysis
Pytorch uses multi GPU parallel training and its principle and precautions
Mysql操作数据库
【yolov4】基于yolov4深度学习网络目标检测MATLAB仿真
How to transfer database data to check box
【图像融合】基于耦合特征学习的多模式医学图像融合附matlab代码
If you meet a female driver who drives didi as an amateur, you can earn 500 yuan a day!
直播预告丨消防安全讲师培训“云课堂”即将开讲!
ts中枚举类型(enum)简单使用
Alarm operation and Maintenance Center | build an efficient and accurate alarm collaborative processing system
Screen sharing recommendations
Load balancer does not have available server for client: userservice problem solving
Market trend report, technical innovation and market forecast of China's valeryl chloride
Bugku练习题---MISC---富强民主
vs code 使用 prettier 格式化 js 的时候, 函数定义的名称和括号之间有一个空格, 而 eslit 又不允许这个空格.
3.pyinstaller module introduction