In wine brewing process, the influence factors on the quality of the products, such as the quality of raw material, many process, brewing technology etc, another bottle of bottle, defects (bottle) and dirt and influence the quality of wine is a key factor. So before filling in the wine of empty bottles must be tested, the unqualified, can carry out the wine. But at present most of empty wine bottles or artificial detection, quality into line low efficiency, slow, labor intensity. Machine vision is in the process of production in large measure, check and bian, linear CCD in continuous online measurement, scanning the application is very obvious. Machine vision detecting method can greatly improve the degree of automation production, and is easy to realize the integration of information in machine vision, can greatly improve the product quality, improve production efficiency.

So, with this highly repetitive glass detection, application of machine vision theoretical development of a glass detection device realized the automation testing in the empty bottle has a great significance in practice. A visual description of machine vision, the machine is used for measuring machine instead of human and judgment. Machine vision system is through the machine vision product (i.e., CMOS image intake device and CCD two) will be converted image signal intake of target, send special image processing system, according to the pixel color brightness, distribution and information such as the signal, change into words, These signals of image system of feature extraction algorithm, and according to the results of the criterion of equipment control.