Method for establishing model library of agricultural product categories

The establishment of a model library of agricultural product types through deep learning algorithms and artificial neural networks solves the problem of low recognition rate in existing technologies, achieves efficient and accurate identification of agricultural products, and meets the gradually increasing needs of users.

CN112579802BActive Publication Date: 2024-10-15SHENZHEN INST OF SPECIAL EQUIP INSPECTION & TEST
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing agricultural product identification technology has problems such as low recognition rate, imperfect functions, and incomplete information, making it difficult to meet consumers' rapid identification needs.

Method used

Deep learning algorithms and artificial neural networks are used to build a rich graphics library and image library through multi-directional and multi-angle shooting. Combined with natural language processing and automatic update engines, a basic model library of agricultural product types is formed, and efficient recognition is achieved through the recognition system.

Benefits of technology

It improves the accuracy and efficiency of agricultural product identification, meets the gradually increasing identification needs of users, and achieves higher identification efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112579802B_ABST
    Figure CN112579802B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of computer vision technology, and in particular to a method for establishing a model library of agricultural product categories, including step 3, after the graphics library and image library are established, the characteristic values ​​of the graphics and images are manually calibrated, and an expression description is performed to form a basic model library of agricultural product categories; step 4, the basic model library of agricultural product categories completes the generation of natural language processing expressions through manual calibration and automatic update engines, and is continuously improved and supplemented under the action of deep learning artificial neural networks. Compared with the prior art, during the use of the user, the artificial neural network of the method for establishing the model library of agricultural product categories of the present invention will continuously optimize the model algorithm through a deep learning algorithm to achieve higher recognition efficiency and accuracy, that is, the more the user uses it, the higher the recognition accuracy, which can meet people's gradually increasing recognition needs.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the field of computer vision technology, and in particular to a method for establishing a model library of agricultural product categories. [Background technology]

[0002] With the progress of society, especially the rapid development of modern logistics technology, more and more agricultural products have entered people's vision and are served on the table. While people's material life has greatly enriched, food safety has become more and more of a social problem, and bacteria and viruses have become a major threat to the general public. How to more quickly understand the agricultural products in front of you and obtain relevant information has become a real need for many consumers.

[0003] At present, there are also some applications for object recognition, but most of these applications have problems such as low recognition rate, imperfect functions and incomplete information, and it is difficult to truly meet people's needs. [Summary of the invention]

[0004] In order to overcome the above problems, the present invention proposes a method for establishing a model library of agricultural product categories that can effectively solve the above problems.

[0005] The present invention provides a technical solution to solve the above technical problem: providing a method for establishing a model library of agricultural product categories, comprising the following steps:

[0006] Step 1: Obtaining agricultural product graphics and images, collecting basic data of agricultural products through the existing agricultural product atlas of the Institute of Agricultural Sciences, and establishing initial data;

[0007] Step 2: According to the requirements of the deep learning algorithm, agricultural products are photographed from multiple directions and angles, and a rich graphics library and image library are established. Graphics and images are stored in an object-oriented manner, and an efficient retrieval mechanism is established through indexing and weighting;

[0008] Step 3: After the graphics library and image library are established, the characteristic values ​​of the graphics and images are manually calibrated and expressed to form a basic model library of agricultural product types;

[0009] Step 4: The basic model library of agricultural product categories is manually calibrated and automatically updated by the engine to generate natural language processing expressions, which are continuously improved and supplemented by the deep learning artificial neural network.

[0010] Step 5: Continuously improve the model library of agricultural product types by increasing samples, optimizing calibration data, and adding expression data.

[0011] Preferably, the method for establishing the agricultural product category model library is implemented by using an agricultural product identification system, which includes a data storage system, a data management system, a client and a server, wherein the data storage system, the data management system and the client are respectively connected to the server; the client is used to obtain image photos taken by the user containing the agricultural products to be identified, and obtain the agricultural product pictures to be identified by slicing, and send the agricultural product pictures to be identified to the server; the server calls the basic model library of agricultural product categories to identify the agricultural product pictures to be identified, and sends the identification results to the client; the client pushes the identification results and the associated agricultural product basic information data to the user.

[0012] Preferably, the deep learning artificial neural network is composed of a 52-layer negative feedback artificial neural network, and each artificial neural network grid is composed of at least 64 nodes.

[0013] Preferably, the data management system manages graphic image data and basic information data of agricultural products.

[0014] Preferably, in step 3, the farm product identification system extracts the shape, color and texture feature values ​​of the agricultural products to generate a basic model library of agricultural product types.

