Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
Shinobu
Shinobu le 18 Fév 2017
Commenté : Shinobu le 19 Fév 2017
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.

Réponse acceptée

Walter Roberson
Walter Roberson le 18 Fév 2017
text(120, 40, letter)
  1 commentaire
Shinobu
Shinobu le 19 Fév 2017
Thank you very much Walter. Thank you for your quick response.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by