Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Kinect color source: Access violation

조회 수: 3 (최근 30일)
Thomas
Thomas 2014년 8월 4일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi,
I am using a Kinect and the Image Acquisition Toolbox (R2013b) to capture color/ir and depth data from the Kincet via Matlab. Everything (capturing, preview,...) works fine, but if I use GETSELECTEDSOURCE() to read out the device properties, Matlab crashes every time and shows an access violation.
However, this happens ONLY for the color source, i.e. for the depth camera GETSELECTEDSOURCE works fine! Does anyone face the same problem or has any hints for me?
Greets, Thomas
  댓글 수: 3
Shankar Subramanian
Shankar Subramanian 2015년 3월 4일
Hi all,
Can you launch Kinect Explorer and let us know if you can actually see any of the color sensor properties in the kinect explorer Tab?
Thanks
Shankar
Madhura Suresh
Madhura Suresh 2015년 7월 14일
Are you using Windows 8 with Kinect for Windows sensor? Thanks, Madhura

답변 (4개)

zhoutong zhang
zhoutong zhang 2015년 5월 26일
I think you used Kinect V1 for Xbox instead of Kinect V1 for windows. I encountered the same problem with the xbox version, yet everything works fine with the windows version.

Roc
Roc 2014년 8월 25일
Hi, I also encountered this error when I launched kinect to preview the color sensor in the image acquisition toolbox(2014a).Depth sensor seems to work fine.
  댓글 수: 2
vianney p
vianney p 2016년 4월 12일
I have a similar problem but matlab 2015 does not work with color/ir and depth data. Can you solve the problem? Thank you
Walter Roberson
Walter Roberson 2016년 4월 12일
vianney, which Kinect are you using?

Raghad
Raghad 2014년 10월 16일
Hiiii, I am facing the same problem
did you figure out how to solve it ?????
  댓글 수: 2
Shankar Subramanian
Shankar Subramanian 2015년 3월 4일
Hi Raghad,
Can you launch Kinect Explorer and let us know if you can actually see any of the color sensor properties in the kinect explorer Tab?
Thanks
Shankar
zhoutong zhang
zhoutong zhang 2015년 5월 26일
I think you used Kinect V1 for Xbox instead of Kinect V1 for windows. I encountered the same problem with the xbox version, yet everything works fine with the windows version.

Siddhesh Gotad
Siddhesh Gotad 2015년 9월 25일
I was getting the same error with Matlab 2015a on kinect for xbox. I implemented the following code and got the desired output without any errors:
vid = videoinput('kinect', 1, 'RGB_640x480');
triggerconfig(vid,'manual');
set(vid,'FramesPerTrigger',1);
set(vid,'TriggerRepeat', Inf);
set(vid,'ReturnedColorSpace','rgb');
start(vid);
trigger(vid);
colorImage= getdata(vid);
stop(vid);

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by