当前位置:网站首页>Azure Kinect微软摄像头Unity开发小结
Azure Kinect微软摄像头Unity开发小结
2022-06-28 15:43:00 【生活在他方】
Azure Kienct是微软的代替Kinect的摄像头,用处其实蛮多的,最近做了这个的一些开发,总结一下。
硬件需求
如果只是当普通摄像头用的话,有集成显卡就行了。如果要用人体跟踪,至少要1050的独显。
微软摄像头代的东西还不少,可以建立点云地图,但是没试过。
下面是官方的SDK。后面2项应该都需要联网,而且用微软的服务才能实现。
Unity开发
Unity开发这里用的是Azure Kinect Example for Unity这个插件。电脑上还需要安装Azure Kinect的另外2个SDK。
Unity的这个插件里面有不少例子。
效果可以看下这个视频
https://www.bilibili.com/video/BV1z94y117Tm/
必须的脚本是KinectManager和其下的Kinect4AzureInterface
KinectUserManager和KinectGestureManager这2个脚本会自动生成。一个管理摄像机前面拍摄到的人,一个管理姿势。
切换姿势的核心代码
kinectGestureManager.RefreshGestureListeners();//刷新接收器
kinectGestureManager.ClearUserGestures(1);//清除用户手势
kinectGestureManager.UserWasAdded(1, 0);//重新为用户添加手势。
手位置相关的在InteractionManager这个脚本管理。
Unity开发视频总结:https://www.bilibili.com/video/BV1Xv4y1M7GP/
边栏推荐
- Deep learning convolutional neural network of machine learning to realize handwritten font recognition based on CNN network
- Application of mongodb in Tencent retail premium code
- Smart supplier management system for chemical manufacturing industry deeply explores the field of supplier management and improves supply chain collaboration
- Basic grammar of C language
- PostgreSQL enables grouping statistics by year, month, day, week, hour, minute and second
- 早晨有些犹豫
- 10年测试经验,在35岁的生理年龄面前,一文不值
- Solution to JSON parsing problem using curl for Tron API signature broadcast and json Problem record of the loads method
- In depth learning foundation summary
- Fleet | "backstage exploration" issue 3: status management
猜你喜欢
5 minutes to make a bouncing ball game
SAP mts/ato/mto/eto topic 9: front and back desk operation in m+m mode, strategy 50, preparation of raw materials and semi-finished products in advance
【Spock】处理 Non-ASCII characters in an identifier
Cross cluster deployment of helm applications using karmada
经典模型——Transformer
Notes to distributed theory
抖音实战~我关注的博主列表、关注、取关
C语言基础语法
What useful supplier management systems are available
3. caller service call - dapr
随机推荐
信创操作系统--麒麟Kylin桌面操作系统 (项目十 安全中心)
Qt5.5.1 configuring msvc2010 compiler and WinDbg debugger
Xinchuang operating system -- kylin kylin desktop operating system (project 10 security center)
Navicat 15 for MySQL
Sample explanation of batch inserting data using MySQL bulkloader
【高并发基础】MySQL索引优化
看界面控件DevExpress WinForms如何创建一个虚拟键盘
Go zero micro Service Practice Series (VII. How to optimize such a high demand)
零钱兑换(动态规划)
北京有哪些牛逼的中小型公司?
关于针对tron API签名广播时使用curl的json解析问题解决方案及针对json.loads方法的问题记录
What! One command to get the surveillance?
SQL statement exercises
What is the difference between treasury bonds and time deposits
10: 00 interview, came out at 10:02, the question is really too
wallys/DR7915-wifi6-MT7915-MT7975-2T2R-support-OpenWRT-802.11AX-supporting-MiniPCIe-Module
R language ggplot2 visualization: the patchwork package horizontally combines a ggplot2 visualization result and a plot function visualization result to form a final result graph, aligns the two visua
The world has embraced Web3.0 one after another, and many countries have clearly begun to seize the initiative
C语言基础语法
Lecturer solicitation order | Apache dolphin scheduler meetup sharing guests, looking forward to your topic and voice!