Image data processing system and method integrating intelligent detection and automated testing

Through the image data processing method of front-end and back-end interaction, the image collection resolution and model training are dynamically updated, which solves the problem of machine vision system relying on input image quality and static models, improves recognition efficiency and accuracy, reduces hardware costs and avoids Errors accumulate.

CN112347947BActive Publication Date: 2024-08-27XIAMEN CHANGJIANG SERVICE NET CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011247432.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-10
Publication Date
2024-08-27
Estimated Expiration
2040-11-10

AI Technical Summary

Technical Problem

Machine vision systems rely on input image quality and static recognition models, resulting in limited detection progress and accuracy, and static models may lead to reduced recognition accuracy and accumulation of errors.

Method used

The front-end and back-end interactive image data processing method is used to dynamically adjust the image collection resolution and model training by initializing and updating the parameters of the image detection system to avoid error accumulation and improve recognition accuracy.

Benefits of technology

It improves the recognition efficiency and accuracy of the machine vision system, reduces hardware costs, avoids the problems of reduced recognition accuracy and accumulation of errors, and achieves stable and efficient detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112347947B
    Figure CN112347947B
Patent Text Reader

Abstract

The present invention proposes an image data processing system and method that integrates intelligent detection and automated testing. The method includes steps S100: initializing various parameters of the front-end image detection system; S200: using the front-end image detection system to obtain a sampled image of the target object; S300: using an image recognition model to perform target recognition on the sampled image, and determining whether there is an abnormality in the target recognition result; S400: sending the target recognition result and the sampled image to a back-end control platform; S500: receiving feedback information from the back-end control platform, and training and updating the image recognition model according to the feedback information; S600: updating various parameters of the front-end image detection system in response to the feedback information. The present invention also discloses an image data processing system that implements the method. The technical solution of the present invention can realize intelligent detection and automated testing of target objects based on the interaction between the front-end and the back-end.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of machine vision and image processing, and in particular relates to an image data processing method integrating intelligent detection and automated testing, and a computer-readable storage medium for implementing the method. Background Art

[0002] Machine vision technology is called the eyes of automation, and it is one of the hottest research topics in the field of artificial intelligence today. Although it is still a young discipline and has not yet formed a complete theoretical system, it is one of the core contents for achieving highly automated industrial production, intelligent robots, autonomous vehicle navigation, automatic target tracking, and various industrial inspection, medical and military applications.

[0003] The machine vision system captures images through image capture devices (such as CMOS and CCD), and the image processing system obtains image information and converts it into digital information including pixel values, brightness and chromaticity. By processing and analyzing this information, a series of industrial operations such as monitoring or detection are completed. Not only in the industrial field, machine vision has played an important role in various fields such as agriculture, military, aerospace, and transportation. In modern industrial automated production, it is often necessary to perform various real-time positioning, inspection monitoring, packaging and classification of products. Especially in large-scale industrial production processes, the use of manual detection methods often leads to low production efficiency and low accuracy due to fatigue caused by workers performing repetitive and single work for a long time or subjective effects of people, which greatly increases the production cost of enterprises. In addition, there are some harsh and dangerous environments that are not suitable for human work or situations where human vision cannot meet the requirements, which greatly restricts the development of industry and is not conducive to the intelligent management of enterprises. Moreover, with the continuous transformation of modern production models, enterprises have continuously improved their requirements for production levels, and have put forward requirements for high automation, high intelligence, and high efficiency for the production line environment of industrial sites. Computers have greatly improved production efficiency and the degree of automation of production due to their fast processing speed and high efficiency. Applying machine vision to enterprise production lines, using machine vision to replace human eyes and the ease of information integration of machine vision can improve the flexibility and automation of production.

