Machine vision based defect detection approach using image processing | Synapse