Research on online inspection system of emulsion explosive packaging defect based on machine vision

Similar documents
Analysis of TFT-LCD Point Defect Detection System Based on Machine Vision

Research on QR Code Image Pre-processing Algorithm under Complex Background

Research on the Algorithms of Lane Recognition based on Machine Vision

Study on Image Position Algorithm of the PCB Detection

Pupil Localization Algorithm based on Hough Transform and Harris Corner Detection

An adaptive container code character segmentation algorithm Yajie Zhu1, a, Chenglong Liang2, b

Computer Aided Drafting, Design and Manufacturing Volume 26, Number 2, June 2016, Page 18

Journal of Chemical and Pharmaceutical Research, 2015, 7(3): Research Article

Object Shape Recognition in Image for Machine Vision Application

Study on Gear Chamfering Method based on Vision Measurement

A Hand Gesture Recognition Method Based on Multi-Feature Fusion and Template Matching

Video Inter-frame Forgery Identification Based on Optical Flow Consistency

Measurements using three-dimensional product imaging

(Refer Slide Time 00:17) Welcome to the course on Digital Image Processing. (Refer Slide Time 00:22)

Fabric Defect Detection Based on Computer Vision

Rectangle Positioning Algorithm Simulation Based on Edge Detection and Hough Transform

Pedestrian Detection with Improved LBP and Hog Algorithm

Numerical Recognition in the Verification Process of Mechanical and Electronic Coal Mine Anemometer

Practical Image and Video Processing Using MATLAB

Research for Digital Video Image Processing of Table Tennis Ying Xuan1, Chang Liu2

Image Processing Fundamentals. Nicolas Vazquez Principal Software Engineer National Instruments

Types of Edges. Why Edge Detection? Types of Edges. Edge Detection. Gradient. Edge Detection

Analysis of Image and Video Using Color, Texture and Shape Features for Object Identification

LANE DEPARTURE WARNING SYSTEM FOR VEHICLE SAFETY

Based on correlation coefficient in image matching

OBJECT detection in general has many applications

An Online System for Detecting Bending in a Pallet Car

ENG 7854 / 9804 Industrial Machine Vision. Midterm Exam March 1, 2010.

CS443: Digital Imaging and Multimedia Binary Image Analysis. Spring 2008 Ahmed Elgammal Dept. of Computer Science Rutgers University

A Kind of Fast Image Edge Detection Algorithm Based on Dynamic Threshold Value

A Road Marking Extraction Method Using GPGPU

A New Technique of Extraction of Edge Detection Using Digital Image Processing

Introducing Robotics Vision System to a Manufacturing Robotics Course

Application of Geometry Rectification to Deformed Characters Recognition Liqun Wang1, a * and Honghui Fan2

The Study of Identification Algorithm Weeds based on the Order Morphology

A Method of weld Edge Extraction in the X-ray Linear Diode Arrays. Real-time imaging

Research and Design of Laser Accurate Displacement Measurement System Xiaogang Wang 1, a, Yuewei Bai 1,b and Kai Liu 1,c

Study on fabric density identification based on binary feature matrix

Multi-Step Segmentation Method Based on Adaptive Thresholds for Chinese Calligraphy Characters

AN EFFICIENT BINARIZATION TECHNIQUE FOR FINGERPRINT IMAGES S. B. SRIDEVI M.Tech., Department of ECE

Lane Markers Detection based on Consecutive Threshold Segmentation

Semi-Automatic Detection of Cervical Vertebrae in X-ray Images Using Generalized Hough Transform

Preceding vehicle detection and distance estimation. lane change, warning system.

Detecting square-shaped objects using the Hough transform

An algorithm of lips secondary positioning and feature extraction based on YCbCr color space SHEN Xian-geng 1, WU Wei 2

IRIS SEGMENTATION OF NON-IDEAL IMAGES

Laboratory of Applied Robotics

A Fast Method of Vehicle Logo Location Honglin Li

Counting Particles or Cells Using IMAQ Vision

Algorithm Optimization for the Edge Extraction of Thangka Images

Inspection of Rubber Cap Using ISEF (Infinite Symmetric Exponential Filter): An Optimal Edge Detection Method

Lane Detection using Fuzzy C-Means Clustering

Edge and local feature detection - 2. Importance of edge detection in computer vision

Automated Eddy Current Inspections of Complex, Irregular Surfaces

Mouse Pointer Tracking with Eyes

CS443: Digital Imaging and Multimedia Perceptual Grouping Detecting Lines and Simple Curves