[0004] The Chinese invention patent application with application number CN202010453831.X proposes an object grasping method, robot and storage medium based on machine vision, the method comprising: acquiring a first conveyor belt image through the camera, and using the background difference method to determine whether there is a moving object on the conveyor belt according to the first conveyor belt image; if so, correcting and template matching the first conveyor belt image to obtain the position information of the object; and grasping the object according to the position information. This invention uses the background difference method to determine whether there is a moving object on the conveyor belt by using the background difference method on the acquired first conveyor belt image. Objects that are blocked or placed too close can also be detected, which will not cause objects to be missed, and at the same time reduce the cost of the infrared detection device; template matching of the first conveyor belt image can realize the classified grasping of objects.

[0005] The Chinese invention patent application with application number CN202010788611.2 proposes a visual inspection system based on image processing and machine learning, including a mobile dust prevention system, an image acquisition system responsible for image acquisition of the entire inspection system, and an image processing system responsible for processing the image and inspection data of the entire inspection system and saving and uploading the inspection data. The inspection data can also be transmitted to the enterprise management system. The invention has strong real-time performance, good stability, high accuracy, can monitor the inspection results at any time, and is easy to install.

[0006] However, compared to human eyes, machine vision also has a big disadvantage, that is, the results of machine vision are heavily dependent on the quality of the input image. At the same time, even if the quality of the input image is greatly improved after image restoration and other processing, the slow processing speed will cause the target objects to be detected to pile up on the conveyor belt, which will still affect the progress and accuracy of the detection.

[0007] The main reason is that the detection and recognition performed by machine vision is essentially dependent on the image data of the target object and the recognition model used. Therefore, the accuracy of the image data and the recognition model itself has a significant impact on the effect of machine vision. Using static, fixed image acquisition technology and recognition models may lead to errors in the recognition results, or even cumulative errors under the memory of errors, which gradually reduces the accuracy of machine recognition. Summary of the invention

[0008] In order to solve the above technical problems, the present invention proposes an image data processing system and method that integrates intelligent detection and automated testing. The method includes steps S100: initializing various parameters of the front-end image detection system; S200: using the front-end image detection system to obtain a sampled image of the target object; S300: using an image recognition model to perform target recognition on the sampled image, and determining whether there is an abnormality in the target recognition result; S400: sending the target recognition result and the sampled image to the back-end control platform; S500: receiving feedback information from the back-end control platform, and training and updating the image recognition model according to the feedback information; S600: updating various parameters of the front-end image detection system in response to the feedback information. The present invention also discloses an image data processing system that implements the method. The technical solution of the present invention can realize intelligent detection and automated testing of target objects based on the interaction between the front-end and the back-end.

[0009] The technical solution of the present invention can reduce the use of high-precision cameras and reduce hardware costs while meeting the acquisition and recognition requirements of the target image. At the same time, in order to avoid the accumulation of errors in static models, the present invention uses the interaction between the front and back ends, and uses dynamically updated training data and verification data to update the image detection system to avoid error accumulation.

[0010] Specifically, in one aspect of the present invention, a method for processing image data integrating intelligent detection and automated testing is provided. The method is implemented based on a front-end image detection system and a back-end control platform, and the method comprises the following steps:

[0011] S100: Initializing various parameters of the front-end image detection system;

[0012] S200: Acquire a sample image of a target object using the front-end image detection system;

[0013] S300: The front-end image detection system uses an image recognition model to perform target recognition on the sampled image, and determines whether there is an abnormality in the target recognition result;

[0014] If yes, proceed to step S400;

[0015] Otherwise, return to step S200;

[0016] S400: Sending the target recognition result and the sampled image to the backend control platform;

[0017] S500: receiving feedback information from the backend control platform, and training and updating the image recognition model according to the feedback information;

[0018] S600: In response to the feedback information, update various parameters of the front-end image detection system and return to step S200.

[0019] In another aspect, the present invention provides an image data processing system for integrating intelligent detection and automated testing to implement the above method, the system comprising a front-end image detection system and a back-end control platform, the front-end image detection system comprising an image acquisition device; the image acquisition device is used to acquire a sample image of at least one target object;