[0015] Preferably, the data management system includes a basic model library of agricultural product types and a basic information database of agricultural products. The basic model library of agricultural product types is used to input multi-angle related image photos of agricultural products, and the basic model library of agricultural product types is continuously improved and optimized through continuous practical use by target users combined with deep learning algorithms; the basic information database of agricultural products is used to input basic graphic and text information of agricultural products.

[0016] Preferably, the agricultural product identification system is equipped with a user behavior analysis system to record the behavior data of users in the system.

[0017] Preferably, the data storage system includes one or more processors and one or more memories, and the one or more memories are configured to store a series of computer-executable instructions and computer-accessible data associated with the series of computer-executable instructions; when the series of computer-executable instructions are executed by the one or more processors, the one or more processors execute the method for establishing a model library of agricultural product categories according to the present invention.

[0018] Preferably, the data storage system further comprises an object-oriented file system; the graphic image files are stored in the storage medium in an object-oriented manner; the storage medium is a non-transitory computer-readable storage medium, on which a series of computer-executable instructions are stored.

[0019] Preferably, the data storage system further comprises an object-oriented graphic image expression system for supplementing the expression data.

[0020] Compared with the prior art, in the method for establishing a model library of agricultural product categories of the present invention, during the use of the user, the artificial neural network will continuously optimize the model algorithm through a deep learning algorithm to achieve higher recognition efficiency and accuracy. That is, the more the user uses it, the higher the recognition accuracy will be, which can meet people's gradually increasing recognition needs.

Brief Description of the Drawings

[0021] Figure 1 A flow chart of a method for establishing a model library of agricultural product categories of the present invention;

[0022] Figure 2 A model library data structure diagram of the method for establishing a model library of agricultural product categories of the present invention;

[0023] Figure 3 This is a structural diagram of the agricultural product identification system of the method for establishing the agricultural product category model library of the present invention. [Specific implementation method]

[0024] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and implementation examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0025] It should be noted that in the embodiments of the present invention, all directional indications (such as up, down, left, right, front, back, etc.) are limited to relative positions on the specified view, rather than absolute positions.

[0026] In addition, in the present invention, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0027] See also Figures 1 to 3 The method for establishing a model library of agricultural product categories of the present invention comprises the following steps:

[0028] Step 1: Obtaining agricultural product graphics and images, collecting basic data of agricultural products through the existing agricultural product atlas of the Institute of Agricultural Sciences, and establishing initial data;

[0029] Step 2: According to the requirements of the deep learning algorithm, agricultural products are photographed from multiple directions and angles, and a rich graphics library and image library are established. Graphics and images are stored in an object-oriented manner, and an efficient retrieval mechanism is established through indexing and weighting;

[0030] Step 3: After the graphics library and image library are established, it is still necessary to manually calibrate the feature values ​​of the graphics and images and express and describe them to form a basic model library of agricultural product types. The expression description provides sufficient auxiliary judgment for the identification of agricultural products.

[0031] Step 4: The basic model library of agricultural product categories is manually calibrated and automatically updated by the engine to generate natural language processing expressions, which are continuously improved and supplemented by the deep learning artificial neural network, and automatically updated and improved by the deep learning artificial neural network;

[0032] In step 4, the deep learning artificial neural network may include, for example, a deep convolutional neural network (CNN) or a deep residual network (Resnet). Among them, the deep convolutional neural network is a deep feedforward neural network, which uses a convolution kernel to scan agricultural product images, extracts features to be identified in agricultural product images, and then identifies the features to be identified in agricultural products. In addition, in the process of identifying agricultural product images, the original agricultural product images can be directly input into the deep convolutional neural network model without preprocessing the agricultural product images. Compared with other recognition models, the deep convolutional neural network model has higher recognition accuracy and recognition efficiency. Compared with the deep convolutional neural network model, the deep residual network model adds an identity mapping layer, which can avoid the phenomenon that the accuracy of the convolutional neural network is saturated or even decreased as the network depth (the number of stacked layers in the network) increases. The identity mapping function of the identity mapping layer in the residual network model needs to satisfy: the sum of the identity mapping function and the input of the residual network model is equal to the output of the residual network model. After the introduction of the identity mapping, the change of the output of the residual network model is more obvious, so the recognition accuracy and recognition efficiency of agricultural product recognition can be greatly improved, thereby improving the recognition accuracy and recognition efficiency of agricultural products. In the present invention, the deep learning artificial neural network is composed of a 52-layer negative feedback artificial neural network, and each artificial neural network grid is composed of at least 64 nodes:

[0033] def szFnet_body(x):

[0034] ###szFnet model has 52 2D network layers

[0035] x=szFnet2D_BN(32,(3,3))(x)

[0036] x=resblock_body(x,64,1,False)

[0037] x = resblock_body(x,128,2)

[0038] x = resblock_body(x,256,8)

[0039] x = resblock_body(x,512,8)

[0040] x = resblock_body(x,1024,4)

[0041] return x.

[0042] Deep learning artificial neural network. During the user's use, the artificial neural network will continuously optimize the model algorithm through deep learning algorithm to achieve higher recognition efficiency and accuracy. That is, the more the user uses it, the higher the recognition accuracy.

[0043] Step 5: Continuously improve the model library of agricultural product types by increasing samples, optimizing calibration data, and adding expression data.

[0044] In the method for establishing the agricultural product category model library, the agricultural product category model library is trained by deep learning of the system after the management terminal enters the basic data, and is continuously optimized and improved with the use of users. The agricultural product category model library recognizes and processes agricultural product images to identify agricultural product categories, and the agricultural product category model library is a deep learning neural network model.

[0045] The method for establishing a model library of agricultural product categories of the present invention is implemented by an agricultural product identification system, wherein the agricultural product identification system includes a data storage system, a data management system, a client and a server, wherein the data storage system, the data management system and the client are connected to the server respectively. The agricultural product category model library is established by the data storage system, the data management system and the graphic image expression data. The user takes and submits the target agricultural product picture to the server through the client, and the server analyzes and compares the agricultural product picture submitted by the user through the data management system, and finally returns the category identification result and pushes it to the user through the client. The client is used to obtain the image photos of the agricultural product to be identified taken by the user, and obtain the agricultural product picture to be identified by slicing, and send the agricultural product picture to be identified to the server. The server calls the basic model library of the agricultural product category of the data management system to identify the agricultural product picture to be identified, and sends the identification result to the client. The client pushes the identification result and the associated agricultural product basic information data to the user.

[0046] The data management system manages the graphic image data and basic information data of agricultural products. The basic information data of agricultural products includes basic graphic information such as the origin, classification, introduction, planting method, and eating method of agricultural products. In step 2, the administrator enters multi-angle related graphic images of agricultural products to establish a rich graphic library and image library. In step 3, the farm product recognition system extracts characteristic values ​​such as the shape, color, and texture of agricultural products to generate a basic model library of agricultural product types. The data storage system uses an object-oriented storage method to store graphic image data, calibration data, and expression data.

[0047] The data management system includes a basic model library of agricultural product types and a basic information database of agricultural products. The basic model library of agricultural product types is used to input multi-angle related image photos of agricultural products, and the basic model library of agricultural product types is continuously improved and optimized through continuous practical use by target users combined with deep learning algorithms. The basic information database of agricultural products is used to input basic graphic information such as the origin, classification, introduction, planting method, and eating method of agricultural products.

[0048] Preferably, the agricultural product identification system is equipped with a high-performance message service system, and the target user input information, server communication scheduling information, server return result information, and complete graphic and text information of the agricultural products can be transmitted quickly and accurately through the Internet without lag, so that users can get a better user experience.

[0049] Preferably, the agricultural product identification system is equipped with a user behavior analysis system, which can fully record the behavioral data of users in the system. On the one hand, these data can be provided to users for viewing the search history function, and on the other hand, they can also be used as basic data of user behavior big data for establishing regional big data models.

[0050] Preferably, the agricultural product identification system supports unlimited expansion, and the basic model library of agricultural product types can be continuously added and improved through the data storage system and the data management system, supporting expansion into object identification fields beyond agricultural products.

[0051] The data storage system includes one or more processors and one or more memories, wherein the one or more memories are configured to store a series of computer-executable instructions and computer-accessible data associated with the series of computer-executable instructions, wherein the series of computer-executable instructions, when executed by the one or more processors, enable the one or more processors to execute the method for establishing a model library of agricultural product categories according to the present invention.

[0052] The data storage system also includes an object-oriented file system; the graphic image files are stored in a storage medium in an object-oriented storage manner, and the storage medium can be physical or virtual. The storage medium is a non-transitory computer-readable storage medium, which stores a series of computer-executable instructions, and when the series of computer-executable instructions are executed by one or more computing devices, the one or more computing devices execute the method for establishing a model library of agricultural product categories according to the present invention.

[0053] The data storage system also includes an object-oriented graphic image expression system, which can be used to supplement the expression data and help improve the recognition accuracy and learning ability of the agricultural product recognition system.