CIRCULAR MOIRÉ PATTERNS IN 3D COMPUTER VISION APPLICATIONS

OBJECT SORTING IN MANUFACTURING INDUSTRIES USING IMAGE PROCESSING

Your Flowchart Secretary: Real-Time Hand-Written Flowchart Converter

One category of visual tracking. Computer Science SURJ. Michael Fischer

Research on Evaluation Method of Video Stabilization

The Population Density of Early Warning System Based On Video Image

Keywords: Thresholding, Morphological operations, Image filtering, Adaptive histogram equalization, Ceramic tile.

Detection, Classification, Evaluation and Compression of Pavement Information

Line Net Global Vectorization: an Algorithm and Its Performance Evaluation

Filtering Images. Contents

Grade 6 Number Strand

A Simple Automated Void Defect Detection for Poor Contrast X-ray Images of BGA

Improving the 3D Scan Precision of Laser Triangulation

Lecture 7: Most Common Edge Detectors

Defect Inspection of Liquid-Crystal-Display (LCD) Panels in Repetitive Pattern Images Using 2D Fourier Image Reconstruction

Vision System-based, Grape Leaves Processing, in Real Time

An Efficient Character Segmentation Algorithm for Printed Chinese Documents

Research on-board LIDAR point cloud data pretreatment

Lecture 9: Hough Transform and Thresholding base Segmentation

Image segmentation based on gray-level spatial correlation maximum between-cluster variance

Short Survey on Static Hand Gesture Recognition

Historical Handwritten Document Image Segmentation Using Background Light Intensity Normalization

Research on Multi-sensor Image Matching Algorithm Based on Improved Line Segments Feature

Face Recognition Technology Based On Image Processing Chen Xin, Yajuan Li, Zhimin Tian

An Image-based Laser Triangulation Width Model Applied in Sawn Lumber s External Face Measurement

Segmentation I: Edges and Lines

Estimation of Multiple Illuminants from a Single Image of Arbitrary Known Geometry*

Contour LS-K Optical Surface Profiler

CS6640: Image Processing Project 4 Hough Transform

Defect Detection of Regular Patterned Fabric by Spectral Estimation Technique and Rough Set Classifier

Online Signature Verification Technique

Transactions on Information and Communications Technologies vol 16, 1996 WIT Press, ISSN

Analysis Of Distance Measurement System Of Leading Vehicle

EE368 Project Report CD Cover Recognition Using Modified SIFT Algorithm

Failure Detection and Isolation in Ceramic Tile Edges Based on Contour Descriptor Analysis

CS534 Introduction to Computer Vision Binary Image Analysis. Ahmed Elgammal Dept. of Computer Science Rutgers University

Binary Image Processing. Introduction to Computer Vision CSE 152 Lecture 5

Adaptive Zoom Distance Measuring System of Camera Based on the Ranging of Binocular Vision

AN APPROACH OF SEMIAUTOMATED ROAD EXTRACTION FROM AERIAL IMAGE BASED ON TEMPLATE MATCHING AND NEURAL NETWORK

DT Vision Foundry. Now With FDA 21 CFR Part 11 Support, New Color Split Tool, and Many Enhancements!

International Journal of Advance Engineering and Research Development. Iris Recognition and Automated Eye Tracking

Bulk density estimation using a 3-dimensional image acquisition and analysis system

AAUITEC at ImageCLEF 2015: Compound Figure Separation

A Growth Measuring Approach for Maize Based on Computer Vision

Transcription:

