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

4 views (last 30 days)
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

Answers (1)

Walter Roberson
Walter Roberson on 16 Jan 2018
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!