Machine vision with low-cost camera modules