フィルターのクリア

Unable to resolve the name vision.VideoFileReader

20 ビュー (過去 30 日間)
Jun Jun
Jun Jun 2020 年 12 月 11 日
コメント済み: Arjuna Maruf 2022 年 6 月 26 日
This is the code I am trying to execute and I am ending up with the error message that it is "Unable to resolve the name vision.VideoFileReader"
Not getting what exactly is the issue. I have ensured the video file is selected from the right path but still not getting it. Kindly help
%% Set up video reader and player
vision.VideoFileReader('video2.avi')
videoFReader = vision.VideoFileReader('video2.avi',...
'VideoOutputDataType','double');
vidPlayer = vision.VideoPlayer;

採用された回答

Gouri Chennuru
Gouri Chennuru 2020 年 12 月 21 日
Hi,
In order use vision.VideoFileReader you need to install computer vision toolbox.
Make sure you have installed computer vision toolbox at your end by using "ver" command in your MATLAB command prompt.
If computer vision toolbox is not installed you can download from the below link
Hope this helps!
  2 件のコメント
Jun Jun
Jun Jun 2020 年 12 月 23 日
Thank you, I figured out at the end and installed the vision toolbox
Arjuna Maruf
Arjuna Maruf 2022 年 6 月 26 日
i have it but it still not work for me

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

その他の回答 (1 件)

鑫 叶
鑫 叶 2022 年 3 月 12 日
編集済み: Image Analyst 2022 年 3 月 12 日
I have the same trouble as you. How did you figure it out in the end?
  2 件のコメント
Image Analyst
Image Analyst 2022 年 3 月 12 日
編集済み: Image Analyst 2022 年 3 月 12 日
Yes, he said that he did not have the Computer Vision Toolbox and he installed that, and then it worked. If you don't have that (type "ver" to find out) then contact Mathworks sales.
However you can use VideoReader() and VideoWriter(), without the "vision." prefix, since those functions are built in to base MATLAB.
鑫 叶
鑫 叶 2022 年 5 月 1 日
Thank you !

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

カテゴリ

Help Center および File ExchangeImage Processing and Computer Vision についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by