Error in webcam_object_classification when using full HD webcam
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi,
I got trouble to use a full HD stream webcam in MATLAB R2018a. Here are the coding,
clear
% Connect to the camera
camera = webcam;
% Load the detector
load('detector1k')
% Preview video stream from the device
while true
picture = camera.snapshot; % Take a picture
label = classify(detector1k, picture); % Classify the picture
image(picture);
title(char(label));
end
and the error,
Dot indexing is not supported for variables of this type.
Error in webcam_object_classification (line 13)
picture = camera.snapshot; % Take a picture
Any kind of help will be appreciated. Thank you.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!