unable to resolve the name vision.CascadeObjectDetector
조회 수: 36 (최근 30일)
이전 댓글 표시
faceDetector = vision.CascadeObjectDetector();
unable to resolve the name vision.CascadeObjectDetector error is coming what should i do?
답변 (2개)
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.)
댓글 수: 0
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)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing and Computer Vision에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!