Study on visual detection technology of drug defects
On the basis of the unsatisfactory effect of visual inspection in pill defect detection,a more accu-rate,faster and more expensive pill detection method is proposed.The method is based on machine vision detection technology,and the use of image processing,edge detection,defect recognition algorithms,inclu-ding the original image median filter and mean filter which are two kinds of noise reduction preprocessing,hough transformation which locate the drugs and mask based background elimination,analysis and compari-son among canny,prewitt,sobel and roberts and other different edge detection operators'identification to the types of defects while marking the segmentation effect of the image.The experiment results show that the accuracy of this method is up to 96.67%,and the effect is ideal.