Unable to resolve the name vision.VideoFileReader

33 visualizaciones (últimos 30 días)
Jun Jun
Jun Jun el 11 de Dic. de 2020
Comentada: Arjuna Maruf el 26 de Jun. de 2022
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;

Respuesta aceptada

Gouri Chennuru
Gouri Chennuru el 21 de Dic. de 2020
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 comentarios
Jun Jun
Jun Jun el 23 de Dic. de 2020
Thank you, I figured out at the end and installed the vision toolbox
Arjuna Maruf
Arjuna Maruf el 26 de Jun. de 2022
i have it but it still not work for me

Iniciar sesión para comentar.

Más respuestas (1)

鑫 叶
鑫 叶 el 12 de Mzo. de 2022
Editada: Image Analyst el 12 de Mzo. de 2022
I have the same trouble as you. How did you figure it out in the end?
  2 comentarios
Image Analyst
Image Analyst el 12 de Mzo. de 2022
Editada: Image Analyst el 12 de Mzo. de 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.
鑫 叶
鑫 叶 el 1 de Mayo de 2022
Thank you !

Iniciar sesión para comentar.

Categorías

Más información sobre Image Processing and Computer Vision en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by