[0054] Compared with the prior art, in the method for establishing a model library of agricultural product categories of the present invention, during the use of the user, the artificial neural network will continuously optimize the model algorithm through a deep learning algorithm to achieve higher recognition efficiency and accuracy. That is, the more the user uses it, the higher the recognition accuracy will be, which can meet people's gradually increasing recognition needs.

[0055] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any modifications, equivalent substitutions and improvements made within the concept of the present invention should be included in the patent protection scope of the present invention.

Claims

1. A method for establishing a model library of agricultural product categories, characterized in that: The steps include: Step 1: Obtaining agricultural product graphics and images, collecting basic data of agricultural products through the existing agricultural product atlas of the Institute of Agricultural Sciences, and establishing initial data; Step 2: According to the requirements of the deep learning algorithm, agricultural products are photographed from multiple directions and angles, and a rich graphics library and image library are established. Graphics and images are stored in an object-oriented manner, and an efficient retrieval mechanism is established through indexing and weighting; Step 3: After the graphics library and image library are established, the characteristic values ​​of the graphics and images are manually calibrated and expressed to form a basic model library of agricultural product types; Step 4: The basic model library of agricultural product categories is manually calibrated and automatically updated by the engine to generate natural language processing expressions, which are continuously improved and supplemented by the deep learning artificial neural network. Step 5: Continuously improve the model library of agricultural product types by increasing samples, optimizing calibration data, and adding expression data; In step 4, the deep learning artificial neural network includes a deep convolutional neural network, which is a deep feedforward neural network that uses a convolution kernel to scan the agricultural product picture, extracts the features to be identified in the agricultural product picture, and then identifies the features to be identified in the agricultural product picture; in addition, in the process of identifying the agricultural product picture, the original agricultural product picture can be directly input into the deep convolutional neural network model; The deep learning artificial neural network includes a deep residual network, and the deep residual network model adds an identity mapping layer, and the identity mapping function of the identity mapping layer needs to satisfy: the sum of the identity mapping function and the input of the deep residual network model is equal to the output of the deep residual network model; The deep learning artificial neural network is composed of a 52-layer negative feedback artificial neural network, and each artificial neural network grid is composed of at least 64 nodes; The method for establishing a model library of agricultural product categories is implemented by using an agricultural product identification system, which includes a data storage system, a data management system, a client and a server, wherein the data storage system, the data management system and the client are respectively connected to the server; the client is used to obtain an image photo of the agricultural product to be identified taken by the user, and obtain the agricultural product picture to be identified by slicing, and send the agricultural product picture to be identified to the server; the server calls the basic model library of agricultural product categories to identify the agricultural product picture to be identified, and sends the identification result to the client; the client pushes the identification result and the associated agricultural product basic information data; The agricultural product identification system is configured with a user behavior analysis system to record the behavior data used by users in the system; The agricultural product identification system is equipped with a high-performance message service system, and the target user input information, server communication scheduling information, server return result information, and complete graphic and text information of agricultural products can be quickly and accurately transmitted through the Internet; The data storage system also includes an object-oriented graphic image expression system for supplementing the expression data.

2. The method for establishing a model library of agricultural product categories according to claim 1, characterized in that: The data management system manages the graphic image data and basic information data of the agricultural products.

3. The method for establishing a model library of agricultural product categories according to claim 1, characterized in that: In step 3, the farm product identification system extracts the shape, color, and texture feature values ​​of the agricultural products to generate a basic model library of agricultural product types.

4. The method for establishing a model library of agricultural product categories according to claim 1, characterized in that: The data management system includes a basic model library of agricultural product types and a basic information database of agricultural products. The basic model library of agricultural product types is used to input multi-angle related image photos of agricultural products, and the basic model library of agricultural product types is continuously improved and optimized through continuous practical use by target users combined with deep learning algorithms; the basic information database of agricultural products is used to input basic graphic and text information of agricultural products.

5. The method for establishing a model library of agricultural product categories according to claim 1, characterized in that: The data storage system includes one or more processors and one or more memories, wherein the one or more memories are configured to store a series of computer-executable instructions and computer-accessible data associated with the series of computer-executable instructions; when the series of computer-executable instructions are executed by the one or more processors, the one or more processors execute the method for establishing a model library of agricultural product categories according to the present invention.

6. The method for establishing a model library of agricultural product categories according to claim 5, characterized in that: The data storage system also includes an object-oriented file system; the graphic image files are stored in the storage medium in an object-oriented storage manner; the storage medium is a non-transitory computer-readable storage medium, and a series of computer-executable instructions are stored on the storage medium.