Unable to resolve the name vision.VideoFileReader
조회 수: 18 (최근 30일)
이전 댓글 표시
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;
댓글 수: 0
채택된 답변
Gouri Chennuru
2020년 12월 21일
Hi,
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
추가 답변 (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
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Computer Vision Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!