word count of a document image

9 views (last 30 days)
Balkar Singh
Balkar Singh on 11 Apr 2020
Commented: Balkar Singh on 12 Apr 2020
How can I count words in a document image or from a string.

Accepted Answer

KSSV
KSSV on 11 Apr 2020
  1. If you have a string...you can use striaght away length to get its size.
  2. If you have a paragraph: https://in.mathworks.com/matlabcentral/answers/79459-how-to-count-the-no-of-words-in-a-sentence
  3. If you have a image, read about ocr. https://in.mathworks.com/help/vision/examples/recognize-text-using-optical-character-recognition-ocr.html

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!