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

조회 수: 36 (최근 30일)
RAJ BHANDERI
RAJ BHANDERI 2019년 10월 31일
답변: yanqi liu 2021년 11월 5일
faceDetector = vision.CascadeObjectDetector();
unable to resolve the name vision.CascadeObjectDetector error is coming what should i do?

답변 (2개)

Walter Roberson
Walter Roberson 2021년 10월 28일
편집: Walter Roberson 2021년 10월 28일
You need to have the Computer Vision Toolbox licensed and installed. (And you need to be using R2012a or later.)

yanqi liu
yanqi liu 2021년 11월 5일
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)

카테고리

Help CenterFile Exchange에서 Image Processing and Computer Vision에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by