当前位置:网站首页>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/
边栏推荐
- MIPS assembly language learning -02- logic judgment - foreground input
- Web worker poll request
- Summary of language features of fluent dart
- 使用openpyxl操作Excel
- ROS knowledge points - definition and use of topic messages
- CODING DevOps 助力中化信息打造新一代研效平台,驱动“线上中化”新未来
- 看界面控件DevExpress WinForms如何创建一个虚拟键盘
- Smart supplier management system for chemical manufacturing industry deeply explores the field of supplier management and improves supply chain collaboration
- openGauss内核:SQL解析过程分析
- C#/VB. Net to convert PDF to excel
猜你喜欢

5分钟的时间制作一个反弹球游戏

What are the most powerful small and medium-sized companies in Beijing?

Qt create 5.0.3 配置Qt4.8.7

讲师征集令 | Apache DolphinScheduler Meetup分享嘉宾,期待你的议题和声音!

VS2013 帮助文档中没有 win32/com

隆重推出 Qodana:您最爱的 CI 的代码质量平台

抖音实战~我关注的博主列表、关注、取关

IPDK — Overview

MIPS assembly language learning -02- logic judgment - foreground input

Fleet |「後臺探秘」第 3 期:狀態管理
随机推荐
部门新来了个字节25K出来的,让我见识到了什么是天花板
openGauss内核:SQL解析过程分析
wallys/DR7915-wifi6-MT7915-MT7975-2T2R-support-OpenWRT-802.11AX-supporting-MiniPCIe-Module
R language ggplot2 visualization: use the patchwork package (directly use the plus sign +) to horizontally combine a ggplot2 visualization result and a piece of text content to form a final result gra
Opengauss kernel: analysis of SQL parsing process
麻烦问一下,我数据库中写入占99%查询很少,用按量付费模式还是预留模式比较好?
Smart supplier management system for chemical manufacturing industry deeply explores the field of supplier management and improves supply chain collaboration
Focus on the 35 year old Kan: fear is because you don't have the ability to match your age
VS2013 帮助文档中没有 win32/com
Lecturer solicitation order | Apache dolphin scheduler meetup sharing guests, looking forward to your topic and voice!
REDIS00_详解redis.conf配置文件
Innovation and upgrading of supply chain system driven management mode in petrochemical industry and strengthening internal management of enterprises
SQL statement exercises
Expand Disk C (allocate the memory of disk d to Disk C)
5 minutes to make a bouncing ball game
【高并发基础】MySQL 不同事务隔离级别下的并发隐患及解决方案
The world has embraced Web3.0 one after another, and many countries have clearly begun to seize the initiative
MongoDB 在腾讯零售优码中的应用
讲师征集令 | Apache DolphinScheduler Meetup分享嘉宾,期待你的议题和声音!
The k-th element in the array [heap row + actual time complexity of heap building]