Understanding the vision.TextInserter ERROR
Mostra commenti meno recenti
Hi all and thank you in advance for assisting me,
I am applying the vision.TextInserter function for my code simulation and I am continously receiving this error!
Can some one help to understand this error please? I am not sure what this is but I have been reading the documentation and still Its evading me!
Please help!
my code is;
ishape = insertShape(FirstBeatFrame, 'rectangle',bboxOut,'Linewidth',4);
figure
subplot(1,2,1);
imshow(ishape), title('ishape image');
numobj = numel(objArea);
%% This is Line 103 From My Error%%
hTextIns = vision.TextInserter('%d','Location',[20 20],...
'Color',[255 255 0],'FontSize',30);
itext = step(hTextIns,ishape,int32(numobj));
subplot(1,2,2);
imshow(itext), title('itext image');
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
my error
Unable to resolve the name vision.TextInserter.
Error in blobAnalysis2 (line 103)
hTextIns = vision.TextInserter('%d','Location',[20 20],...
1 Commento
almog haviv
il 13 Gen 2022
Hello
How can I run this code with a usb camera ??
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!