How to set the Kinect devices specific properties in matlab?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
In Matlab
1. Create the videoinput object for the depth sensor. Note that a second object is created (vid2), and DeviceID 2 is used for the depth sensor. vid2 = videoinput('kinect',2,'Depth_640x480');
2. Look at the device-specific properties on the source device, which is the depth sensor on the Kinect. src = getselectedsource(vid2);
src
Display Summary for Video Source Object:
General Settings:
Parent = [1x1 videoinput]
Selected = on
SourceName = DepthSource
Tag =
Type = videosource
Device Specific Properties:
Accelerometer = [0.0 -1.0 0.0]
BodyPosture = Standing
CameraElevationAngle = 4
DepthMode = Default
FrameRate = 30
IREmitter = on
SkeletonsToTrack = [1x0 double]
TrackingMode = off
How we want to preset device specific properties?; For example,
Reset BodyPosture = Standing to be BodyPosture = Sitting
Reset DepthMode = Default to be DepthMode = Near
(*For this condition we can reset in C programming language, but for matlab language how we want to reset it?)
0 comentarios
Respuestas (1)
Madhura Suresh
el 21 de Mayo de 2015
Hi Lim,
Based on whether the object/person is standing or sitting, different joint coordinates are returned. You should be able to edit this value. More information here:
Try src.DepthMode = 'Near';
0 comentarios
Ver también
Categorías
Más información sobre Acquisition Using Kinect for Windows Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!