赞
踩
Azure Kinect DK 文档 | Microsoft Learn
https://github.com/microsoft/Azure-Kinect-Sensor-SDK/blob/develop/docs/usage.md
Download Azure Kinect Body Tracking SDK v1.1.2 from Official Microsoft Download Center
Azure Kinect 固件工具 | Microsoft Learn
Azure Kinect Examples for Unity | Integration | Unity Asset Store
<code class="language-plaintext hljs"> bool isIni = KinectManager.Instance.IsInitialized();</code>
<code class="language-plaintext hljs">using com.rfilkov.kinect;
using Intel.RealSense;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UseKinectManger : MonoBehaviour
{
public RawImage pic;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
bool isIni = KinectManager.Instance.IsInitialized();
if (isIni)
{
Texture kinectPic = KinectManager.Instance.GetColorImageTex(0);
pic.texture= kinectPic;
}
}
}
</code>
图片是上下颠倒的话,将RawImage Scale 置为-1。
<code class="language-plaintext hljs">using com.rfilkov.kinect;
using Intel.RealSense;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UseKinectManger : MonoBehaviour
{
public RawImage pic;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
bool isIni = KinectManager.Instance.IsInitialized();
if (isIni)
{
Texture kinectPic = KinectManager.Instance.GetDepthImageTex(0);
pic.texture= kinectPic;
}
}
}
</code>
1:Azure Kinect微软摄像头Unity开发小结
Azure Kinect微软摄像头Unity开发小结_azure kinect examples for unity-CSDN博客
2:Unity AzureKinect所有Demo整理分析(持续更新中)
Unity AzureKinect所有Demo整理分析(持续更新中)_azure kinect examples for unity-CSDN博客
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。