How to add and delete text on certain frames in a matlab movie?
2 次查看(过去 30 天)
显示 更早的评论
Hi all, I have managed to read and display text within a running AVI video file, but now i want to only add text to certain frames...e.g frame 1-20 and 30-40....is there any way i can i can add text from one frame to another instead of it displaying throughout the whole video.
thank you.
Title_={'Smile'};
hText = text(x,y,'string');
imshow(Background);
text(40,100,Title_{1},'Color','r','FontWeight','Bold','FontSize',40);
delete(htext);
0 个评论
回答(1 个)
Walter Roberson
2014-4-25
(Note: you might find references to imtext() in postings; those references are either mistakes or obsolete and inserttext() is the correct name at the moment.)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computer Vision with Simulink 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!