unable to resolve the name vision.Cas​cadeObject​Detector

36 visualizaciones (últimos 30 días)
RAJ BHANDERI
RAJ BHANDERI el 31 de Oct. de 2019
Respondida: yanqi liu el 5 de Nov. de 2021
faceDetector = vision.CascadeObjectDetector();
unable to resolve the name vision.CascadeObjectDetector error is coming what should i do?

Respuestas (2)

Walter Roberson
Walter Roberson el 28 de Oct. de 2021
Editada: Walter Roberson el 28 de Oct. de 2021
You need to have the Computer Vision Toolbox licensed and installed. (And you need to be using R2012a or later.)

yanqi liu
yanqi liu el 5 de Nov. de 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)

Categorías

Más información sobre Image Processing and Computer Vision en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by