CN117314829A - Industrial part quality inspection method and system based on computer vision - Google Patents

Industrial part quality inspection method and system based on computer vision Download PDF

Info

Publication number
CN117314829A
CN117314829A CN202311110344.3A CN202311110344A CN117314829A CN 117314829 A CN117314829 A CN 117314829A CN 202311110344 A CN202311110344 A CN 202311110344A CN 117314829 A CN117314829 A CN 117314829A
Authority
CN
China
Prior art keywords
image data
industrial
industrial part
characteristic information
quality inspection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311110344.3A
Other languages
Chinese (zh)
Inventor
余丹
兰雨晴
李其蓁
邢智涣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Standard Intelligent Security Technology Co Ltd
Original Assignee
China Standard Intelligent Security Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Standard Intelligent Security Technology Co Ltd filed Critical China Standard Intelligent Security Technology Co Ltd
Priority to CN202311110344.3A priority Critical patent/CN117314829A/en
Publication of CN117314829A publication Critical patent/CN117314829A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/0464Convolutional networks [CNN, ConvNet]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06395Quality analysis or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/30Noise filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/54Extraction of image or video features relating to texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/56Extraction of image or video features relating to colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/764Arrangements for image or video recognition or understanding using pattern recognition or machine learning using classification, e.g. of video objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/82Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20084Artificial neural networks [ANN]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30164Workpiece; Machine component
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computing Systems (AREA)
  • Economics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Software Systems (AREA)
  • Strategic Management (AREA)
  • Educational Administration (AREA)
  • Tourism & Hospitality (AREA)
  • Medical Informatics (AREA)
  • Databases & Information Systems (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Quality & Reliability (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Manufacturing & Machinery (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Primary Health Care (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Molecular Biology (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Image Processing (AREA)

Abstract

The invention provides an industrial part quality inspection method and system based on computer vision. The industrial part quality inspection method based on computer vision comprises the following steps: acquiring image data of an industrial part by using a camera, and preprocessing the image data to obtain preprocessed image data; extracting features of the preprocessed image data to obtain feature information of the industrial part; analyzing the characteristic information by using a convolutional neural network model to obtain a defect detection result of the industrial part; and generating an industrial part quality inspection report according to the defect detection result. The system comprises modules corresponding to the method steps.

Description

Industrial part quality inspection method and system based on computer vision
Technical Field
The invention provides an industrial part quality inspection method and system based on computer vision, and belongs to the technical field of industrial part quality inspection.
Background
Conventional detection methods relying on manual visual inspection, manual measurement, ultrasonic detection, and the like, while playing a key role in many fields, are accompanied by a series of challenges and limitations. The problems of human error, subjectivity and low efficiency exist, and the ultrasonic detection and optical detection need professional personnel to operate and interpret results; specific defects are as follows:
human error and subjectivity: the manual visual inspection and measurement process is susceptible to subjective factors and individual differences of the operator. Different operators may have different observations and evaluations of the same situation, which may lead to inconsistent results. In addition, fatigue, distraction, or undertraining may also lead to the occurrence of human error.
The efficiency is low: manual inspection and measurement typically requires a significant amount of time and effort. For mass production or in the case where high frequency detection is required, this may not only increase the cost but also reduce the production efficiency. Furthermore, long repetitive tasks may lead to operator fatigue, thereby affecting accuracy.
Professional knowledge requirements: advanced techniques such as ultrasonic testing and optical testing typically require a specially trained operator to perform. This increases the cost of recruitment and training and may limit the widespread use of these techniques because of the need for specific expertise and skills.
Not adapted to the specific environment: some environmental conditions may pose challenges for manual detection, such as high temperature, low temperature, high radiation, or hazardous gas environments. In these cases, personnel safety and health may be compromised and accurate measurements may be difficult to obtain.
Disclosure of Invention
The invention provides a quality inspection method and a quality inspection system for industrial parts based on computer vision, which are used for solving the technical problems in the prior art, and the adopted technical scheme is as follows:
a computer vision-based industrial part quality inspection method, the computer vision-based industrial part quality inspection method comprising:
acquiring image data of an industrial part by using a camera, and preprocessing the image data to obtain preprocessed image data;
extracting features of the preprocessed image data to obtain feature information of the industrial part;
analyzing the characteristic information by using a convolutional neural network model to obtain a defect detection result of the industrial part;
and generating an industrial part quality inspection report according to the defect detection result.
Further, collecting image data of the industrial part by using a camera, preprocessing the image data to obtain preprocessed image data, including:
the method comprises the steps of utilizing a camera to acquire images of industrial parts appearing in a shooting visual field, and obtaining image data corresponding to the industrial parts;
preprocessing the image data corresponding to the industrial part to obtain preprocessed image data, wherein the preprocessing comprises noise reduction processing, contrast enhancement processing and brightness adjustment processing.
Further, feature extraction is performed on the preprocessed image data to obtain feature information of the industrial part, including:
extracting image data of each industrial part;
performing visual identification processing on the image data to obtain characteristic information of the industrial part contained in the image data;
wherein the characteristic information of the industrial part includes shape, color and texture.
Further, analyzing the characteristic information by using a convolutional neural network model to obtain a defect detection result of the industrial part, including:
inputting the characteristic information into a convolutional neural network model;
after the neural network model receives the characteristic information, carrying out characteristic identification on the characteristic information to judge whether the industrial part has defects or not;
and when the industrial part has defects, extracting defect distribution conditions of the industrial part, and marking the defects on image data corresponding to the industrial part.
Further, generating an industrial part quality inspection report according to the defect detection result, including:
after the defect detection of each batch of industrial parts is finished, extracting image data with defect marks in the image data corresponding to each batch of industrial parts;
counting the image data with the defect marks to generate an industrial part quality inspection report corresponding to each batch of industrial parts; wherein, the quality inspection report comprises the qualification and defect distribution conditions of the industrial parts.
A computer vision-based industrial part quality inspection system, the computer vision-based industrial part quality inspection system comprising:
the acquisition and processing module is used for acquiring image data of the industrial part by using the camera and preprocessing the image data to obtain preprocessed image data;
the characteristic information acquisition module is used for carrying out characteristic extraction on the preprocessed image data to obtain characteristic information of the industrial part;
the defect detection result acquisition module is used for analyzing the characteristic information by using a convolutional neural network model to obtain a defect detection result of the industrial part;
and the report generation module is used for generating an industrial part quality inspection report according to the defect detection result.
Further, the acquisition and processing module includes:
the image acquisition module is used for acquiring images of the industrial parts appearing in the shooting visual field by using the camera to obtain image data corresponding to the industrial parts;
the preprocessing module is used for preprocessing the image data corresponding to the industrial part to obtain preprocessed image data, wherein the preprocessing comprises noise reduction processing, contrast enhancement processing and brightness adjustment processing.
Further, the feature information acquisition module includes:
the image data extraction module is used for extracting the image data of each industrial part;
the visual identification processing module is used for performing visual identification processing on the image data to acquire characteristic information of the industrial part contained in the image data;
wherein the characteristic information of the industrial part includes shape, color and texture.
Further, the defect detection result obtaining module includes:
the information input module is used for inputting the characteristic information into the convolutional neural network model;
the defect judging module is used for carrying out characteristic identification on the characteristic information after the neural network model receives the characteristic information to judge whether the industrial part has defects or not;
and the defect marking module is used for extracting the defect distribution condition of the industrial part when the industrial part has defects, and marking the defects on the image data corresponding to the industrial part.
Further, the report generating module includes:
the mark extraction module is used for extracting image data with defect marks in the image data corresponding to each batch of industrial parts after the defect detection of each batch of industrial parts is finished;
the statistics report module is used for carrying out statistics on the image data with the defect marks to generate an industrial part quality inspection report corresponding to each batch of industrial parts; wherein, the quality inspection report comprises the qualification and defect distribution conditions of the industrial parts.
The invention has the beneficial effects that:
the invention provides a quality inspection method and system for industrial parts based on computer vision, which are characterized in that an industrial part image is acquired through a camera or external equipment, the defect detection and classification are carried out on the part image, the defect is marked, and the quality inspection result is fed back in real time; after finishing quality inspection of each batch of parts, generating a quality inspection report which comprises information such as qualification rate of the parts, defect distribution and the like, helping to know occurrence frequency of various defects and improving production process. Accuracy and consistency are improved, efficiency is improved, and real-time monitoring and quality control are realized.
Drawings
FIG. 1 is a flow chart of the method of the present invention;
fig. 2 is a system block diagram of the system of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present invention only, and are not intended to limit the present invention.
The embodiment of the invention provides an industrial part quality inspection method based on computer vision, which is shown in fig. 1 and comprises the following steps:
s1, acquiring image data of an industrial part by using a camera, and preprocessing the image data to obtain preprocessed image data;
s2, extracting features of the preprocessed image data to obtain feature information of the industrial part;
s3, analyzing the characteristic information by using a convolutional neural network model to obtain a defect detection result of the industrial part;
s4, generating an industrial part quality inspection report according to the defect detection result.
The working principle of the technical scheme is as follows: image acquisition and preprocessing (S1): image data of the industrial parts are acquired by a camera and then preprocessed. The preprocessing process comprises operations such as denoising, enhancement, image segmentation and the like, and aims to improve the accuracy of subsequent feature extraction and analysis.
Feature extraction (S2): and extracting characteristic information of the industrial part from the preprocessed image data. These features may include shape, texture, color, etc., which are critical to identifying defects in industrial parts.
Convolutional neural network analysis (S3): the extracted characteristic information is input into a Convolutional Neural Network (CNN) model for analysis. CNN is a deep learning model that can effectively learn and identify complex patterns in images. The model analyzes the characteristic information to detect whether the industrial part has a defect. This process typically requires a large amount of labeled training data to train the CNN model.
Generating a quality inspection report (S4): and generating a quality inspection report of the industrial part according to the output result of the CNN model. Reports typically include information about the status of industrial parts (normal or defective), the location and type of defects, and the like. These reports may be used in the fields of decision making, quality management and maintenance.
The technical scheme has the effects that: automation and efficiency: the method can realize automatic quality inspection of industrial parts, reduces manual operation and improves efficiency. It can process a large number of part images in a short time.
High precision and reliability: the convolutional neural network model has strong image recognition capability, can detect defects in industrial parts with high precision, and reduces false alarm and missing detection.
Real-time performance: due to the rapid processing capability of the computer vision and deep learning model, the method can perform quality inspection in real time and is suitable for application on continuous production lines.
Data recording and traceability: the generated quality inspection report can be used for recording the quality state of each industrial part, so that quality tracing and statistical analysis are realized, and the quality of products is improved.
In a word, the technical scheme of the embodiment realizes high-efficiency, accurate and automatic quality inspection of industrial parts by combining the image processing and the deep learning technology, and improves the level of quality control.
In one embodiment of the present invention, capturing image data of an industrial part using a camera and preprocessing the image data to obtain preprocessed image data, comprising:
s101, acquiring an image of an industrial part appearing in a shooting visual field by using a camera to obtain image data corresponding to the industrial part;
s102, preprocessing the image data corresponding to the industrial part to obtain preprocessed image data, wherein the preprocessing comprises noise reduction processing, contrast enhancement processing and brightness adjustment processing.
The working principle of the technical scheme is as follows: image acquisition (S101): first, an image of an industrial part present in its field of view is acquired using a camera. This means that the camera takes a picture or image of the industrial part, converting it into image data in digital form. These image data will be used for subsequent quality control analysis.
Image preprocessing (S102): the acquired image data often contains various noise and imperfections that may affect the accuracy of the quality inspection. Therefore, the image needs to be preprocessed before further analysis. The step of pre-treatment generally comprises:
and (3) noise reduction treatment: noise in the image is removed to reduce false positive or false negative results due to noise.
Contrast enhancement treatment: the contrast of the images is adjusted to highlight features of the industrial parts making them easier to analyze and identify.
Brightness adjustment processing: the brightness of the image is adjusted to ensure that the brightness level of the image is suitable for subsequent analysis requirements.
Through these preprocessing steps, improved, clean, well-contrasted image data is obtained, which facilitates subsequent feature extraction and quality inspection analysis.
The technical scheme has the effects that: improving the image quality: the preprocessing step helps to improve the quality of the image, removes noise and unnecessary interference, and makes the industrial parts more clearly visible.
Enhancement features: enhanced contrast and brightness adjustment can highlight features of industrial parts making them easier to identify and analyze by computer vision algorithms.
And (3) misjudgment is reduced: the noise reduction processing is helpful for reducing misjudgment caused by image noise, and improves the accuracy of quality inspection.
The adaptability: through the preprocessing step, the system can adapt to different illumination conditions and image quality, so that quality inspection is performed in various environments.
In a word, the image acquisition and preprocessing steps in the technical scheme of the embodiment are beneficial to improving the accuracy and reliability of quality inspection of industrial parts, so that the level of product quality control is improved.
In one embodiment of the present invention, feature extraction is performed on the preprocessed image data to obtain feature information of an industrial part, including:
s201, extracting image data of each industrial part;
s202, performing visual identification processing on the image data to acquire characteristic information of industrial parts contained in the image data;
wherein the characteristic information of the industrial part includes shape, color and texture.
The working principle of the technical scheme is as follows: extracting image data (S201): in this step, the image data of each industrial part is extracted from the preprocessed image data. This can be achieved by calibration or segmentation techniques to ensure that the image of each industrial part can be extracted independently for subsequent feature analysis.
Visual recognition processing (S202): next, visual recognition processing is performed on the extracted image data. This may include analyzing feature information of the industrial part contained in the image data using computer vision algorithms and techniques, such as Convolutional Neural Networks (CNNs), image segmentation, feature extraction, and the like.
Extracting characteristic information: during the visual recognition process, the system analyzes the image data and extracts characteristic information of the industrial part. Such characteristic information may include, but is not limited to:
shape: profile features of industrial parts such as contours, boundaries, etc.
Color: color information of industrial parts can be used to distinguish between different parts or anomalies.
Texture: texture features of industrial part surfaces, such as smoothness, roughness, etc.
The technical scheme has the effects that: automated feature extraction: through visual recognition processing, the system can automatically extract characteristic information from image data, so that the requirement of manual intervention is reduced, and the quality inspection efficiency is improved.
Multidimensional information: the extracted feature information includes aspects of shape, color, and texture, thereby providing a more comprehensive and accurate description of the features of the industrial part.
Accuracy: the feature extraction based on the computer vision algorithm can keep consistent accuracy in different scenes, and errors possibly introduced by artificial subjective judgment are avoided.
The adaptability: the method can be suitable for different types of industrial parts, and algorithm parameters and models only need to be adjusted according to actual needs.
In summary, the above technical solution of the present embodiment is helpful for converting image data into characteristic information about industrial parts, and provides a basis for subsequent defect detection and quality inspection result generation.
In one embodiment of the present invention, analyzing the characteristic information with a convolutional neural network model to obtain a defect detection result of an industrial part includes:
s301, inputting the characteristic information into a convolutional neural network model;
s302, after the neural network model receives the characteristic information, carrying out characteristic identification on the characteristic information to judge whether the industrial part has defects or not;
and S303, when the industrial part has defects, extracting defect distribution conditions of the industrial part, and marking the defects on image data corresponding to the industrial part.
The working principle of the technical scheme is as follows: inputting feature information (S301): first, the feature information extracted in the previous step is input into the convolutional neural network model. Such characteristic information includes characteristics of the shape, color, texture, etc. of the industrial part.
Feature recognition judgment (S302): after the convolutional neural network model receives the characteristic information, characteristic recognition and defect detection are started. The CNN model learns and extracts abstract representation of characteristic information through multi-layer convolution and pooling operation, and then classifies or regresses through a full connection layer to judge whether industrial parts have defects. The determination result may be binary (defect/no defect) or multi-category (different types of defects).
Defect distribution extraction and marking (S303): if the CNN model judges that the industrial part has defects, the defect distribution situation is extracted. This may include determining information of the location, size, shape, etc. of the defect. Then, defect marking is performed on the image data corresponding to the industrial part, typically by drawing a bounding box or marking defective pixels.
The technical scheme has the effects that: automated defect detection: by using the convolutional neural network model, the system can automatically detect defects, reduce the dependence on manual operation and improve the efficiency and consistency.
High accuracy: the CNN model can learn complex characteristic representation under a large amount of training data, so that highly accurate defect detection can be realized, and the probability of missing detection and false detection is reduced.
Real-time performance: the convolutional neural network can perform image processing and defect detection at real-time or nearly real-time speed, and is suitable for production environments requiring rapid feedback.
Marking defects: when a defect is detected, the system may automatically mark the defect, helping the operator to more easily identify and address the problem.
In a word, the technical scheme of the embodiment realizes the defect detection of the industrial parts through the deep learning technology of the convolutional neural network, and improves the efficiency and accuracy of quality inspection.
According to one embodiment of the invention, the quality inspection report of the industrial part is generated according to the defect detection result, and the quality inspection report comprises the following components:
s401, after the defect detection of each batch of industrial parts is finished, extracting image data with defect marks in image data corresponding to each batch of industrial parts;
s402, counting the image data with the defect marks to generate an industrial part quality inspection report corresponding to each batch of industrial parts; wherein, the quality inspection report comprises the qualification and defect distribution conditions of the industrial parts.
The working principle of the technical scheme is as follows: extracting image data with defect marks (S401): after each batch of industrial parts is finished with defect detection, the system extracts image data with defect marks from the image data corresponding to the batch of industrial parts. These image data contain the identified defects and their location information.
Statistical defect information (S402): next, the system performs a statistical analysis on the image data with the defect markers. This includes counting the total number, the number of pass, and the number of fail for each batch of industrial parts. Meanwhile, the distribution situation of the defects, including the information of the types, the number, the positions and the like of the defects, is analyzed.
Generating a quality inspection report: based on the results of the statistical analysis, the system generates a quality inspection report of the industrial part. This report typically includes the following:
qualified number: the report will indicate how many of the industrial parts in the batch are acceptable, i.e., the number of industrial parts for which defects have not been identified.
Number of rejects: the report may indicate how many industrial parts were identified as failed, i.e., the number of defective industrial parts.
Defect distribution conditions: the report will detail the defect distribution of each failed industrial part, including information on the type, location, size, etc. of the defect.
Summary and advice: based on the analysis results, the report may provide summary and improvement suggestions to improve the quality of production.
The technical scheme has the effects that: automatic report generation: according to the technical scheme, the quality inspection report is generated through an automatic process, so that the time and the workload for compiling the manual report are reduced.
Accuracy: reports are generated based on actual defect detection results, so that the reports have high accuracy, and production management staff can be helped to accurately know the quality condition of each batch of industrial parts.
Real-time performance: reports can be generated immediately after each batch of industrial parts is inspected, providing timely feedback, and facilitating early discovery and resolution of quality problems.
Improved production: by analyzing the defect distribution situation and providing improvement suggestions, the technical scheme is beneficial to the improvement of the production process, and the overall quality level of the industrial parts is improved.
In a word, the technical scheme of the embodiment helps production management staff to know the quality condition of industrial parts by automatically generating quality inspection reports, and provides targeted improvement suggestions, so that the efficiency and quality of a production flow are improved.
The embodiment of the invention provides an industrial part quality inspection system based on computer vision, as shown in fig. 2, which comprises:
the acquisition and processing module is used for acquiring image data of the industrial part by using the camera and preprocessing the image data to obtain preprocessed image data;
the characteristic information acquisition module is used for carrying out characteristic extraction on the preprocessed image data to obtain characteristic information of the industrial part;
the defect detection result acquisition module is used for analyzing the characteristic information by using a convolutional neural network model to obtain a defect detection result of the industrial part;
and the report generation module is used for generating an industrial part quality inspection report according to the defect detection result.
The working principle of the technical scheme is as follows: image acquisition and preprocessing: image data of the industrial parts are acquired by a camera and then preprocessed. The preprocessing process comprises operations such as denoising, enhancement, image segmentation and the like, and aims to improve the accuracy of subsequent feature extraction and analysis.
Feature extraction: and extracting characteristic information of the industrial part from the preprocessed image data. These features may include shape, texture, color, etc., which are critical to identifying defects in industrial parts.
Convolutional neural network analysis: the extracted characteristic information is input into a Convolutional Neural Network (CNN) model for analysis. CNN is a deep learning model that can effectively learn and identify complex patterns in images. The model analyzes the characteristic information to detect whether the industrial part has a defect. This process typically requires a large amount of labeled training data to train the CNN model.
Generating a quality inspection report: and generating a quality inspection report of the industrial part according to the output result of the CNN model. Reports typically include information about the status of industrial parts (normal or defective), the location and type of defects, and the like. These reports may be used in the fields of decision making, quality management and maintenance.
The technical scheme has the effects that: automation and efficiency: the method can realize automatic quality inspection of industrial parts, reduces manual operation and improves efficiency. It can process a large number of part images in a short time.
High precision and reliability: the convolutional neural network model has strong image recognition capability, can detect defects in industrial parts with high precision, and reduces false alarm and missing detection.
Real-time performance: due to the rapid processing capability of the computer vision and deep learning model, the method can perform quality inspection in real time and is suitable for application on continuous production lines.
Data recording and traceability: the generated quality inspection report can be used for recording the quality state of each industrial part, so that quality tracing and statistical analysis are realized, and the quality of products is improved.
In a word, the technical scheme of the embodiment realizes high-efficiency, accurate and automatic quality inspection of industrial parts by combining the image processing and the deep learning technology, and improves the level of quality control.
In one embodiment of the present invention, the acquisition and processing module includes:
the image acquisition module is used for acquiring images of the industrial parts appearing in the shooting visual field by using the camera to obtain image data corresponding to the industrial parts;
the preprocessing module is used for preprocessing the image data corresponding to the industrial part to obtain preprocessed image data, wherein the preprocessing comprises noise reduction processing, contrast enhancement processing and brightness adjustment processing.
The working principle of the technical scheme is as follows: and (3) image acquisition: first, an image of an industrial part present in its field of view is acquired using a camera. This means that the camera takes a picture or image of the industrial part, converting it into image data in digital form. These image data will be used for subsequent quality control analysis.
Image preprocessing: the acquired image data often contains various noise and imperfections that may affect the accuracy of the quality inspection. Therefore, the image needs to be preprocessed before further analysis. The step of pre-treatment generally comprises:
and (3) noise reduction treatment: noise in the image is removed to reduce false positive or false negative results due to noise.
Contrast enhancement treatment: the contrast of the images is adjusted to highlight features of the industrial parts making them easier to analyze and identify.
Brightness adjustment processing: the brightness of the image is adjusted to ensure that the brightness level of the image is suitable for subsequent analysis requirements.
Through these preprocessing steps, improved, clean, well-contrasted image data is obtained, which facilitates subsequent feature extraction and quality inspection analysis.
The technical scheme has the effects that: improving the image quality: the preprocessing step helps to improve the quality of the image, removes noise and unnecessary interference, and makes the industrial parts more clearly visible.
Enhancement features: enhanced contrast and brightness adjustment can highlight features of industrial parts making them easier to identify and analyze by computer vision algorithms.
And (3) misjudgment is reduced: the noise reduction processing is helpful for reducing misjudgment caused by image noise, and improves the accuracy of quality inspection.
The adaptability: through the preprocessing step, the system can adapt to different illumination conditions and image quality, so that quality inspection is performed in various environments.
In a word, the image acquisition and preprocessing steps in the technical scheme of the embodiment are beneficial to improving the accuracy and reliability of quality inspection of industrial parts, so that the level of product quality control is improved.
In one embodiment of the present invention, the feature information obtaining module includes:
the image data extraction module is used for extracting the image data of each industrial part;
the visual identification processing module is used for performing visual identification processing on the image data to acquire characteristic information of the industrial part contained in the image data;
wherein the characteristic information of the industrial part includes shape, color and texture.
The working principle of the technical scheme is as follows: extracting image data: in this step, the image data of each industrial part is extracted from the preprocessed image data. This can be achieved by calibration or segmentation techniques to ensure that the image of each industrial part can be extracted independently for subsequent feature analysis.
Visual recognition processing: next, visual recognition processing is performed on the extracted image data. This may include analyzing feature information of the industrial part contained in the image data using computer vision algorithms and techniques, such as Convolutional Neural Networks (CNNs), image segmentation, feature extraction, and the like.
Extracting characteristic information: during the visual recognition process, the system analyzes the image data and extracts characteristic information of the industrial part. Such characteristic information may include, but is not limited to:
shape: profile features of industrial parts such as contours, boundaries, etc.
Color: color information of industrial parts can be used to distinguish between different parts or anomalies.
Texture: texture features of industrial part surfaces, such as smoothness, roughness, etc.
The technical scheme has the effects that: automated feature extraction: through visual recognition processing, the system can automatically extract characteristic information from image data, so that the requirement of manual intervention is reduced, and the quality inspection efficiency is improved.
Multidimensional information: the extracted feature information includes aspects of shape, color, and texture, thereby providing a more comprehensive and accurate description of the features of the industrial part.
Accuracy: the feature extraction based on the computer vision algorithm can keep consistent accuracy in different scenes, and errors possibly introduced by artificial subjective judgment are avoided.
The adaptability: the method can be suitable for different types of industrial parts, and algorithm parameters and models only need to be adjusted according to actual needs.
In summary, the above technical solution of the present embodiment is helpful for converting image data into characteristic information about industrial parts, and provides a basis for subsequent defect detection and quality inspection result generation.
In one embodiment of the present invention, the defect detection result obtaining module includes:
the information input module is used for inputting the characteristic information into the convolutional neural network model;
the defect judging module is used for carrying out characteristic identification on the characteristic information after the neural network model receives the characteristic information to judge whether the industrial part has defects or not;
and the defect marking module is used for extracting the defect distribution condition of the industrial part when the industrial part has defects, and marking the defects on the image data corresponding to the industrial part.
The working principle of the technical scheme is as follows: inputting characteristic information: first, the feature information extracted in the previous step is input into the convolutional neural network model. Such characteristic information includes characteristics of the shape, color, texture, etc. of the industrial part.
And (3) feature identification judgment: after the convolutional neural network model receives the characteristic information, characteristic recognition and defect detection are started. The CNN model learns and extracts abstract representation of characteristic information through multi-layer convolution and pooling operation, and then classifies or regresses through a full connection layer to judge whether industrial parts have defects. The determination result may be binary (defect/no defect) or multi-category (different types of defects).
Defect distribution extraction and marking: if the CNN model judges that the industrial part has defects, the defect distribution situation is extracted. This may include determining information of the location, size, shape, etc. of the defect. Then, defect marking is performed on the image data corresponding to the industrial part, typically by drawing a bounding box or marking defective pixels.
The technical scheme has the effects that: automated defect detection: by using the convolutional neural network model, the system can automatically detect defects, reduce the dependence on manual operation and improve the efficiency and consistency.
High accuracy: the CNN model can learn complex characteristic representation under a large amount of training data, so that highly accurate defect detection can be realized, and the probability of missing detection and false detection is reduced.
Real-time performance: the convolutional neural network can perform image processing and defect detection at real-time or nearly real-time speed, and is suitable for production environments requiring rapid feedback.
Marking defects: when a defect is detected, the system may automatically mark the defect, helping the operator to more easily identify and address the problem.
In a word, the technical scheme of the embodiment realizes the defect detection of the industrial parts through the deep learning technology of the convolutional neural network, and improves the efficiency and accuracy of quality inspection.
In one embodiment of the invention, the report generating module includes:
the mark extraction module is used for extracting image data with defect marks in the image data corresponding to each batch of industrial parts after the defect detection of each batch of industrial parts is finished;
the statistics report module is used for carrying out statistics on the image data with the defect marks to generate an industrial part quality inspection report corresponding to each batch of industrial parts; wherein, the quality inspection report comprises the qualification and defect distribution conditions of the industrial parts.
The working principle of the technical scheme is as follows: extracting image data with defect marks: after each batch of industrial parts is finished with defect detection, the system extracts image data with defect marks from the image data corresponding to the batch of industrial parts. These image data contain the identified defects and their location information.
Counting defect information: next, the system performs a statistical analysis on the image data with the defect markers. This includes counting the total number, the number of pass, and the number of fail for each batch of industrial parts. Meanwhile, the distribution situation of the defects, including the information of the types, the number, the positions and the like of the defects, is analyzed.
Generating a quality inspection report: based on the results of the statistical analysis, the system generates a quality inspection report of the industrial part. This report typically includes the following:
qualified number: the report will indicate how many of the industrial parts in the batch are acceptable, i.e., the number of industrial parts for which defects have not been identified.
Number of rejects: the report may indicate how many industrial parts were identified as failed, i.e., the number of defective industrial parts.
Defect distribution conditions: the report will detail the defect distribution of each failed industrial part, including information on the type, location, size, etc. of the defect.
Summary and advice: based on the analysis results, the report may provide summary and improvement suggestions to improve the quality of production.
The technical scheme has the effects that: automatic report generation: according to the technical scheme, the quality inspection report is generated through an automatic process, so that the time and the workload for compiling the manual report are reduced.
Accuracy: reports are generated based on actual defect detection results, so that the reports have high accuracy, and production management staff can be helped to accurately know the quality condition of each batch of industrial parts.
Real-time performance: reports can be generated immediately after each batch of industrial parts is inspected, providing timely feedback, and facilitating early discovery and resolution of quality problems.
Improved production: by analyzing the defect distribution situation and providing improvement suggestions, the technical scheme is beneficial to the improvement of the production process, and the overall quality level of the industrial parts is improved.
In a word, the technical scheme of the embodiment helps production management staff to know the quality condition of industrial parts by automatically generating quality inspection reports, and provides targeted improvement suggestions, so that the efficiency and quality of a production flow are improved.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (10)

1. The industrial part quality inspection method based on computer vision is characterized by comprising the following steps of:
acquiring image data of an industrial part by using a camera, and preprocessing the image data to obtain preprocessed image data;
extracting features of the preprocessed image data to obtain feature information of the industrial part;
analyzing the characteristic information by using a convolutional neural network model to obtain a defect detection result of the industrial part;
and generating an industrial part quality inspection report according to the defect detection result.
2. The reliability multicast method based on receiver confirmation maximum reliability frame according to claim 1, wherein capturing image data of an industrial part by a camera and preprocessing the image data to obtain preprocessed image data, comprising:
the method comprises the steps of utilizing a camera to acquire images of industrial parts appearing in a shooting visual field, and obtaining image data corresponding to the industrial parts;
preprocessing the image data corresponding to the industrial part to obtain preprocessed image data, wherein the preprocessing comprises noise reduction processing, contrast enhancement processing and brightness adjustment processing.
3. The reliability multicast method based on the receiver confirmation maximum reliability frame according to claim 1, wherein the feature extraction is performed on the preprocessed image data to obtain feature information of an industrial part, comprising:
extracting image data of each industrial part;
performing visual identification processing on the image data to obtain characteristic information of the industrial part contained in the image data;
wherein the characteristic information of the industrial part includes shape, color and texture.
4. The reliability multicast method based on the receiver confirmation maximum reliability frame according to claim 1, wherein analyzing the characteristic information with a convolutional neural network model to obtain a defect detection result of an industrial part comprises:
inputting the characteristic information into a convolutional neural network model;
after the neural network model receives the characteristic information, carrying out characteristic identification on the characteristic information to judge whether the industrial part has defects or not;
and when the industrial part has defects, extracting defect distribution conditions of the industrial part, and marking the defects on image data corresponding to the industrial part.
5. The reliability multicast method based on receiver confirmation maximum reliability frame according to claim 1, wherein generating an industrial part quality inspection report according to a defect detection result comprises:
after the defect detection of each batch of industrial parts is finished, extracting image data with defect marks in the image data corresponding to each batch of industrial parts;
counting the image data with the defect marks to generate an industrial part quality inspection report corresponding to each batch of industrial parts; wherein, the quality inspection report comprises the qualification and defect distribution conditions of the industrial parts.
6. A computer vision-based industrial part quality inspection system, the computer vision-based industrial part quality inspection system comprising:
the acquisition and processing module is used for acquiring image data of the industrial part by using the camera and preprocessing the image data to obtain preprocessed image data;
the characteristic information acquisition module is used for carrying out characteristic extraction on the preprocessed image data to obtain characteristic information of the industrial part;
the defect detection result acquisition module is used for analyzing the characteristic information by using a convolutional neural network model to obtain a defect detection result of the industrial part;
and the report generation module is used for generating an industrial part quality inspection report according to the defect detection result.
7. The receiver acknowledgement maximum reliability multicast system according to claim 6, wherein the acquisition and processing module comprises:
the image acquisition module is used for acquiring images of the industrial parts appearing in the shooting visual field by using the camera to obtain image data corresponding to the industrial parts;
the preprocessing module is used for preprocessing the image data corresponding to the industrial part to obtain preprocessed image data, wherein the preprocessing comprises noise reduction processing, contrast enhancement processing and brightness adjustment processing.
8. The receiver acknowledgement maximum reliable frame based reliability multicast system according to claim 6, wherein the characteristic information obtaining module comprises:
the image data extraction module is used for extracting the image data of each industrial part;
the visual identification processing module is used for performing visual identification processing on the image data to acquire characteristic information of the industrial part contained in the image data;
wherein the characteristic information of the industrial part includes shape, color and texture.
9. The reliability multicast system based on receiver-acknowledged maximum reliability frames according to claim 6, wherein said defect detection result acquisition module comprises:
the information input module is used for inputting the characteristic information into the convolutional neural network model;
the defect judging module is used for carrying out characteristic identification on the characteristic information after the neural network model receives the characteristic information to judge whether the industrial part has defects or not;
and the defect marking module is used for extracting the defect distribution condition of the industrial part when the industrial part has defects, and marking the defects on the image data corresponding to the industrial part.
10. The reliability multicast system based on receiver acknowledgement maximum reliability frames according to claim 6, wherein said report generating module comprises:
the mark extraction module is used for extracting image data with defect marks in the image data corresponding to each batch of industrial parts after the defect detection of each batch of industrial parts is finished;
the statistics report module is used for carrying out statistics on the image data with the defect marks to generate an industrial part quality inspection report corresponding to each batch of industrial parts; wherein, the quality inspection report comprises the qualification and defect distribution conditions of the industrial parts.
CN202311110344.3A 2023-08-30 2023-08-30 Industrial part quality inspection method and system based on computer vision Pending CN117314829A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311110344.3A CN117314829A (en) 2023-08-30 2023-08-30 Industrial part quality inspection method and system based on computer vision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311110344.3A CN117314829A (en) 2023-08-30 2023-08-30 Industrial part quality inspection method and system based on computer vision

Publications (1)

Publication Number Publication Date
CN117314829A true CN117314829A (en) 2023-12-29

Family

ID=89285642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311110344.3A Pending CN117314829A (en) 2023-08-30 2023-08-30 Industrial part quality inspection method and system based on computer vision

Country Status (1)

Country Link
CN (1) CN117314829A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118521223A (en) * 2024-07-19 2024-08-20 长春师范大学 Part machining defect detection system based on visual detection

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118521223A (en) * 2024-07-19 2024-08-20 长春师范大学 Part machining defect detection system based on visual detection
CN118521223B (en) * 2024-07-19 2024-09-13 长春师范大学 Part machining defect detection system based on visual detection

Similar Documents

Publication Publication Date Title
US12020415B2 (en) Method for monitoring manufacture of assembly units
CN112534470B (en) System and method for image-based target object inspection
CN109840900B (en) Fault online detection system and detection method applied to intelligent manufacturing workshop
CN110490842B (en) Strip steel surface defect detection method based on deep learning
CN110186375A (en) Intelligent high-speed rail white body assemble welding feature detection device and detection method
CN117664990A (en) Intelligent PCBA appearance defect detection method
CN117314829A (en) Industrial part quality inspection method and system based on computer vision
CN110738630A (en) Training method and detection system of recursive deep learning system
CN113128555A (en) Method for detecting abnormality of train brake pad part
CN117723739B (en) Quality analysis method and system for low-carbon lubricating oil
CN117252840B (en) Photovoltaic array defect elimination evaluation method and device and computer equipment
CN112465784A (en) Method for detecting appearance abnormity of subway clamp
CN116840240A (en) Visual detection system of power supply distributor
Wang et al. Visual defect detection for substation equipment based on joint inspection data of camera and robot
CN112927170B (en) Automatic defect removing method in semiconductor manufacturing process
CN112508946B (en) Cable tunnel anomaly detection method based on antagonistic neural network
CN113192068A (en) AI visual inspection system for printed wiring board
CN117409332B (en) Long wood shaving appearance data detection system and method based on big data processing
CN117969553B (en) On-line visual detection system for appearance of TPV knitted composite pipe
CN118371734B (en) Additive manufacturing defect detection system and method based on deep learning
CN117350990A (en) Industrial surface flaw detection method and system based on anti-reflection processing algorithm
CN114299035A (en) Camera surface detection method and system based on deep learning
CN118425148A (en) AOI detection method and device
Nishant et al. Review on Machine Learning based Visual Inspection System
CN118396957A (en) Assembly on-line measuring platform based on machine vision

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination