Why am I getting an error about TrackingMode when I run KinectForW​indowsExam​ple.m with a Kinect v1?

2 visualizzazioni (ultimi 30 giorni)
I am running KinectForWindowsExample.m with a Kinect (version 1), and I am getting the the following error message:
...
depthSrc.TrackingMode = 'Skeleton'; 
No public property TrackingMode exists for class videosource. 
Error in KinectForWindowsExample (line 117)
Why is this error happening?

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 1 Apr 2024 alle 0:00
Modificato: MathWorks Support Team il 2 Apr 2024 alle 0:03
This error can occur in either of the following two situations:
1. Using a Kinect for XBox 360 device, which is unsupported.
Currently Image Acquisition Toolbox supports the following Kinect device models:
 - Kinect for Windows Sensor (version 1)
 - Kinect for Windows v2
Using a "Kinect for XBox 360" can cause unexpected behavior in MATLAB, IMAQTOOL, or Simulink.
One way to determine which Kinect sensor device model you have is to look at the text next to the camera lens on the front of the Kinect sensor device:
  • Kinect for Windows Sensor (version 1)  shows the text "KINECT"
  • Kinect for XBox 360 shows the text "XBOX 360"
2. Using a Kinect v2 device with code written for Kinect for Windows Sensor v1.
A similar example for Kinect v2 can be found here:

Più risposte (0)

Prodotti


Release

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by