Research on online inspection system of emulsion explosive packaging defect based on machine vision Yuesheng Wang *, and Zhipeng Liu School of Hangzhou Dianzi University, Hangzhou, China. Abstract. Roll packaging is the last step in the emulsion explosives production line. Due to various reasons, explosives may have defects in the packaging process. How to sort defective drug coils efficiently and accurately is a major problem. In this paper, an online detection system for drug package which based on machine vision is developed for the defect of emulsion explosive drug packaging. This paper mainly discusses the image preprocessing, image segmentation and feature extraction. The test and application show that the system can detect the defect drug coil better and has the advantages of fast and accurate, which can meet the needs of the production site. 1 Introduction In traditional industrial sites, workers are usually checking the quality of medicine packages along the production line and inspecting the operation of production lines. This method is inefficient and cannot guarantee the accuracy of the test. Machine vision [1] technology uses computers and video cameras instead of people to track, detect and judge the target. Its non-contact, precise, continuous, and efficient features for on-line detection of targets are ideally suited for applications in the explosive production environment. It enables people to get rid of dangerous and harsh working environments in explosives production workshops, and at the same time, it can detect explosives production conditions in real time online and collect valid data to provide important basis for production control. In this paper, the visual inspection system for drug package defects was developed for the problem of drug package defects. First introduced the overall structure of the system framework. Secondly, the specific methods of image preprocessing, image segmentation and image edge detection are discussed. Finally, the defect feature of the medicine image was extracted and the standard template of the medicine roll was established. The medicine image was collected in real time and compared with the standard template to realize on-line detection and identification of the package defect drug. 2 The system structure * Corresponding author: wys@hdu.edu.cn The Authors, published by EDP Sciences. This is an open access article distributed under the terms of the Creative Commons Attribution License 4.0 (http://creativecommons.org/licenses/by/4.0/).

As is shown in figure 1, the emulsion explosive defect detection system [2] consists of an image acquisition unit, an image processing unit, a host computer control unit, and an execution unit. In order to ensure the coverage of the entire detection area of the drug roll, two industrial cameras are used at the same time to avoid missing images at certain intervals. The camera collects images and then detects defects in the package. Eventually, the control unit controls the actuators to sort them. Fig. 1. System structure. 3 The design method 3.1 Problem Analysis Roll defects mainly refer to the abnormal contour of the roll or the rupture of the plastic film packaging bag to cause leakage of the emulsion explosive. At the same time, in the process of converting the explosive packaging machine, due to too little charge, the explosive surface is not full and other defects. According to the analysis of the explosive production process, the defect of the roll profile mainly occurs in the charging process, and the reasons are various. By analyzing the actual production process and collecting medicine roll images, the main manifestation of packaging defects is the unusual shape of the drug roll, which can be divided into: (A) side-end leakage drug of drug roll; B) drug leakage at both ends of drug roll; C) drug The package is not full. The parameters of the drug roll include the circumference, area, weight, color, angle, volume, length, width, and long section ratio of the drug roll. Through long-term practical experience, the difference between the defective drug roll and the qualified drug roll is mainly shown in length (L), width (W), and aspect ratio (RAT). Table1. Drug volume control. Cartridge The normal state Defect status A Defect status B Defect status C parameters L (unit :mm) 350 ~ 390 350 ~ 390 > 390 350 ~ 390 W(unit :mm) 36.0 ~ 42.5 > 42.5 36.0 ~ 42.5 <36.0 or >42.5 RAT 8.30 ~ 10.50 < 8.30 > 10.50 <8.3 0r >10.50 FORM Standard End leakage drug Port leakage drug The charge is not full The data in the table 1 shows that the lengths, widths, and aspect ratios of different types of drug cartridges are different. These three data can be used as defect features for detection and classification, and the characteristic values of the normal drug volumes are used as templates to be tested. The characteristic value of the drug roll is compared with the 2

characteristic value of the template drug roll to realize the identification and removal of the defective drug roll. 3.2 Image preprocessing First, the image is thresholded. Due to the fact that the conveyor belt on the industrial field roll packaging production line is basically green, the roll itself is mostly yellow, and the pixel values of the roll and the belt are very different. According to the histogram of image in figure 2, there are two peaks in the histogram, which represent the gray values of the pixels of the belt and the medicine roll. From this, it can be concluded that the front and rear views of the image are very easy to distinguish. Fig. 2. Roll image and its corresponding histogram. Fig. 3. Image of drug roll after OSTU threshold segmentation. Image processing takes the OSTU[3] threshold segmentation to find the optimal threshold. Split the image as shown in figure 3. After dividing, the binary image of the image can be obtained, and the medicine roll can be completely separated from the background. Due to the presence of noise, the corresponding filtering algorithm is used to smooth the rough edges of the drug roll. Then the Hough[4] algorithm is used to extract the contour of the image so as to obtain the feature value of the medicine image. 3.3 Edge detection - Hough algorithm For a straight line in the plane, in the Cartesian coordinate system, there are two types of representations: a little oblique and two-point. However, in the Hough transformation, another type of representation is considered: using (r, θ) to represent a straight line. Where r is the distance from the line to the origin, and θ is the angle between the vertical line of the 3

