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

2 次查看(过去 30 天)
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.

类别

Help CenterFile Exchange 中查找有关 Computer Vision Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by