Display video on axes control in matlab

1 回表示 (過去 30 日間)
Akmel
Akmel 2015 年 1 月 11 日
コメント済み: Image Analyst 2015 年 1 月 11 日
I am working with a video on matlab. I write the code to display the video on axes and it is displaying the video. But the video displayed is rotated 90 degree anti-clockwise. When I capture one of the frame as an image and display in another axes the same thing will happen. Is this the problem of the video or there is a solution for this problem. I am guessing if the size of the video may not fit into the axes control interms of width and height.
In addition how can I add a rectangle box on the moving object (in my case a car) after making subtraction from consecutive frames to identify and track the objects. Then I will try to extract the objects based on the size of the rectangle for matching with an already save template of objects to identify whether it is a car or not.
Thanks in advance for helping!!!

採用された回答

Image Analyst
Image Analyst 2015 年 1 月 11 日
Some cameras have a "flip" property. If not, turn your camera upside down.
  2 件のコメント
Akmel
Akmel 2015 年 1 月 11 日
The same thing is happening. May be the problem is from my device. I will try to use a different camera. Thanks a lot.
Image Analyst
Image Analyst 2015 年 1 月 11 日
It's hard to say without actually having your device. Contact the Mathworks or the camera manufacturer.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Support Package for USB Webcams についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by