Detection of defective pharmaceutical capsules and its types of defect using image processing techniques | IEEE Conference Publication | IEEE Xplore