??? Undefined variable "vision" or class "vision.CascadeObjectDetector". How solve this error
Show older comments
hi friends,
i installed matlab 7.12.035 (R2011a) version in my system ,and installed the "Computer Vision System toolbox" also but it through this "??? Undefined variable "vision" or class "vision.CascadeObjectDetector"" error..
For this error i tried
>> Ver
-------------------------------------------------------------------------------------
MATLAB Version 7.12.0.635 (R2011a)
MATLAB License Number: ••••••
Operating System: Microsoft Windows 7 Version 6.1 (Build 7600)
Java VM Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
-------------------------------------------------------------------------------------
MATLAB Version 7.12 (R2011a)
Simulink Version 7.7 (R2011a)
Aerospace Blockset Version 3.7 (R2011a)
Aerospace Toolbox Version 2.7 (R2011a)
Bioinformatics Toolbox Version 3.7 (R2011a)
Communications System Toolbox Version 5.0 (R2011a)
Computer Vision System Toolbox Version 4.0 (R2011a)
Control System Toolbox Version 9.1 (R2011a)
Curve Fitting Toolbox Version 3.1 (R2011a)
DO Qualification Kit Version 1.4 (R2011a)
DSP System Toolbox Version 8.0 (R2011a)
Data Acquisition Toolbox Version 2.18 (R2011a)
Database Toolbox Version 3.9 (R2011a)
Datafeed Toolbox Version 4.1 (R2011a)
EDA Simulator Link Version 3.3 (R2011a)
Econometrics Toolbox Version 2.0 (R2011a)
Embedded Coder Version 6.0 (R2011a)
Filter Design HDL Coder Version 2.8 (R2011a)
Financial Derivatives Toolbox Version 5.7 (R2011a)
Financial Toolbox Version 4.0 (R2011a)
Fixed-Income Toolbox Version 2.1 (R2011a)
Fixed-Point Toolbox Version 3.3 (R2011a)
Fuzzy Logic Toolbox Version 2.2.13 (R2011a)
Gauges Blockset Version 2.0.5 (R2011a)
Global Optimization Toolbox Version 3.1.1 (R2011a)
IEC Certification Kit Version 1.4 (R2011a)
Image Acquisition Toolbox Version 4.1 (R2011a)
Image Processing Toolbox Version 7.2 (R2011a)
Instrument Control Toolbox Version 2.12 (R2011a)
MATLAB Builder EX Version 2.0 (R2011a)
MATLAB Builder JA Version 2.2.2 (R2011a)
MATLAB Builder NE Version 4.0 (R2011a)
MATLAB Coder Version 2.0 (R2011a)
MATLAB Compiler Version 4.15 (R2011a)
MATLAB Distributed Computing Server Version 5.1 (R2011a)
MATLAB Report Generator Version 3.10 (R2011a)
Mapping Toolbox Version 3.3 (R2011a)
Model Predictive Control Toolbox Version 3.3 (R2011a)
Model-Based Calibration Toolbox Version 4.2 (R2011a)
Neural Network Toolbox Version 7.0.1 (R2011a)
OPC Toolbox Version 3.0 (R2011a)
Optimization Toolbox Version 6.0 (R2011a)
Parallel Computing Toolbox Version 5.1 (R2011a)
Partial Differential Equation Toolbox Version 1.0.18 (R2011a)
Phased Array System Toolbox Version 1.0 (R2011a)
RF Toolbox Version 2.8.1 (R2011a)
Real-Time Windows Target Version 3.7 (R2011a)
Robust Control Toolbox Version 3.6 (R2011a)
Signal Processing Toolbox Version 6.15 (R2011a)
SimBiology Version 3.4 (R2011a)
SimDriveline Version 2.0 (R2011a)
SimElectronics Version 1.6 (R2011a)
SimEvents Version 3.1.2 (R2011a)
SimHydraulics Version 1.9 (R2011a)
SimMechanics Version 3.2.2 (R2011a)
SimPowerSystems Version 5.4 (R2011a)
SimRF Version 3.0.2 (R2011a)
Simscape Version 3.5 (R2011a)
Simulink 3D Animation Version 5.3 (R2011a)
Simulink Coder Version 8.0 (R2011a)
Simulink Control Design Version 3.3 (R2011a)
Simulink Design Optimization Version 1.2.1 (R2011a)
Simulink Design Verifier Version 2.0 (R2011a)
Simulink Fixed Point Version 6.5 (R2011a)
Simulink HDL Coder Version 2.1 (R2011a)
Simulink PLC Coder Version 1.2 (R2011a)
Simulink Report Generator Version 3.10 (R2011a)
Simulink Verification and Validation Version 3.1 (R2011a)
Spreadsheet Link EX Version 3.1.3 (R2011a)
Stateflow Version 7.7 (R2011a)
Statistics Toolbox Version 7.5 (R2011a)
Symbolic Math Toolbox Version 5.6 (R2011a)
System Identification Toolbox Version 7.4.2 (R2011a)
SystemTest Version 2.6.1 (R2011a)
Vehicle Network Toolbox Version 1.4 (R2011a)
Wavelet Toolbox Version 4.7 (R2011a)
xPC Target Version 5.0 (R2011a)
xPC Target Embedded Option Version 5.0 (R2011a)
-------------------------------------------------------------------------------
pls,suggest me the solution for this..
thank you,
5 Comments
Kiran Kintali
on 21 Feb 2013
vision.CascadeObjectDetector is not available in R2011a. It was shipped in R2012a.
Thanks.
Rahul VM
on 23 May 2017
Is there any equivalent command for 'CascadeObjectDetector' in computer vision toolbox (version 4.0) matlab 2011? I wanted to detect face of a person from his image. Any suggestions for substitute functions would be appreciated
Walter Roberson
on 23 May 2017
You might be able to call upon the third-party OpenCV library. In later versions of MATLAB, a specific interface is provided for doing that, but you would need to use loadlibrary()
soumya sagar sahoo
on 25 Mar 2018
Rahul VM your problem was solved? if it was done then please help me and send the command to this mail id soumyasahoo170@gmail.com
Akshay Bhati
on 8 Nov 2018
I'm also getting the same error. I am trying to make drowsiness detection system in matlab. How can I solve this error?
Answers (1)
Walter Roberson
on 20 Feb 2013
You might have installed the software, but did you license it?
What does
which -all vision
indicate?
Categories
Find more on Multirate and Multistage Filters in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!