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

Medicine bottle liquid level detection method based on image processing

A liquid level detection and image processing technology, applied in image data processing, image analysis, liquid/fluid solid measurement, etc.

Active Publication Date: 2015-08-05
SHANDONG UNIV
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the image is not corrected, the template matching cannot be performed, and the correct detection area cannot be obtained, and the correct liquid level height cannot be obtained

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
  • Medicine bottle liquid level detection method based on image processing
  • Medicine bottle liquid level detection method based on image processing
  • Medicine bottle liquid level detection method based on image processing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0031] Such as figure 1 Shown, Step 1: Create a benchmark template image

[0032] Collect a typical medicine bottle image, the reference template image requires clear and universal feature elements, remove redundant pixel information in the original image, and properly cut the template image to ensure that the reference template image is templated with the detected bottle When matching, it can be found quickly and the matching time is shortened.

[0033] Step 2: Read the benchmark template image, extract the features of the benchmark template image, create a matching template and establish a matching template coordinate system; figure 2 Shown is the matching template image of the example of the present invention; matching templates need to be found as much as possible, and the features of matching templates are required to be possessed by every image...

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 discloses a medicine bottle liquid level detection method based on image processing. The method includes the steps of collecting a typical medicine bottle image to establish a reference template image, establishing matching templates and coordinate systems of the matching templates, matching a plurality of collected image of a detected medicine bottle with the matching templates in a one-to-one mode to obtain a displacement matrix of the images of the detected medicine bottle obtaining a corrected image of the images of the detected medicine bottle through affine transformation, segmenting the corrected image to obtain detection areas, extracting liquid level strip shapes, obtaining the liquid level lowest point on the basis of the characteristics of the liquid level strip shapes, and judging the qualification of the medicine bottle according to the relation between the liquid level lowest point and the set liquid level lowest point threshold value alpha and the relation between the liquid level lowest point and the set highest threshold value beta. The method is rapid in detection speed, and the total processing time of all the images of liquid medicine of the single bottle is within 100 ms. The sub-pixel-level accuracy is achieved for detection, the pixel deviation caused by vibration of a mechanical platform is eliminated, and the detection accuracy is greatly improved.

Description

technical field [0001] The invention relates to machine vision detection technology, in particular to a liquid level detection method for medicine bottles based on image processing. Background technique [0002] Aqueous injection preparations are very common pharmaceutical preparations, and now my country's production of medical injections ranks among the top in the world. In the production process of water injection preparations, there are two factors that affect the quality of the medicine bottle leaving the factory. One factor is that there are tiny visible foreign objects inside the liquid medicine, and the other is caused by the quality of the non-medicine liquid. For example, the filling amount of the liquid medicine, the crack of the medicine bottle, the packaging of the medicine bottle, etc. While the machine detects the quality of the medicine bottle, the detection process of the capacity of the liquid medicine is essential. Traditional liquid level detection meth...

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
IPC IPC(8): G01F23/292G06T7/00
Inventor 李玮韩毅赵翠芬赵运德孙晓琳吕晨光蒋润辉许腾飞曾海滨谭径元
Owner SHANDONG 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