unable to resolve the name vision.CascadeObjectDetector
38 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
faceDetector = vision.CascadeObjectDetector();
unable to resolve the name vision.CascadeObjectDetector error is coming what should i do?
1 commentaire
Réponses (2)
Walter Roberson
le 28 Oct 2021
Modifié(e) : Walter Roberson
le 28 Oct 2021
You need to have the Computer Vision Toolbox licensed and installed. (And you need to be using R2012a or later.)
0 commentaires
yanqi liu
le 5 Nov 2021
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)
0 commentaires
Voir également
Catégories
En savoir plus sur Image Processing and Computer Vision dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!