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?
  1 件のコメント
Rakib Hasan
Rakib Hasan 2021 年 10 月 28 日
I need that answer also. Please someone?

サインインしてコメントする。

回答 (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 Center および File ExchangeImage 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