In this paper we present a comparative study of two approaches for the detection of foreign objects in an industrial assembly line setting and proposes a complete solution from the findings. The methodology is vision based and can be used for processing 3D objects conveyed at a constant velocity. Out of the two methods, the CNN based approach is recommended to the company sponsoring this research. The design of the system is accomplished using a fixed camera, a display unit, a conveyor belt and further a raspberry pi or equivalent hardware to run the solution. The novelty of this solution is the possible full automation of the assembly line with low latency and high performance and with a small training dataset.