Products which are produced in the pharmaceutical industry are of utmost importance. Not only it requires maximum attention and care, but also efficiency in control procedures during the manufacturing process. This where the major functionality of INSPECTION comes into picture. To increase the quality of products means to inspect good quality products from the rest. A fully automated visual inspection system is influential in the process of quality management. The use of camera and controlling device makes this system more efficient, more responsive and less time consuming.