- If you have a string...you can use striaght away length to get its size.
- If you have a paragraph: https://in.mathworks.com/matlabcentral/answers/79459-how-to-count-the-no-of-words-in-a-sentence
- If you have a image, read about ocr. https://in.mathworks.com/help/vision/examples/recognize-text-using-optical-character-recognition-ocr.html
word count of a document image
1 view (last 30 days)
Show older comments
How can I count words in a document image or from a string.
0 Comments
Accepted Answer
KSSV
on 11 Apr 2020
More Answers (0)
See Also
Categories
Find more on Convert Image Type 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!