Undefined variable "vision" or class "vision.TextInserter".

조회 수: 1 (최근 30일)
HEMANT GHUGE
HEMANT GHUGE 2018년 1월 16일
답변: Walter Roberson 2018년 1월 16일
vision.BlobAnalysis didn't give me error but vision.TextInserter does show a error
error is like this
Undefined variable "vision" or class "vision.TextInserter".
Error in blobDetection_bhima (line 51) hTextIns = vision.TextInserter('%d','Location',[20 20],'Color',...
Please help me

답변 (1개)

Walter Roberson
Walter Roberson 2018년 1월 16일
The R2016a release notes for Computer Vision toolbox say that as of that release that using vision.TextInserter will start warning and that the routine would go away at some point. The routine appears to have gone away by now, though the removal was not noted in the release notes.
You should be using insertText instead.

Community Treasure Hunt

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

Start Hunting!

Translated by