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 Comments

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

Sign in to comment.

Answers (0)

Categories

Products

Release

R2019a

Asked:

on 2 May 2019

Commented:

on 16 Mar 2020

Community Treasure Hunt

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

Start Hunting!