Azzera filtri
Azzera filtri

How can i write a code to detect the numbers and alphabets in an image?

5 visualizzazioni (ultimi 30 giorni)
  3 Commenti
Kelechukwu Ezike
Kelechukwu Ezike il 12 Feb 2018
Hi Walter, I have control over the light and camera view. I can capture brighter images.However, my major challenge is the principle to base my algorithm on. Since the light intensity doesn't really vary about the embossed letters.
Walter Roberson
Walter Roberson il 12 Feb 2018
You currently have bright on one side of the box and comparative dim on the other side of the box. That makes it difficult to even find a correct bounding box to be able to isolate the box to have a chance to do threshold detection to find the letters. The specular reflections of the gold also make it difficult. I think better illumination would reduce the problems.

Accedi per commentare.

Risposte (1)

Image Analyst
Image Analyst il 12 Feb 2018
You need better image capture conditions, such as alignment and lighting. Then do a background correction. Then look at the Computer Vision System Toolbox, which has OCR capabilities. https://www.mathworks.com/help/vision/ref/ocr.html#bt548t1-2_1

Categorie

Scopri di più su Computer Vision Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by