[0020] The plurality of target objects move within a predetermined target range; the front-end image detection system further comprises an image recognition device, wherein the image recognition device has at least one updatable image recognition model built therein; the image acquisition device sends the acquired sampled image of the target object to the image recognition device;

[0021] The image recognition device performs target recognition on the sampled image and outputs a target recognition result;

[0022] In response to the target recognition result, the front-end image detection system adjusts the sampling parameters of the image acquisition device.

[0023] Wherein, the sampling parameters of the image acquisition device include sampling resolution.

[0024] In response to the target recognition result, the target recognition result and its corresponding sampled image are sent to the back-end control platform;

[0025] The image recognition device receives feedback information on the target recognition result and its corresponding sampled image from the back-end control platform, and updates the image recognition model based on the feedback information.

[0026] And, in response to the target recognition result, the target object is removed from the target range.

[0027] The present invention adopts acquisition modes with different resolutions to perform image sampling, which can make the sampling data meet the accuracy requirements of the actual situation while reducing the hardware cost.

[0028] At the same time, the feedback between the front-end and the back-end enables the relevant models used by the image detection system to be dynamically and continuously updated to avoid error accumulation.

[0029] Further advantages of the present invention will be further reflected in detail in the specific embodiments section in conjunction with the drawings of the specification. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0031] Figure 1 This is a main flow chart of an image data processing method integrating intelligent detection and automated testing according to an embodiment of the present invention.

[0032] Figure 2 is realized Figure 1 A more specific embodiment of the method

[0033] Figure 3 is realized Figure 1 A schematic diagram of a system architecture for image data processing of the method

[0034] Figure 4-Figure 5 yes Figure 3 Schematic diagram of the internal data control of the system. DETAILED DESCRIPTION

[0035] The invention is further described below in conjunction with the accompanying drawings and specific implementation methods.

[0036] See also Figure 1 , is the main flow chart of an image data processing method integrating intelligent detection and automated testing of the present invention. Figure 3 is realized Figure 1 A schematic diagram of a system architecture for image data processing of the method.

[0037] exist Figure 1 The method is based on Figure 3 The system includes the front-end image detection system and the back-end control platform.

[0038] exist Figure 1 In the method, the method comprises the following steps:

[0039] S100: Initializing various parameters of the front-end image detection system;

[0040] The parameters of the front-end image detection system include the image acquisition mode of the image acquisition device;

[0041] See also Figure 3 , the front-end image detection system includes an image acquisition device and a model training device;

[0042] The image acquisition device has multiple image acquisition modes, and different image acquisition modes acquire sampled images of target objects with different resolutions.

[0043] More specifically, in a specific implementation, the initialization here is mainly to set the sampling resolution of the image acquisition device of the front-end image detection system; in the initial state, the lowest resolution is used.

[0044] S200: Acquire a sample image of a target object using the front-end image detection system;

[0045] Specifically, an image pickup device (such as CMOS and CCD) may be used to pick up an image, and the image processing system acquires the image information and converts it into digital information including pixel value, brightness, chromaticity, etc.

[0046] S300: The front-end image detection system uses an image recognition model to perform target recognition on the sampled image, and determines whether there is an abnormality in the target recognition result;

[0047] If yes, proceed to step S400;

[0048] Otherwise, return to step S200;

[0049] As an illustrative explanation, the image recognition model may be a target object recognition model, and performing target recognition on the sampled image may be to recognize the target object in the sampled image based on the target object recognition model and perform status detection on the target object.

[0050] The state detection may be performed by using machine vision technology, image processing technology, etc. to identify the properties of the target object, thereby determining whether there is an abnormality.

[0051] For example, for a production line, status detection can be used to determine whether the current production part (target object) has any abnormality (such as deformation, cracks, etc.);

[0052] For object recognition, state detection can be used to identify whether the current object is defective; it can also be used in other scenarios, such as quality judgment of fresh food, vegetables, fruits, etc.

