The goal of the OCR Custom Routine is to be able to read codes, labels or other characters. This chapter tells you everything you need to know to perform this custom routine.
Once you have captured an image in the Image Source, you can select it in the Custom Routine Configuration Bar under Image Source. Without this selection, the routine cannot be started.
Click on the Play button in the Control Bar to start the stream. Depending on which capture mode you have set, your image will appear as a stream.
Switch from the original image to the acquisition image so that you can see your settings directly.
This setting allows you to rotate the image. For example, if your code is upside down, you can set the camera orientation to 180.
Here you can choose between Single Image and Image Fusion.
- With Single Image, exactly one image is captured.
- Image Fusion uses external light. The component is exposed and photographed from each of the four sides in turn. Once all four images have been taken, they are merged into one. Thus, digits can be recognized better due to the shading.
Under Process you set the Machine Visionyou need to read out digits or characters.
Upload your training set here. The training set contains only digits and the raw image should be processed so that only digits can be recognized.
Use Special Digit Differentiation
If you activate this feature, numbers and letters that are often confused with other numbers or letters because of their similar structure – for example, the 8 and the 0 – are checked again afterwards to see which of the two numbers it is in the end.
Here you can select a value between 1 and 15. The larger you choose this value, the sooner the gaps between the letters will be closed. This is how small holes in objects are closed by connecting them together.
Largest Noise Area
Here you can select a value between 0 and 10000. With this value you define the size of the disturbance. It is the number of pixels in the area. You can use it to adjust how much noise is allowed in the image.
Use this parameter to make adjustments to the threshold value. The identified mean value is changed by your value set here.
Here you set the size of the area in which a local threshold is determined. The larger the value, the larger the area in which the mean value for the threshold is calculated.
Smoothing Kernel Size
Here you set the surface size to be used for smoothing.
Enable the button if you want the set to learn with the help of artificial intelligence.
Largest Noise Region
The value you select determines the maximum width of the region in which the Noise Area may extend.
The value you select determines the maximum height of the region where the Noise Area is allowed to extend.
Width Range Max
The set value determines the maximum width that the letter or digit to be read out can have.
Width Range Min
The set value determines the minimum width that the letter or digit to be read out can have.
Height Range Max
The set value determines the maximum height that the letter or digit to be read out can have.
Height Range Min
The set value determines the minimum height that the letter or digit to be read out can have.
Number of Characters
With this value you can specify how many letters/characters should be recognized or how many letters the code has.
Here you can choose between dark and light. You can decide whether you want the code/characters light and the background dark or the code dark and the background light.
3. FTP Settings
If you want to save your images on the FTP server, you must enter your details here under the FTP Settings.
Select your created FTP Connection under this item. You can create them under the Connections item.
Enter the path of your storage location where you want to save your images. Thus, a new folder is created for the operation.
Use FTP Transfer
Here you can select whether you want to use the transfer to the FTP server or not. Only if the button is enabled, images will be saved on your server.
Under this point you can create a new IQPress Connection. IQPress is a database system to which you can assign and extract data.
Part Number Delay
Here you can set an individual delay until a part is called up in the database.
Here you can select whether you want to use IQPress or not.
Under the menu item PLC you can create a PLC-Connection and thus call a connection via a web interface
Here you can either select a PLC connection or create a new one. If you click the icon next to this item, a dialog box for creating a new connection will open.
Select here whether you want to use PLC or not.
Specify here which data block you want to select.
Specify here which byte should be your start byte.