unable to resolve the name vision.CascadeObjectDetector
Show older comments
faceDetector = vision.CascadeObjectDetector();
unable to resolve the name vision.CascadeObjectDetector error is coming what should i do?
1 Comment
Rakib Hasan
on 28 Oct 2021
I need that answer also. Please someone?
Answers (2)
Walter Roberson
on 28 Oct 2021
Edited: Walter Roberson
on 28 Oct 2021
0 votes
You need to have the Computer Vision Toolbox licensed and installed. (And you need to be using R2012a or later.)
sir,may be use R2021 version,such as
clc; clear all; close all;
faceDetector = vision.CascadeObjectDetector();
[im,map] = imread('kids.tif');
im = ind2rgb(im,map);
bbox = faceDetector.step(im);
figure; imshow(im,[]);
hold on; rectangle('position', bbox(1,:), 'EdgeColor', 'g', 'LineWidth', 2)
hold on; rectangle('position', bbox(2,:), 'EdgeColor', 'g', 'LineWidth', 2)
Categories
Find more on Computer Vision Toolbox 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!