[0053] The front-end image detection system acquires the sampled image, processes the image based on at least one image recognition model, and obtains an image analysis result of whether there is an abnormality in the target recognition result;

[0054] S400: Sending the target recognition result and the sampled image to the backend control platform;

[0055] S500: receiving feedback information from the backend control platform, and training and updating the image recognition model according to the feedback information;

[0056] S600: In response to the feedback information, update various parameters of the front-end image detection system and return to step S200.

[0057] For more details, see Figure 2 .

[0058] After the system is initialized, a sample image of the target object is acquired using the image acquisition mode with the lowest resolution;

[0059] The front-end image detection system uses an image recognition model to perform target recognition on the sampled image, and determines whether there is an abnormality in the target recognition result;

[0060] If there is an abnormality, adjusting the image acquisition mode so that the resolution of the sampled image of the target object acquired by the image acquisition device is increased;

[0061] Then, the sampled image and the target recognition result are sent to a back-end control platform;

[0062] The authorized user of the back-end control platform manually annotates the target recognition result and the sampled image and provides result feedback;

[0063] More specifically, the manually annotated sample image is used as a training sample to update the training database; the result feedback information is used as a verification sample of the sample image to update the verification database;

[0064] The model training device trains and updates the image recognition model based on the updated training database and verification database;

[0065] Then, the next sampling cycle is entered, that is, the sampled image of the target object is acquired using the image acquisition mode with adjusted resolution.

[0066] Meanwhile, if there is an abnormality, the target object is removed from the target range.

[0067] If there is no abnormality and the current sampling resolution is not the lowest resolution, the sampling resolution is reduced and the next sampling cycle is entered.

[0068] Figure 3-Figure 5 The system architecture and working principle for implementing the method are further demonstrated.

[0069] Wherein, the image acquisition device is used to obtain a sampled image of at least one target object; a plurality of the target objects move within a predetermined target range;

[0070] The front-end image detection system also includes an image recognition device, wherein the image recognition device has at least one updatable image recognition model built therein;

[0071] The image acquisition device sends the acquired sampled image of the target object to the image recognition device;

[0072] The image recognition device performs target recognition on the sampled image and outputs a target recognition result;

[0073] In response to the target recognition result, the front-end image detection system adjusts the sampling parameters of the image acquisition device.

[0074] In response to the target recognition result, the target recognition result and its corresponding sampled image are sent to the back-end control platform;

[0075] The image recognition device receives feedback information on the target recognition result and its corresponding sampled image from the back-end control platform, and updates the image recognition model based on the feedback information.

[0076] More specifically, the feedback information includes information on manual annotation and result feedback of the image analysis result and the sampled image by the authorized user;

[0077] Using the manually annotated sampled images as training samples;

[0078] Using the result feedback information as a verification sample of the sampled image;

[0079] Based on the training samples and the verification samples, the image recognition model used by the image recognition device is trained and updated.

[0080] As an example, the image recognition model may adopt a neural network model, a genetic algorithm model, etc. For example, see:

[0081] Zhan Hui, Li Xiaoyu, Wang Wei, et al. Chestnut grading detection method based on machine vision, Transactions of the Chinese Society of Agricultural Engineering, 2010, 22(6): 854-858

[0082] Liu J, Yang WW, Wang Y, et al. Optimizing Machine Vision BasedApplications in Agricultural Products by Artificial Neural Network[J]. International Journal of Food Engineering, 2011.

[0083] Data from different embodiments show that after adopting the technical solution of the present invention, the recognition efficiency and recognition accuracy of the machine vision system will be maintained at a stable and high level, and there will be no memory effect of cumulative errors due to the occurrence of individual errors.

