An embedded machine vision system for an in-line quality check of assembly processes