Clear Filters
Clear Filters

How to write an automatically generated text on an image in matlab?

1 view (last 30 days)
Hello.
I have an image with a number on it. I have detected and recognised the number in the picture and I would like to write the number matlab has recognised on the image. I tried using the text() command but in vain.
I wrote it as such :
text(120, 40, '%s', letter)
But this is wrong. Can anyone please help me with the syntax if what I want to be written in the image is stored in the variable 'letter'?
Can anyone please help me?
Thank you.

Accepted Answer

Walter Roberson
Walter Roberson on 18 Feb 2017
text(120, 40, letter)

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!