【发布时间】:2014-12-10 17:11:18
【问题描述】:
在 Matlab 中心 (http://www.mathworks.com/matlabcentral/answers/26033-how-to-insert-text-into-image) 我找到了这段代码:
Text = sprintf('Create text inserter object \nwith same property values');
H = vision.TextInserter(Text);
H.Color = [1.0 1.0 0];
H.FontSize = 20;
H.Location = [25 25];
I = im2double((imread('football.jpg')));
InsertedImage = step(H, I);
imshow(InsertedImage);
如何在不使用计算机视觉系统工具箱的情况下做同样的事情?
谢谢
【问题讨论】:
-
只需使用文本注释就可以了。 mathworks.com/help/matlab/ref/text.html
标签: matlab matlab-cvst