Read Training Data.
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Mir AbdulRehman
le 25 Nov 2020
Commenté : Mir AbdulRehman
le 28 Nov 2020
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/428313/image.png)
Can Some one help me with this... I just started to work on Matlab and I wanted to make my first image processing project but I can't make the program righe. I don't know what's wrong. I wrote a Loop to access 34 files of Alpha numeric Characters having images of those characters.... I'm working on a custome OCR Model to train Neural Networks.
0 commentaires
Réponse acceptée
Walter Roberson
le 25 Nov 2020
Change the
+ '_'
to
+ "_"
You are currently doing numeric addition of characters, not appending. Using + to append only works for string() objects, but you are working with character vectors rather than string() objects. Changing that '_' to "_" happens to be in the right place to convert everything necessary into string objects.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Text Analytics Toolbox 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!