Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Bottled liquid impurity and liquid level detection method based on image processing

A bottled liquid, image processing technology, applied in the field of image processing, to achieve the effect of reducing conservatism

Active Publication Date: 2016-02-17
HARBIN ENG UNIV
View PDF2 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the shortcomings of the above two liquid impurity detection methods in the application of bottled liquid detection and the requirements of industrial sites for simple principle, convenient operation, low cost and real-time detection without the aid of external detection instruments, more effective detection algorithms are yet to be developed. further development

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Bottled liquid impurity and liquid level detection method based on image processing
  • Bottled liquid impurity and liquid level detection method based on image processing
  • Bottled liquid impurity and liquid level detection method based on image processing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention will be further explained below in conjunction with the drawings. Since the invention only introduces the algorithm of the detection system, the following schematic diagram only shows the basic composition related to the invention.

[0022] An algorithm for detecting impurities and liquid level in bottled liquids based on image processing. The specific algorithm is as follows:

[0023] a. The camera collects and inputs the image to be processed;

[0024] b. Create a memory space for storing images after each step of processing;

[0025] Call the cvCreatImage() function in OpenCV to create the memory used to store the image after each step of processing.

[0026] c. Use Gaussian filtering to perform grayscale smoothing on the image;

[0027] d. Use the improved otsu adaptive threshold segmentation algorithm to find the threshold T 1 ;

[0028] e. A certain proportion of the threshold found in d is enlarged to obtain a new threshold T 2 ; The specific algorithm...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a bottled liquid impurity and liquid level detection method based on image processing. The bottled liquid impurity and liquid level detection method comprises following steps: a, images to be processes are collected and inputted by a camera; b, a memory space used for storing images obtained via each step of treatment is constructed; c, Gaussian filtering is adopted for image grayscale smoothing treatment; d, improved otsu auto-thresholding algorithm is adopted so as to obtain a threshold T1; e, the threshold T1 is subjected to amplification so as to obtain a new threshold T2; f, the threshold T2 is used for binary-morphology treatment of the images obtained via Gaussian filtering; g, detection on impurities and liquid level is carried out, and results are outputted; and h, the memory space is released. The bottled liquid impurity and liquid level detection method is capable of realizing self-adaptive adjustment of thresholds in a certain light range. It is shown by experiment results that the bottled liquid impurity and liquid level detection method is capable of identifying impurities with a diameter larger than 0.5mm, detecting liquid level accurately, giving an alarm on unqualified products, and rejecting unqualified products.

Description

Technical field [0001] The invention relates to an image processing method, in particular to a bottled liquid impurity and liquid level detection method based on image processing. Background technique [0002] As we all know, whether the bottled liquid contains impurities is related to the safety of food and medicine. Food safety issues have become a hot topic in today's society, so it is very important to strictly control the sanitation in the food production process and ensure food safety. However, nowadays, most domestic enterprises and product production workshops use traditional visual recognition. This recognition method is slow, the inspectors are prone to fatigue, and the reliability is poor. Regardless of the practicality or the cost requirements of enterprises, it is a trend to use image processing methods with simple principles, low costs and easy operations to detect food. [0003] There is no fixed algorithm for image processing. Research on image processing must tak...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G01N21/90G01F23/00
CPCG01F23/00G01N21/90
Inventor 韩云涛程章龙杜世通吴振张晓涛李伟强宝琛韩鹏刘晓晴王洪兴
Owner HARBIN ENG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products