The visual control plugin allows you to use a simple webcam as a system of optical recognition or vigilance.
With this tool, you can add a large quantity of resources to your logic programs. So, you will be able to take photographs, recognize parts/elements in terms of the function of their colour, or, for example, activate a relay when the camera detects movement in the area or areas that you have previously configured.
The plugin is extremely easy to use. So, using the visual control editor, you can choose the area or areas to control in order to detect movement or read the pixel colours to discriminate different parts.