How to set the correct Player location ??

Hello. I am following the guideline below.
https://kr.mathworks.com/help/vision/examples/depth-estimation-from-stereo-video.html
I used stereo camera calibrator and export camera parameters. and I copy and paste the commend from the link.
Question 1. Regarding 'create video file readers and the video player',
player = vision.DeployableVideoPlayer('Location', [20,400]);
What is the meaning of the [20,400]??
Qeustion2. Regarding the 'Read and Rectify Video Frames', I copy and paste this part but I got an part of the rectified video frames. I can not see the original size rectified video frames. I guess it should be related with the ('location ,[20, 400]') or stereo calibration step..
Please help ..

 Accepted Answer

Location is the place to position the bottom left corner of the player, in pixels, from the bottom left of the screen. The default is to put it in the middle of the screen

6 Comments

Thank you for your reply!
Then, in my case, should I put like this?
[-60000, 150000]
I am not clear.. please help.. Also, I don't know why the rectified video frame size is so small...
-60000 would put it somewhere around 130 metres to the left of your screen.
Either leave out the option or use 0 0 for now
I am really sorry........I can not understand.. what you mentioned..could you please answer me more clearly... so sorry....
player = vision.DeployableVideoPlayer('Location', [0,0]);
Thank you so much for your answer. However, I still have a very small Rectified Video Frames... Do you know how to solve this??
Sorry I do not know how to solve that.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!