Avertissement

You are reading an old version of this documentation. If you want up-to-date information, please have a look at 5.1 .

Camera configuration wizard

This wizard guides you to finalize the vision system installation and to perform the vision calibration.

../../_images/camera_configuration_wizard.png

Fig. 109 Camera configuration wizard

The camera configuration wizard consists of 8 steps.

Before starting this wizard, ensure the camera is correctly installed:

  • Camera is placed above the center of the Asycube plate.

  • Distance between the front face of the lens and the Asycube plate corresponds to your EYE+ kit working distance (see Tableau 7).

  • The camera EYE+ logo is oriented opposite to the Asycube connectors (Fig. 20).

  • The lens cover is removed.

Note

Refer to section Mounting the camera and the lens to get more information.

1. Before you start

You must remove the production plate from the Asycube and mount the vision calibration plate on it. Refer to section Mounting vision calibration plate to mount it properly. The vision calibration plate must be rigidly fixed to the Asycube.

Prepare a ruler (in meters or inches).

Important

Keep the same installation it would be in production state. For example if in production state something obstructs the view of the camera on the side of the Asycube (for example a hopper), you must leave this element as it will allow to define the region of interest in your installation during the camera configuration.

../../_images/camera_configuration_before_you_start.png

Fig. 110 Before you start

2. Set lighting

The system informs you if an Asycube is connected and what is the color of its backlight.

You have to choose the available lighting you want to use when configuring the camera. You can turn on and off the backlight and frontlight, but you have to select at least one.

Astuce

We advise you to provide all available lighting. This will also correspond to the lighting available when creating a recipe later. For the calibration, the system will automatically choose the most appropriate lighting.

../../_images/camera_configuration_set_lighting.png

Fig. 111 Set lighting

3. Set aperture

Adjust the camera aperture to 5.6. This aperture is well adapted to the camera and lens provided in the EYE+ kit to achieve optimal contrast in the images. Then you can lock this aperture value using the top screw of the lens.

../../_images/camera_configuration_set_aperture.png

Fig. 112 Set aperture

4. Center position

Check here if your vision system is properly mounted. If it is not, you will need to adjust your installation properly.

../../_images/camera_configuration_center_position1.png

Fig. 113 Center position

Astuce

If the calibration plate is not correctly visible (too dark), turn on the backlight.

Camera positioning

You must adjust the position of the camera until the center of the green cross is roughly in the center of the vision calibration plate. Once this is done, the camera can be rigidly fixed. Never move the camera after this.

../../_images/not_centered.png

Fig. 114 Not well centered

../../_images/centered.png

Fig. 115 Well centered

Note

The camera configuration is robust enough so that the edges of the calibration plate can be partially hidden. On the long side, it is possible to hide one line of the checkerboard and on the short side, it is possible to hide 3 lines. This kind of situation occurs, for example, if you have a partially overlapping hopper on the plate.

However, if too many rows or columns are hidden, the system will throw the error: « not enough lines or column detected ».

Image orientation

You must orient the image so that the connectors are on the left side (red rectangle in Fig. 116). Click on FLIP CAMERA if the connectors are on the wrong side.

Avertissement

If the connectors are on the top or bottom, this means that the mounting of your camera is incorrectly oriented (shifted by 90°). The system will throw the error: « wrong orientation detected ».

The EYE+ logo of the camera must be oriented opposite the Asycube connectors (Fig. 20).

../../_images/camera_configuration_center_position2.png

Fig. 116 Live view on the Asycube: the green cross must be centered on the central pattern of the vision calibration plate.

5. Adjust focus

Adjust the focus until the image is as sharp as possible. Then you can fix this focus value with the bottom screw of the lens.

Avertissement

If you do not perform this step correctly, you may reduce the performance of image analysis.

Astuce

If the calibration plate is not correctly visible (too dark), turn on the backlight.

../../_images/camera_configuration_adjust_focus.png

Fig. 117 Adjust focus

6. Measure working distance

Measure the distance from the calibration plate to front face of the lens. This working distance is required in order to correct the parallax effect on your parts. Enter this measurement value in the interface.

../../_images/camera_configuration_measure_working_distance.png

Fig. 118 Measure the working distance

Note

For more information about what parallax effect is and how it is corrected, refer to the section Parallax correction.

7. Perform vision calibration

../../_images/camera_configuration_perform_vision_calibration.png

Fig. 119 Perform vision calibration

Make sure that the field of view of the plate is clear and then click START VISION CALIBRATION.

This step starts the vision calibration. It will take into account the parameters previously input. Vision calibration applies corrections to the image using the checkerboard printed on the vision calibration plate. The vision calibration performs:

  • Distortion correction

  • RMS error of the distortion correction calculation

  • Region of interest (ROI) definition

  • Pixel-millimeter or pixel-inch scale calculation

  • Parallax correction

Note

Refer to section What performs vision calibration? to have more information about the vision corrections.

8. Camera configuration results

On the camera configuration results, you can see one image before and one image after vision calibration (Fig. 120).

../../_images/camera_configuration_result.png

Fig. 120 Camera configuration result

Note

The before/after image presented might be very similar as the lenses we have selected for the vision kit have a very little fish-eye effect.

The green rectangle on the right image represents the region of interest.

The RMS error and the pixel-millimeter or pixel-inch scale are displayed here.

Avertissement

If the RMS error is greater than 1, the correction is not applicable.

If you are satisfied with the results, you can click on the FINISH AND SAVE CAMERA CONFIGURATION to save and close the wizard.