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!