line and the x-axis. The idea of using a Hough transform to detect a straight line is to assume a straight line of n directions for each point, usually n is equal to 180. At this time, the angle accuracy of the detected straight line is 1, and calculate the (r, θ) of the n straight lines respectively. Coordinates, get n coordinate points. If there are N total points to be judged, the resulting (r, θ) coordinates are N*n. Regarding these N*n (r, θ) coordinates, where θ is a discrete angle, there are a total of 180 values. The most important place to come if multiple points are in a straight line,then there must be more than one point where θ is equal to a certain value, and r for multiple points is approximately equal to R i. Means that these multiple points are in a straight line ( R i, i ). Fig. 4. The intersection of six straight lines at each point. For the (r, θ) coordinates of 6 straight lines for which each point was found (figure 4), a total of 3*6 (r,θ) coordinates were obtained. It can be found that when θ is equal to 60, the r of the three points is approximately 80.7, and it can be determined that all three points are on the straight line (80.7, 60).This relationship can be more intuitively represented by the (r,θ) coordinate system. As shown below: The (r,θ) curves for the three points in the graph are grouped together. The intersection is the straight line passing through these three points. Fig. 5. Three-point (r,θ) curve. Figure 5 shows that, in general, a straight line can be detected by finding the number of curves that intersect at one point in the plane θ-r. And the more the curve intersects, the more the points the line represented by the intersection point consists of. We can define multiple curves to intersect at a point by setting the threshold of the point on the line so that it is considered that a straight line is detected. This is what the Hough transform does. It tracks the intersection of the curves at each point in the image. If the number of curves intersecting one point exceeds the threshold, then the parameters represented by this intersection can be considered as (θ, r ) in the original image is a straight line. 4

In this paper, the Hough algorithm is used to detect the edge of the drug image, and the canny edge detection and the Laplace detection effect are compared. The Hough algorithm's processing effect is obviously better (figure 6). Fig. 6. Canny, Laplace and Hough Algorithm renderings. 3.4 Drug coil defect feature extraction and identification It is mainly to obtain the profile features of the drug roll, specifically parameters such as L, W and a. Since the contour of the drug roll is relatively close to the rectangle, a rectangle can be used to approximate the drug roll contour indefinitely to obtain the minimum external rectangle of the drug roll (figure 7), so that L and W values can be obtained and the a value can be calculated. The specific steps are as follows: (1) Detect the contour of the drug roll; (2) Obtain the minimum circumscribed rectangle; (3) Calculate the vertices[5] of the circumscribed rectangle, L, W, and a. Finally, the acquired actual roll image is used to compare with the set S of standard template perimeters. Each acquired image is compared with the data of Table 1 to identify the defect category. Fig. 7. Drug coil minimum circumscribed rectangle. 4 The Experimental Results 5

Table 2. Test results. Defect type Average detection time(ms) Accuracy(%) Defect A 97 98.03 Defect B 93 98.56 Defect C 104 96.27 In the experiment, 100 defect images of three types were selected for inspection. Type A defects were defined as abnormal widths and lengths of standard drug coils. Type B was defined as abnormally long and normal widths of drug coils. Type C defects were defined as length and width. Abnormal drug roll, which class defect C refers to the charge is not saturated. Experimental results as shown in table 2, the three defects can be detected very well, at the same time very short, with a very high practicality. 5 Conclusion This article discusses the establishment of an emulsion explosives detection system based on machine vision. Using machine vision technology, the image collection, image processing, feature extraction, and defective drug roll identification and sorting were performed on the drug roll produced in the production process, and a good diagnostic effect was achieved. The main conclusions are as follows: The machine vision-based emulsion explosives detection system has the advantages of non-contact, precise, continuous, and high-efficiency. Compared to the original manual sorting, it saves a lot of manpower and material resources, and can also conduct better screening. Has a very high practicality.in the production process, it may also happen that there is a crack [6] in the drug package, which is the direction that the author needs to study in the later period, in order to be able to better solve various problems in the packaging production site. References 1. A binocular machine vision system for three-dimensional surface measurement of small objects. Dimitris G, Kostas P,Dido Y. Computerized Medical Imaging and Graphics (2007) 2. A machine vision approach to on-line estimation of run-of-mine ore composition on conveyor belts. Jayson T,Carl D,Gianni B. Mechanical Engineering (2007) 3. Image segmentation based on 2D Otsu method with histogram analysis. Zhang J,Hu J. 2008 International Conference on Computer Science and Software Engineering (2008) 4. A computer vision approach for weeds identification through Support Vector Machines[J]. Alberto Tellaeche,Gonzalo Pajares, Xavier P. Burgos-Artizzu,Angela Ribeiro. Applied Soft Computing Journal (2010) 5. Scheduling flow shops using differential evolution algorithm. G Onwubolu,D Davendra. European Journal of Operational Research (2006) 6. D.O. Cualain, C. Hughes, M. Glavin, E. Jones. Automotive standards-grade lane departure warning system. IET Intell. Transp. Syst (2012) 6