Reading the text engraved in the metal surface, with preprocessing to adapt to optical condition.
The optical conditions require special pre-processing. Smoothing, binarization, dilation and blob finding are used for the segmentation. Smoothing and inversion are used for the classification.
Starting this sample is possible either by running the App (F5) or debugging (F7+F10). Setting breakpoint on the first row inside the 'main' function allows debugging step-by-step after 'Engine.OnStarted' event. Results can be seen in the image viewer on the DevicePage. Restarting the Sample may be necessary to show images after loading the web-page. To run this Sample a device with SICK Algorithm API, HALCON support and AppEngine >= V2.5.0 is required. For example SIM4000 with latest firmware. Alternatively the Emulator in AppStudio 2.3 or higher can be used in conjunction with a HALCON developer license and dongle.
Tutorial "Algorithms - OCR"
Algorithm, Image-2D, OCR, Sample, SICK-AppSpace