Undefined variable "vision" or class "vision.Ca​scadeObjec​tDetector"​.

every time i enter this code:
myFaceDetector = vision.CascadeObjectDetector;
i get this error
Undefined variable "vision" or class "vision.CascadeObjectDetector".
how do i fix this?
MATLAB R2019a

5 个评论

Check to see if you've the 'Computer Vision System Toolbox' installed by typing ver at the MATLAB command prompt.
yes 'Computer Vision System Toolbox' installed
Try
>>restoredefaultpath
>>rehash toolboxcache
I have same error help me please,I try what you say but nothing happen
What shows up for
ver('vision')
which -all vision.CascadeObjectDetector

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Computer Vision Toolbox 的更多信息

产品

版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by