Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
I am trying to introduce live feed in finding distance from a person using stereo vision in MATLAB
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello! my main goal is to find distance from a person using stereovision. now i went through this matlab example "https://www.mathworks.com/help/vision/examples/depth-estimation-from-stereo-video.html" what i am trying to do is to introduce live feed in this example so that i can find distance from a person in live feed using my cameras . . . i made functions for video input objects, and tried to use them in this example instead of recorded video files but the matlab gives following error
while function for videoobject is given below which works properly and defines a video input object
kindly help me in using the right syntax or coding for introducing this live feed video input objects as input to the code mentioned in matlab example (shown as a link above) so that instead of using a video file , i can use live feed for finding distance to a person
댓글 수: 2
Sandro Lecci
2018년 5월 18일
Hi Junaid,
on Line 2 you consider videoobject as a function, where the result of it will be stored in videoFileLeft. However, the function videoobject does not have any output argument. Might it be that after the while loop is completed you pass the videoplayer back to the main function (testing.....m)?
Please also paste the code in the question or as an attachment instead of screenshots. It makes it easy for us to handle it and modify it.
Best, Sandro
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!