[0084] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. An image data processing method integrating intelligent detection and automated testing, the method is implemented based on a front-end image detection system and a back-end control platform, and is characterized in that: The method comprises the following steps: S100: Initializing various parameters of the front-end image detection system; S200: Acquire a sample image of a target object using the front-end image detection system; S300: The front-end image detection system uses an image recognition model to perform target recognition on the sampled image, and determines whether there is an abnormality in the target recognition result; If yes, proceed to step S400; Otherwise, return to step S200; The front-end image detection system acquires the sampled image, processes the image based on at least one image recognition model, and obtains an image analysis result of whether there is an abnormality in the target recognition result; S400: Sending the target recognition result and the sampled image to the backend control platform; S500: receiving feedback information from the backend control platform, and training and updating the image recognition model according to the feedback information; S600: In response to the feedback information, update various parameters of the front-end image detection system, and return to step S200; The front-end image detection system includes an image acquisition device and a model training device; The image acquisition device has multiple image acquisition modes, and different image acquisition modes acquire sampled images of target objects with different resolutions; The model training device uses a training database and a test database to train and update the image recognition model; If there is no abnormality in the target recognition result, determining whether the current image acquisition mode of the image acquisition device is the lowest resolution, and if not, adjusting the image acquisition mode so that the resolution of the sampled image of the target object acquired by the image acquisition device is reduced; The parameters of the front-end image detection system include the image acquisition mode of the image acquisition device; In the initialization state, the image acquisition device adopts the image acquisition mode with the lowest resolution; The method comprises: if there is an abnormality in the target recognition result, adjusting the image acquisition mode so that the resolution of the sampled image of the target object acquired by the image acquisition device is increased; Then, the sampled image and the target recognition result are sent to a back-end control platform; The authorized user of the back-end control platform manually annotates the target recognition result and the sampled image and provides result feedback; Using the manually annotated sampled image as a training sample to update the training database; using the result feedback information as a verification sample of the sampled image to update the verification database; The model training device trains and updates the image recognition model based on the updated training database and verification database; Then, the next sampling cycle is entered, that is, the sampled image of the target object is acquired by adopting the image acquisition mode with adjusted resolution; At the same time, if there is an abnormality, the target object is removed from the target range; If there is no abnormality and the current sampling resolution is not the lowest resolution, the sampling resolution is reduced and the next sampling cycle is entered.

2. The image data processing method integrating intelligent detection and automated testing according to claim 1, characterized in that: The authorized user of the back-end control platform manually annotates the target recognition result and the sampled image and provides result feedback, and sends the manual annotation and result feedback information to the model training device.

3. The image data processing method integrating intelligent detection and automated testing according to claim 2, characterized in that: Using the manually annotated sample images as training samples to update the training database; Using the result feedback information as a verification sample of the sampled image to update the verification database; The model training device trains and updates the image recognition model based on the updated training database and verification database.

4. An image data processing system integrating intelligent detection and automated testing, the system implementing the method according to claim 1, the system comprising a front-end image detection system and a back-end control platform, characterized in that: The front-end image detection system includes an image acquisition device; The image acquisition device is used to acquire a sampled image of at least one target object; The plurality of target objects move within a predetermined target range; The front-end image detection system also includes an image recognition device, wherein the image recognition device has at least one updatable image recognition model built therein; The image acquisition device sends the acquired sampled image of the target object to the image recognition device; The image recognition device performs target recognition on the sampled image and outputs a target recognition result; In response to the target recognition result, the front-end image detection system adjusts the sampling parameters of the image acquisition device.

5. The image data processing system integrating intelligent detection and automated testing as claimed in claim 4, characterized in that: The sampling parameters of the image acquisition device include sampling resolution.

6. The image data processing system integrating intelligent detection and automated testing as claimed in claim 4, characterized in that: In response to the target recognition result, the target recognition result and its corresponding sampled image are sent to the back-end control platform; The image recognition device receives feedback information on the target recognition result and its corresponding sampled image from the back-end control platform, and updates the image recognition model based on the feedback information.

7. The image data processing system integrating intelligent detection and automated testing as claimed in claim 4, characterized in that: In response to the target recognition result, the target object is removed from the target range.