Hi,
Does anyone know how to insert text into the image?
I've been looking for some references and did not find it.
Is there a spesific algorithm to do it?
Thanks in advance!

 채택된 답변

Chandra Kurniawan
Chandra Kurniawan 2012년 1월 13일

1 개 추천

What version of Matlab are you using?
Is there computer vision system toolbox?
You can use vision.TextInserter from Matlab
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);
The result shown below

댓글 수: 1

Cecilia Adriana
Cecilia Adriana 2012년 1월 13일
I am using Matlab R2011a.
Thank you, sir
It works!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by