You are here: Start » Program Examples » Two-camera application - multiple threads
Two-camera application - multiple threads
Aim:
The aim of the project is to find defects on a bottle cap. The application shows how to handle two image sources in parallel.
Input:
Images of the front and the top view of a bottle.
Output:
The inspection result and information about any present defects.
Hints:
To process the images in parallel, there should be a separate Worker Task for each image.
The information about creating the HMI is available here.
Solution (AVS):
Macrofilter Main.
Macrofilter TriggerCameras(True).
Macrofilter Image1_MainLoop.
Macrofilter Image2_MainLoop.
Further Readings
- Shape Fitting - This article presents usage of the Shape Fitting technique.
- Shape Fitting Filter Group - List of all filters used to perform Shape Fitting.