Info
This question is closed. Reopen it to edit or answer.
I am trying to introduce live feed in finding distance from a person using stereo vision in MATLAB
2 views (last 30 days)
Show older comments
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 Comments
Sandro Lecci
on 18 May 2018
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
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!