Unable to resolve the name vision.VideoFileReader
Afficher commentaires plus anciens
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;
Réponse acceptée
Plus de réponses (1)
鑫 叶
le 12 Mar 2022
Modifié(e) : Image Analyst
le 12 Mar 2022
0 votes
I have the same trouble as you. How did you figure it out in the end?
2 commentaires
Image Analyst
le 12 Mar 2022
Modifié(e) : Image Analyst
le 12 Mar 2022
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.
鑫 叶
le 1 Mai 2022
Thank you !
Catégories
En savoir plus sur Computer Vision Toolbox dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!