Image management method, image management system and program

The image management system addresses the cost and workload issues of retraining agricultural product image classification models by classifying images based on confidence and optimizing network communication, ensuring efficient and accurate model updates.

JP2024117216AInactive Publication Date: 2024-08-29YANMAR HLDG CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023023181
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-17
Publication Date
2024-08-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Retraining a machine learning model for agricultural product image classification can lead to increased costs due to bandwidth, storage, and computational requirements, and the need for manual tagging of all images, which increases user workload.

Method used

An image management system that classifies agricultural product images using a machine learning model, determines confidence levels, selects optimal images for retraining based on confidence, and efficiently transmits these images for model updating, utilizing network communication with limitations to manage costs.

Benefits of technology

The system efficiently provides images for relearning the model, reducing transmission and storage costs while maintaining classification accuracy by selecting images with lower confidence and managing network communication effectively.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024117216000001_ABST
    Figure 2024117216000001_ABST
Patent Text Reader

Abstract

To efficiently provide an image for relearning a machine learning model classifying images of an object crop.SOLUTION: An image management method includes determining, for each of a plurality of object images obtained by imaging a crop, the certainty factor of belonging of the object image to a classified group in using a first machine learning model to classify the object image into one of the plurality of groups. The image management method further includes: determining, based upon the determined certainty factor, a learning image used to update the first machine learning model among the plurality of object images; and outputting output image including information representing the determined learning image.SELECTED DRAWING: Figure 7
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an image management method, an image management system, and a program. [Background technology]

[0002] As agriculture becomes more information-based, there is an increasing need for systems that use crop images to improve the efficiency of farm work. In relation to this, technology has been developed to efficiently provide the necessary images from a large number of crop images.

[0003] For example, Patent Document 1 discloses a technology for providing an image required by a manager from among multiple images of harvested crops. In the technology of Patent Document 1, an operator uses a first device (e.g., a terminal device) to add tag information such as the presence or absence of a specific disease and the progress of the disease to an image of the crop. Then, in response to a second device (e.g., a personal computer) receiving a user operation specifying an attribute of the image to be displayed (e.g., a crop in which a specific disease has progressed by 3%), data of the corresponding image is transferred from the first device to the second device via a server device. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Patent Publication No. 2021-33924 Summary of the Invention [Problem to be solved by the invention]

[0005] As an example of improving the efficiency of agricultural work using images of agricultural products, it is possible to classify images of agricultural products such as tomatoes and apples using a machine learning model from a desired viewpoint, such as by quality or size grade. In this case, in order to improve the accuracy of classification, it becomes necessary to retrain the machine learning model using images of actual agricultural products. However, if the machine learning model is retrained using images of all harvested agricultural products, there is a risk that costs such as transmission and reception bandwidth, storage capacity, and learning calculation amount will increase. Even if the technology of Patent Document 1 is used to select images required for learning, there is a risk that the user's work cost will increase, such as the need for the user of the first device to add tag information to all images in advance.

[0006] In view of the above circumstances, an object of the present disclosure is to efficiently provide images for retraining a machine learning model that classifies images of agricultural crops. Other objects can be understood from the following description and the description of the embodiments. [Means for solving the problem]

[0007] The means for solving the problems will be described below using the numbers and symbols used in the description of the embodiment of the invention. These numbers and symbols are added in parentheses for reference purposes to show an example of the correspondence between the description of the claims and the description of the embodiment of the invention. Therefore, the description in parentheses should not be interpreted as limiting the scope of the claims.

[0008] An image management method according to an embodiment includes determining, for each of a plurality of target images of agricultural crops, a degree of confidence that the target image belongs to one of a plurality of groups when classifying the target image into one of the groups using a first machine learning model (AI1), determining training images (I1 to I3) from the plurality of target images based on the determined degree of confidence to be used for updating the first machine learning model (AI1), and outputting output information including information indicating the determined training images (I1 to I3).

[0009] The image management system (1) according to the embodiment includes a classification unit (120) that determines a degree of certainty that a target image belongs to one of a plurality of groups when classifying each of a plurality of target images of agricultural crops into one of a plurality of groups using a first machine learning model (AI1), a training image determination unit (140) that determines training images (I1 to I3) to be used to update the first machine learning model (AI1) from the plurality of target images based on the determined degree of certainty, and an information output unit (160) that outputs output information including information indicating the determined training images (I1 to I3).

[0010] The programs (P1, P2) according to the embodiments cause a computer (10, 20) to perform the following steps: determine a degree of confidence that a target image belongs to one of a plurality of groups when classifying each of a plurality of target images of agricultural crops into one of a plurality of groups using a first machine learning model (AI1); determine training images (I1 to I3) to be used for updating the first machine learning model (AI1) from the plurality of target images based on the determined confidence; and output output information including information indicating the determined training images.

[0011] According to the above aspect, it is possible to efficiently provide images for retraining a machine learning model that classifies images of agricultural products. [Brief description of the drawings]

[0012] [Figure 1] 1 is a block diagram showing a configuration of an image management system according to an embodiment. [Diagram 2] 1 is a diagram showing the appearance of a working device and a mounting device according to an embodiment; [Diagram 3] FIG. 2 is a block diagram showing a configuration of a terminal device according to an embodiment. [Figure 4] FIG. 2 is a block diagram showing a configuration of a server device according to an embodiment. [Diagram 5] 1 is a block diagram showing a functional configuration of an image management system according to an embodiment; [Figure 6] FIG. 13 is a diagram illustrating an example of output information according to an embodiment. [Figure 7] 1 is a flowchart illustrating a process performed by an image management system according to an embodiment. [Figure 8] FIG. 13 is a diagram illustrating an example of a screen displayed by an image management system according to an embodiment. [Figure 9] 1 is a flowchart illustrating a process performed by an image management system according to an embodiment. [Figure 10] 1 is a flowchart illustrating a process performed by an image management system according to an embodiment. [Figure 11] 1 is a flowchart illustrating a process performed by an image management system according to an embodiment. [Figure 12] FIG. 13 is a diagram illustrating an example of a screen displayed by an image management system according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] (First embodiment) An image management system 1 according to the present embodiment of the present invention will be described with reference to the drawings. As shown in FIG. 1, the image management system 1 according to the present embodiment includes one or more terminal devices 10 and a server device 20. Each of the one or more terminal devices can communicate with at least one of the one or more mounted devices 40. Each of the one or more mounted devices 40 is mounted on the working device 30, such as a harvester, when the working device 30 performs harvesting work in a field. The mounted device 40 is mounted on the working device 30 when work is performed in the field, and can capture images of the crops harvested by the working device 30, as described later. The terminal device 10 can obtain information indicating images of the crops captured by the mounted device 40 from the corresponding mounted device 40. The terminal device 10 and the server device 20 communicate with each other via a network NT. Examples of the network NT include the Internet and an intranet.

[0014] The working device 30 harvests agricultural products, such as vegetables, while moving in a field, for example. The working device 30 harvests tomatoes, potatoes, cabbages, and the like. As shown in FIG. 2, the working device 30 includes a pick-up swing bar 31, a cutting blade 32, a transport conveyor 33, a swinging device 34, a sorting conveyor 35, and a chute 36. The pick-up swing bar 31 picks up the agricultural products grown in the field and their stems. The picked-up agricultural products and stems are cut and separated by the cutting blade 32 at the roots and stems, and are transported by the transport conveyor 33 to the swinging device 34. The swinging device 34 separates the agricultural products and stems, sends the agricultural products to the sorting conveyor 35, and discharges the stems to the rear. The sorting conveyor 35 transports the harvested agricultural products to the chute 36. A worker sorts the agricultural products transported by the sorting conveyor 35. The agricultural products transported to the chute 36 are sent to a container loaded on an accompanying vehicle.

[0015] As shown in Fig. 2, the mounting device 40 includes an imaging device 45 provided at a position where it can capture an image of the agricultural products being transported on the sorting conveyor 35. The mounting device 40 captures an image of one or more agricultural products being transported on the sorting conveyor 35 using the imaging device 45. The mounting device 40 transmits image information indicating the captured images, for example, still images or videos of multiple target agricultural products, to the terminal device 10. The terminal device 10 obtains multiple target images, each including one target agricultural product, from the imaging information transmitted by the mounting device 40, as will be described later. The mounting device 40 may also control some of the functions of the working device 30.

[0016] The image management system 1 of this embodiment inputs a target image including one agricultural product harvested in a field into an AI (Artificial Intelligence) model (also called a machine learning model), and classifies the agricultural product into one of multiple groups that differ in terms of quality, size, etc. In general, even if the same variety of agricultural product is cultivated in the same cultivation method, differences in climatic conditions, regional conditions, etc. may cause differences in appearance characteristics. Therefore, the image management system 1 retrains the AI ​​model using images of newly harvested agricultural products as training data.

[0017] In actual farm work, many agricultural products may be harvested on the same day during the harvest season. Therefore, if all images are used as training data to retrain the AI ​​model, the amount of training data may become large. As a result, for example, the cost of storage and transmission may increase, such as an increase in communication time, an increase in required storage capacity, and an increase in communication costs. In addition, there is a risk of inconvenience such as an increase in the amount of processing for retraining the AI ​​model and overlearning. Therefore, the image management system 1 of this embodiment determines, as candidate images, one or more images that have suitable conditions as training data for training the AI ​​model, from among multiple target images of agricultural products. Then, the image management system 1 outputs one or more training images selected by user input from the candidate images.

[0018] 3, the terminal device 10 included in the image management system 1 includes an input / output device 12, a calculation device 14, a communication device 16, and a storage device 18. The terminal device 10 may be, for example, a mobile device such as a tablet or a smartphone that can be carried by a user of the operating device 30. The terminal device 10 may also be a stationary personal computer or a notebook computer.

[0019] Information for the arithmetic device 14 to execute processing is input to the input / output device 12. In addition, the input / output device 12 outputs a result of the processing executed by the arithmetic device 14. The input / output device 12 includes various input devices and output devices, such as a speaker and a touch panel. In addition, in the case where the terminal device 10 is a personal computer, the input / output device 12 may include a keyboard, a mouse, a microphone, a display, and the like.

[0020] The communication device 16 is communicatively connected to the network NT. The communication device 16 communicates with devices (e.g., the server device 20) external to the terminal device 10 via the network NT. Furthermore, the communication device 16 is communicatively connected to at least one corresponding mounted device 40. The communication device 16 transfers information acquired from the server device 20 or the mounted device 40 to the calculation device 14. Also, the communication device 16 transfers information generated by the calculation device 14 to the server device 20 or the mounted device 40. The communication device 16 includes various interfaces, such as a transmitting / receiving device used for wireless communication such as a wireless LAN (Local Area Network) or a cellular network, a NIC (Network Interface Card), and a USB (Universal Serial Bus).

[0021] The communication device 16 of the present embodiment communicates with the on-board device 40 using a first communication means (e.g., a communication means such as a wireless LAN, a USB, or a wired LAN for data communication), and communicates with the server device 20 using a second communication means (e.g., a cellular communication means via a base station provided by a mobile phone carrier) having a predetermined limitation not present in the first communication means. An example of the predetermined limitation of the second communication means is a communication capacity limit of, for example, 4 gigabytes (GB) per month when the communication device 16 communicates with the server device 20 via the network NT. In this case, if data exceeding the maximum communication capacity is transmitted or received using the communication device 16, additional communication charges may be incurred according to the amount of data communication. Another example of the predetermined limitation is a case where the throughput is limited, for example, to 100 megabytes per second, when the communication device 16 communicates with the server device 20 via the network NT.

[0022] The storage device 18 stores a program P1 and the like including various data and instructions for the image management system 1 of this embodiment to execute the processes described below. The storage device 18 is used as a non-transitory tangible storage medium for storing these data and instructions. The program P1 may be provided as a computer program product recorded on a computer-readable storage medium M1. Alternatively, the storage medium M1 may be a storage device of an external server that stores the program P1. In this case, data including the program P1 may be provided as a computer program product that can be downloaded from the server.

[0023] The arithmetic device 14 reads and executes a program P1 including instructions and data for executing a process of outputting a training image used for retraining an AI model and a process of updating the AI ​​model using the training image from the storage device 18. For example, the arithmetic device 14 includes a central processing unit (CPU) and the like.

[0024] The arithmetic device 14 implements functional units of the terminal device 10, which will be described later, by reading and executing the program P1.

[0025] 4, the server device 20 included in the image management system 1 includes an input / output device 22, a calculation device 24, a communication device 26, and a storage device 28. The server device 20 is, for example, a computer that functions as a server including a cloud.

[0026] Information for the arithmetic device 24 to execute processing is input to the input / output device 22. In addition, the input / output device 22 outputs a result of the processing executed by the arithmetic device 24. The input / output device 22 includes various input devices and output devices, such as a keyboard, a mouse, a microphone, a display, a speaker, a touch panel, etc. The input / output device 22 may be omitted.

[0027] The communication device 26 is communicatively connected to the network NT and communicates with devices (e.g., terminal devices 10) external to the server device 20 via the network NT. The communication device 26 transfers information acquired from one or more terminal devices 10 to the calculation device 24. The communication device 26 also transfers information generated by the calculation device 24 to either the maintenance device 30 or the terminal devices 10, or to both. The communication device 26 includes various interfaces, such as a NIC and a USB.

[0028] The storage device 28 stores a program P2 and the like including various data and instructions for the server device 20 of this embodiment to execute the processes described below. The storage device 28 is used as a non-transitory tangible storage medium for storing these data and instructions. The program P2 may be provided as a computer program product recorded on a computer-readable storage medium M2. Alternatively, the storage medium M2 may be a storage device of an external server that stores the program P2. In this case, the program P2 may be provided as a computer program product that can be downloaded from the server.

[0029] The arithmetic device 24 reads out from the storage device 28 a program P2 including instructions and data for executing at least a part of a process for re-learning an AI model, which will be described later, and executes the program P2. For example, the arithmetic device 24 includes a central processing unit (CPU) and the like. The arithmetic device 24 of this embodiment has a higher computing power than the arithmetic device 14 of the terminal device 10.

[0030] The arithmetic device 24 implements functional units of the server device 20, which will be described later, by reading and executing the program P2.

[0031] With the physical configurations as shown in Fig. 3 and Fig. 4, the terminal device 10 and the server device 20 realize the functional units shown in Fig. 5. As an example, the calculation device 14 of the terminal device 10 executes a program P1 to realize the functions of an information acquisition unit 110, a classification unit 120, a candidate image determination unit 130, a learning image determination unit 140, a model update unit 150, an information output unit 160, and an information storage unit 170. The calculation device 24 of the server device 20 executes a program P2 to realize the functions of an information acquisition unit 210, a tag determination unit 220, a relearning unit 230, an output unit 240, and an information storage unit 250.

[0032] The information storage unit 170 of the terminal device 10 stores information acquired by the information acquisition unit 110 and information generated or updated by the classification unit 120, the candidate image determination unit 130, the learning image determination unit 140, and the model update unit 150. The information storage unit 170 also provides the stored information to the classification unit 120, the candidate image determination unit 130, the learning image determination unit 140, the model update unit 150, and the information output unit 160. The information storage unit 170 stores, for example, image information D1 and an AI model AI1.

[0033] The image information D1 stores, for example, a plurality of target images each including one target agricultural product (tomato in this embodiment) The target image may be cut out from an image obtained by photographing a plurality of agricultural products, for example.

[0034] The AI ​​model AI1 is a machine learning model trained by training data tagged with a target image and information on the quality of the agricultural product (e.g., good product, dirty product, immature product, etc.). The AI ​​model AI1 is a model realized by using technologies such as neural networks and deep learning. The information storage unit 170 stores the AI ​​model AI1 corresponding to the AI ​​model AI2 in advance, for example, at the time of shipment from the factory, by the information acquisition unit 110 acquiring information indicating the AI ​​model AI2 output by the output unit 240 of the server device 20.

[0035] The AI ​​model AI1 may output a judgment score, which is an index indicating an estimated probability that an input target image will be classified into each of a plurality of quality groups, for the input target image. As an example, when an image of a certain good tomato is input, the AI ​​model AI1 outputs a judgment score of 0.75 for the tomato to be classified as good, a judgment score of 0.20 for the tomato to be classified as dirty, and a judgment score of 0.05 for the tomato to be classified as unripe.

[0036] The information acquisition unit 110 acquires information including image information D1 from the storage device 18, a user input using the input / output device 12, the server device 20, and the like.

[0037] As described below, the classification unit 120 classifies a plurality of target images included in the image information D1 into one of a plurality of groups. In this embodiment, the classification unit 120 classifies a target image into one of a plurality of groups by inputting the target image into the AI ​​model AI1.

[0038] As described below, the candidate image determination unit 130 determines, from among a plurality of target images, one or more candidate images to be candidates for learning data for re-learning the AI ​​model AI1, based on the judgment score output by the AI ​​model AI1.

[0039] As described below, the training image determination unit 140 determines training images, from among the candidate images determined by the candidate image determination unit 130, that are to become training data for re-training the AI ​​model AI1.

[0040] The model update unit 150 updates the AI ​​model AI1, as described below.

[0041] As described later, the information output unit 160 outputs output information including a learning image and tag information of the learning image to the server device 20. For example, as shown in Fig. 6, the output information stores a "learning image" indicating image data of the learning image and "tag information" indicating which group the learning image has been classified into by the classification unit 120 in association with each other.

[0042] Returning to FIG. 5, the functional units of the server device 20 of the image management system 1 will be described. The information storage unit 250 of the server device 20 temporarily or non-temporarily stores the information acquired by the information acquisition unit 210 and the information generated or updated by the tag determination unit 220 and the relearning unit 230. The information storage unit 250 also provides the stored information to the tag determination unit 220, the relearning unit 230, and the output unit 240. The information storage unit 250 stores, for example, accumulation information D2 and an AI model AI2 that is a machine learning model corresponding to the AI ​​model AI1 of the terminal device 10. The accumulation information D2 includes output information output by the information output unit 160 of one or more terminal devices 10. The AI ​​model AI2 may be, for example, a machine learning model that has been trained in advance by the calculation device 24 of the server device 20 using training data including an image of the target agricultural product and information indicating a group to which the agricultural product should be classified.

[0043] The information acquisition unit 210 acquires output information output by the information output unit 160 of the terminal device 10, as described below.

[0044] As described below, the tag determination unit 220 changes the tag information of the learning image based on a user input for changing the tag information of the learning image included in the output information acquired by the information acquisition unit 210. Alternatively, the tag determination unit 220 determines the tag information of the learning image based on a user input indicating that the tag information included in the output information is to be used as is. Note that this user input represents, for example, information input to the input / output device 22 of the server device 20.

[0045] As described below, the re-learning unit 230 re-learns the AI ​​model AI2 using the training images included in the output information acquired by the information acquisition unit 210 and the tag information determined or changed by the tag determination unit 220 as training data.

[0046] As described below, the output unit 240 outputs update information indicating the re-learned AI model AI2 to the terminal device 10. The output update information may be used by the model update unit 150 of the terminal device 10 to update the AI ​​model AI1.

[0047] (Image management system operation) The terminal device 10 of the image management system 1 executes the process shown in Fig. 7 with the above-mentioned functional configuration to output training images for retraining the AI ​​model AI2. For example, the terminal device 10 starts the process of Fig. 7 in response to the information acquisition unit 110 receiving image information indicating images of multiple agricultural products output by the mounting device 40.

[0048] In the process of Fig. 7, first, in step S1001, the information acquisition unit 110 acquires a target image including one target crop from an image of the multiple crops indicated by the image information. For example, the information acquisition unit 110 may acquire multiple target images by automatically cutting out a target image including one crop from an image of the image information. The information acquisition unit 110 stores the acquired target image in the information storage unit 170 as image information D1.

[0049] In the process of FIG. 7, first, in step S1002, the classification unit 120 of the terminal device 10 inputs each of the target images included in the image information D1 to the AI ​​model AI1, thereby classifying the target image into one of a plurality of groups. For example, the classification unit 120 inputs a certain target image into the AI ​​model AI1 and obtains a judgment score indicating an estimated probability of classification into each of a plurality of groups. Then, the classification unit 120 classifies the target image based on the obtained judgment score. For example, when the agricultural product in the target image should be classified into one of three groups, namely, a first group (good product), a second group (dirty product), and a third group (immature product), and the judgment score of the first group is the highest, the classification unit 120 classifies the target image of the agricultural product into the first group.

[0050] Next, in step S1004, the classification unit 120 acquires an index value (also called a confidence level) indicating the likelihood of the classification in step S1002. For example, the classification unit 120 may determine the judgment score of the group into which the target image is classified in step S1002 as the confidence level for each of the target images. Alternatively, the classification unit 120 may determine the confidence level for each of the target images based on the judgment score for each group obtained in step S1002. For example, the classification unit 120 may acquire the ratio of the judgment score of the group into which the target image is classified (i.e., the highest judgment score) to the judgment score of the next highest group (i.e., the second highest judgment score) as the confidence level.

[0051] Next, in step S1006, the candidate image determination unit 130 determines, from among the multiple target images, candidate images that are candidates for learning images used to update the AI ​​model AI1. For example, the candidate image determination unit 130 may arrange the multiple target images in order of decreasing confidence level acquired by the classification unit 120 in step S1004 and determine a predetermined number (e.g., five) as candidate images. Alternatively, the candidate image determination unit 130 may uniformly determine, from among the multiple target images, images whose confidence level acquired by the classification unit 120 in step S1004 is lower than a predetermined standard as candidate images.

[0052] Next, in step S1008, the training image determination unit 140 determines training images to be used to update the AI ​​model AI1 from among the candidate images determined in step S1006. For example, the training image determination unit 140 determines a predetermined number (e.g., three) of images from among the candidate images, arranged in order of decreasing confidence, as provisional training images. Then, the training image determination unit 140 displays the provisionally determined training images and the candidate images that were not determined as provisionally determined images on the input / output device 12, as shown in, for example, FIG.

[0053] 8, in response to the fact that there are three images to be transmitted as training images, image I1 with the lowest confidence, image I2 with the next lowest confidence, and image I3 with the third lowest confidence are displayed as provisionally determined training images. In addition, image I4 with the next lowest confidence after image I3, and image I5 with the next lowest confidence are displayed as candidate images.

[0054] The learning image determination unit 140 may accept a user input to change the number of learning images to be output. In the example of FIG. 8, the number "3" is displayed to the right of "Number of images" in response to the selection of outputting three learning images. The learning image determination unit 140 may change the number of learning images to be output in response to an operation to change this number (for example, an operation to input another number or an operation to select an increase / decrease button (not shown) displayed next to the number). When the learning image determination unit 140 accepts a user input to increase the number of learning images, it may give priority to an image with a low degree of certainty among the candidate images and change a required number of images from the candidate images to provisional learning images. Furthermore, when making a change to reduce the number of learning images, the learning image determination unit 140 may give priority to an image with a high degree of certainty among the current provisional learning images and change the learning image to a candidate image that is not a provisional learning image.

[0055] Furthermore, when accepting an operation to determine a learning image, the learning image determination unit 140 may display information related to the communication cost for transmitting the learning image using a communication means having a predetermined limit (the above-mentioned second communication means) for the user's reference when receiving the operation to determine the learning image. In the example of FIG. 8, the learning image determination unit 140 displays information indicating the maximum communication capacity of the communication device 16 within a predetermined period (e.g., this month) and information indicating the communication volume already performed within the predetermined period to the right of "communication volume of this month" as information related to the communication cost for transmitting the learning image to the server device 20. Furthermore, the learning image determination unit 140 may display information regarding the total data volume of the selected learning images to assist the user in determining how many learning images should be output or which images should be output as learning images. In the example of FIG. 8, the learning image determination unit 140 displays the total data volume of the currently selected tentative learning image in kilobytes next to "capacity of selected image".

[0056] In FIG. 8, the learning image determination unit 140 may receive a user input to replace any of the provisionally determined learning images (images I1 to I3) with other candidate images (images I4 to I5). For example, the learning image determination unit 140 may receive an operation of selecting image I4 and dragging and dropping it onto image I1 as a user input to set image I4 as the learning image instead of image I1. In this case, the learning image determination unit 140 provisionally determines image I1 as a candidate image different from the other learning images. After the user changes the desired image to be the provisional learning image in this way, the learning image determination unit 140 receives a user input to determine the current learning image. In the example of FIG. 8, when the learning image determination unit 140 receives a user input to select a button marked "Determine", it determines the image currently selected as the learning image (for example, image I4, image I2, image I3) as the learning image.

[0057] After the learning image determination unit 140 determines a learning image in response to a user input in step S1008 of FIG. 7, the information output unit 160 outputs output information including information indicating the learning image in step S1010. For example, the information output unit 160 generates output information including image data of the learning image and tag information indicating the group into which the learning image is classified in step S1002, as shown in FIG. 6. Then, the information output unit 160 transmits this output information to the server device 20 using a second communication means having a predetermined restriction of the communication device 16. The output output information may be accumulated in accumulated information D2 by, for example, the information storage unit 250 of the server device 20. After the end of step S1010, the process of FIG. 7 is ended.

[0058] After the process of Fig. 7, the server device 20 and the terminal device 10 perform a process of updating the AI ​​model AI1 as shown in Fig. 9. The server device 20 starts the process of Fig. 9 at predetermined intervals (for example, every time 23:59 occurs each day). Alternatively, the server device 20 may start the process of Fig. 9 in response to any of the terminal devices 10 receiving the output information output in step S1010 of the process of Fig. 7.

[0059] In the process of Fig. 9, first, in step S2002, the information acquiring unit 210 acquires output information. For example, the information acquiring unit 210 acquires, from the information storage unit 250, output information newly stored in the accumulated information D2 from the end of the previous process of Fig. 9 to the current execution.

[0060] Next, in step S2003, the tag determination unit 220 performs a process of displaying tag information. For example, the tag determination unit 220 uses the input / output device 22 to display a plurality of learning images included in the output information acquired in step S2002 in association with the tag information of each learning image.

[0061] Next, in step S2004, the tag determination unit 220 determines whether or not a user input for changing tag information included in the output information has been received. At this time, the user may take out and check any number of pieces of output information acquired in step S2002, and perform an operation for changing or confirming the tag information without changing it. For example, when the tag determination unit 220 receives a user input for changing any of the tag information displayed in step S2003, for example, a user input for changing the displayed tag information from "good" to "dirty", the tag determination unit 220 determines YES in step S2004. On the other hand, when the tag determination unit 220 receives a user input for using any of the tag information included in the output information as it is as learning data without changing it, for example, a user input for confirming the tag information displayed in step S2003 without changing it, the tag determination unit 220 determines NO in step S2004.

[0062] If it is determined that the result is YES in step S2004, then in step S2006, the tag determination unit 220 changes the tag information according to the content indicated by the user input. For example, the tag determination unit 220 changes the tag information of any number of learning images whose tag information has been changed by the user input in step S2004 to content according to the user input. On the other hand, for any number of learning images whose tag information has been confirmed by the user not to be changed, the tag determination unit 220 does not change the tag information. After that, the process proceeds to step S2008. On the other hand, if it is determined that the result is NO in step S2004, then step S2006 is skipped, and the process proceeds to step S2008.

[0063] In step S2008, the re-learning unit 230 re-learns the AI ​​model AI2. For example, the re-learning unit 230 re-learns the AI ​​model AI2 by using the learning image included in the output information acquired in step S2002 as supervised learning data with the tag information indicated by the output information or the tag information changed in step S2006 as a supervised learning data. In step S2008, the re-learning unit 230 performs a process of re-learning the AI ​​model AI2 using the computing capacity of the computing device 24 of the server device 20. For this reason, the image management system 1 can re-learn the AI ​​model AI2 using the computing capacity of the server device 20, not the terminal device 10.

[0064] Next, in step S2010, the output unit 240 outputs update information indicating the AI ​​model AI2 re-learned in step S2008. For example, the output unit 240 uses the communication device 26 to output information indicating the entire AI model AI2 resulting from the re-learning in step S2008 as update information to one or more terminal devices 10. Alternatively, the output unit 240 may output information indicating a difference between the AI ​​model AI2 before the re-learning in step S2008 and the AI ​​model AI2 after the re-learning as update information to one or more terminal devices 10. After outputting the update information in step S2010, the information storage unit 250 may delete the learning information used for learning the AI ​​model AI2 included in the accumulated information D2.

[0065] Next, in step S2012, the information acquisition unit 110 of the terminal device 10 to which the update information is output acquires the update information. For example, the information acquisition unit 110 uses the communication device 16 to acquire the update information output in step S2010.

[0066] Next, in step S2014, the model update unit 150 updates the AI ​​model AI1. For example, if the update information acquired in step S2012 includes information indicating the entire AI model AI2, the model update unit 150 overwrites the entire AI model AI1 with the information included in the update information. Alternatively, if the update information acquired in step S2012 includes information indicating a difference between the AI ​​model AI2 before re-learning and the AI ​​model AI2 after re-learning, the model update unit 150 updates the AI ​​model AI1 using the information indicating the difference. In this way, by the process of step S2014, the model update unit 150 updates the AI ​​model AI1 using the learning image included in the output information output in step S1010 of FIG. 7. As a result, the AI ​​model AI1 is updated to become the same machine learning model as the re-learned AI model AI2.

[0067] When step S2014 is completed, the processing in Fig. 9 ends. After updating the AI ​​model AI1 in the processing in Fig. 9, the terminal device 10 may perform classification processing of the image of the agricultural crops using the updated AI model AI1, as shown in Fig. 10. The terminal device 10 starts the processing in Fig. 10 when the information acquisition unit 110 acquires image information indicating an image of the harvested agricultural crop captured by the mounting device 40 after the processing in Fig. 9, similar to the processing in Fig. 7.

[0068] In the process of FIG. 10, first, in step S3002, a target image including one target farm product is obtained from the obtained image information, similarly to step S1001 in FIG.

[0069] Next, in step S3004 of FIG. 10, similar to step S1002 of FIG. 7, the classification unit 120 classifies the harvested crops using the AI ​​model AI1 updated in step S2014 of FIG.

[0070] Next, in step S3006 of FIG. 10, the information output unit 160 outputs information indicating the classification result. For example, the information output unit 160 uses the input / output device 22 to display a screen indicating the target image acquired in step S3002 and information indicating the classification result in a manner that is visible to the user, thereby outputting the information indicating the classification result. Alternatively, the information output unit 160 may output information indicating the acquired target image and the classification result in association with each other to an external device (for example, the server device 20, the operating device 30, or the mounted device 40). For example, the output information indicating the classification result may be used for an operation of automatically sorting agricultural products on the sorting conveyor 35 of the operating device 30, an operation of managing the state of agricultural products in a farm field, and the like.

[0071] As described above, the image management system 1 of this embodiment classifies agricultural products into a plurality of groups using the AI ​​model AI1 based on a plurality of target images of each agricultural product, and determines training images to be used for updating the AI ​​model AI1 from the plurality of target images based on the confidence level indicating the likelihood of the classification result. Therefore, the image management system 1 can efficiently provide training images for training a machine learning model that classifies images of target agricultural products.

[0072] Second embodiment The image management system 1 according to this embodiment differs from the image management system 1 according to the first embodiment in that images that are less similar to each other are determined as candidate images. For this reason, the image management system 1 according to this embodiment executes the process of Fig. 11 instead of the process of Fig. 7. In other respects, the image management system 1 according to this embodiment is similar to the image management system 1 according to the first embodiment.

[0073] The terminal device 10 of the image management system 1 of this embodiment starts the process of FIG. 11 when the information acquisition unit 110 acquires image information indicating captured images of a plurality of agricultural products from the mounting device 40.

[0074] In the process of FIG. 11, first, in step S4001, the information acquisition unit 110 acquires a target image, similarly to step S1001 in FIG.

[0075] Next, in step S4002 of FIG. 11, the classification unit 120 of the terminal device 10 inputs each of the acquired target images to the AI ​​model AI1, in the same manner as in step S1002 of FIG. 7, thereby classifying the target images into a plurality of groups.

[0076] Next, in step S4004 in FIG. 11, similar to step S1004 in FIG. 7, the classifier 120 obtains the confidence level of the classification in step S4002.

[0077] Next, in step S4006 in Fig. 11, the candidate image determination unit 130 determines candidate images to be candidates for learning images, similar to step S1006 in Fig. 7. Note that in this embodiment, the candidate image determination unit 130 determines two or more candidate images.

[0078] Next, in step S4008 of FIG. 11, the candidate image determination unit 130 determines a similarity indicating the degree of similarity between the multiple candidate images determined in step S4006. For example, the candidate image determination unit 130 extracts feature amounts of the candidate images for any two of the multiple candidate images determined in step S4006 using any known technology such as the AKAZE (Accelerated-KAZE) or SIFT (scale-invariant feature transformation) algorithm. The candidate image determination unit 130 obtains an index value indicating the degree of similarity between the extracted feature amounts for the two target candidate images, and determines the index value as the similarity of the pair of candidate images. The candidate image determination unit 130 similarly determines the similarity for all combinations of two images that can be extracted from the multiple candidate images.

[0079] Next, in step S4010, the candidate image determination unit 130 determines whether the similarity determined in step S4008 satisfies a predetermined condition. For example, if any one of the similarities determined for all combinations of two images that can be extracted from the multiple candidate images is greater than a predetermined similarity threshold, that is, if any two images are similar to each other more than the predetermined threshold, the candidate image determination unit 130 determines that the predetermined condition is not satisfied (step S4010; NO). In this case, the process proceeds to step S4012.

[0080] In step S4012, the candidate image determination unit 130 performs a process of replacing at least one of two candidate images that are similar beyond a predetermined condition. For example, the candidate image determination unit 130 determines, as the image to be replaced, the pair with the highest similarity among the pairs of candidate images determined to be similar beyond a predetermined condition in step S4010. Furthermore, the candidate image determination unit 130 determines, as the image to be replaced, the candidate image with the higher degree of certainty among the candidate images that belong to the pair to be replaced. Note that the candidate image determination unit 130 may determine, as the image to be replaced, the image with the higher average similarity with other candidate images or the image with the higher maximum similarity with all other candidate images among the candidate images that belong to the pair to be replaced.

[0081] Then, the candidate image determination unit 130 replaces the candidate image determined as the image to be replaced with an image determined based on the certainty factor obtained in step S4004 from among the target images acquired by the information acquisition unit 110. For example, the candidate image determination unit 130 determines, from among the target images not determined as candidate images in step S4006, the image with the smallest certainty factor obtained in step S4004 as a new candidate image in place of the candidate image determined as the image to be replaced.

[0082] The candidate image determination unit 130 may exclude the candidate image with high similarity replaced in step S4012 from the processing target in the loop processing of steps S4008 to S4012 executed later.

[0083] After step S4012, the candidate image determination unit 130 repeats the loop of steps S4008 to S4012 until the similarities of the new plurality of candidate images satisfy the predetermined condition.

[0084] On the other hand, in step S4010, the candidate image determination unit 130 determines that the predetermined condition is satisfied if the similarity determined for all combinations of two images that can be extracted from the multiple candidate images is equal to or less than a predetermined similarity threshold, that is, if the similarity of the two images in all combinations is equal to or less than the predetermined threshold (step S4010; YES). In this way, the candidate images are replaced until the similarity of the two images in all combinations is equal to or less than the predetermined threshold, so that the multiple candidate images determined by the candidate image determination unit 130 have mutual similarities lower than the predetermined threshold for all possible combinations of two images.

[0085] If the result of step S4010 is YES, then in step S4014, the learning image determination unit 140 determines a learning image in the same manner as in step S1008 of FIG.

[0086] Next, in step S4016 of Fig. 11, information output unit 160 outputs an output image including information about the learning image, similar to step S1010 of Fig. 7. When step S4016 ends, the processing of Fig. 11 ends.

[0087] In the image management system 1 of this embodiment, when determining multiple candidate images, the candidate images can be prevented from being similar to each other beyond a predetermined condition. Therefore, the image management system 1 can avoid re-learning the AI ​​model AI2 using learning images determined from candidate images having diverse features, rather than candidate images that are similar to each other beyond a certain limit, and updating the AI ​​model AI1.

[0088] (Modification) The configurations described in the embodiments are merely examples, and the configurations can be changed without impairing the functions.

[0089] For example, part of the processing performed by the server device 20 in the above embodiment may be performed by the terminal device 10. For example, if the terminal device 10 has a tag determination unit corresponding to the tag determination unit 220 of the server device 20, the tag determination unit of the terminal device 10 may perform processing to determine tag information of a learning image between steps S1008 and S1010 in Fig. 7, similar to steps S2003 to S2006 in Fig. 9.

[0090] Also, part of the processing performed by the terminal device 10 in the above embodiment may be performed by the server device 20. For example, if the server device 20 has a training image determination unit corresponding to the training image determination unit 140 of the terminal device 10, the training image determination unit of the server device 20 may determine training images by performing processing similar to that of step S1008 of Fig. 7 between steps S2002 and S2004 of Fig. 9. In this case, in step S1008 of Fig. 7, the training image determination unit 140 determines all candidate images as training images, and the information output unit 160 outputs output information including the candidate images to the server device 20 in step S1010. Even in this case, the image management system 1 can reduce communication costs compared to transmitting all target images from the terminal device 10 to the server device 20.

[0091] Also, the image management system 1 of the above embodiment includes the server device 20 and the terminal device 10. However, the image management system 1 may include only a single device, for example, the terminal device 10. In this case, the information output unit 160 of the terminal device 10 outputs output information to the internal storage device 18 in step S1010 of FIG. 7. In this modified example, the terminal device 10 may have a tag determination unit corresponding to the tag determination unit 220, and this tag determination unit may execute the processes of steps S2003 to S2006 of FIG. 9. In addition, in this terminal device 10, the model update unit 150 performs a process corresponding to step S2008 of FIG. 9. The terminal device 10 may update the AI ​​model AI1 by re-learning the AI ​​model AI1 using the learning image included in the output information output by the information output unit 160 and the tag information determined by the tag determination unit.

[0092] Furthermore, when the AI ​​models AI1 of the multiple terminal devices 10 are different, the server device 20 may have multiple AI models AI2 corresponding to the respective AI models AI1. In this case, the re-learning unit 230 may re-learn, in step S2008, the AI ​​model AI2 corresponding to the terminal device 10 that output the output information acquired in step S2002 in Fig. 9. As a result, the server device 20 holds the AI ​​models AI2 that have been re-learned using the learning images selected by the users of the multiple terminal devices 10.

[0093] Moreover, the processing executed by the image management system 1 is not limited to the contents described in the embodiment. For example, in step S1001 of FIG. 7, the information acquisition unit 110 may acquire a plurality of target images from an external device (e.g., an external server) via the communication device 16. In addition, if the terminal device 10 has an imaging device capable of imaging agricultural products, the information acquisition unit 110 may acquire the target image from an image of the agricultural products captured using the imaging device of the terminal device 10. In this case, the terminal device 10 may be a device with a camera, such as a smartphone or smart glasses, worn by a user (e.g., a patrol officer, etc.) of the working device 30. In addition, the information acquisition unit 110 may acquire the target image by acquiring information on an image of a plurality of agricultural products captured using the imaging device of the terminal device 10 in step S1001, and cutting out a target image including one agricultural product from the image information.

[0094] Also, the screen displayed by the learning image determination unit 140 in step S1008 in Fig. 7 may be different from that in Fig. 8. For example, as shown in Fig. 12, the learning image determination unit 140 may display images from which a predetermined number of learning images can be determined from the candidate images determined in step S1006 in Fig. 7. In the example of Fig. 12, check boxes CB1 to CB5 are displayed below each of images I1 to I5 displayed as candidate images, allowing the user to select whether or not to select the image as a learning image. The user can select a predetermined number of learning images (e.g., three) by checking the check box below the candidate image desired as a learning image.

[0095] Also, the output information output in step S1010 in Fig. 7 may not include tag information. In this case, in step S2003 in Fig. 9, the tag determination unit 220 may newly determine tag information for each learning image in response to a user operation received using the input / output device 22 of the server device 20. Even in this configuration, the image management system 1 can reduce the complexity of user input compared to when the user of the terminal device 10 adds tag information to all target images or candidate images.

[0096] 11, the candidate image determination unit 130 may determine that the similarity does not satisfy the predetermined condition when the similarities determined for all combinations of two images that can be extracted from the multiple candidate images are all greater than a predetermined similarity threshold, that is, when all possible pairs of candidate images are similar to each other beyond the predetermined condition. In this case, the multiple candidate images determined by the candidate image determination unit 130 include at least a first candidate image whose certainty does not satisfy the predetermined index value condition, and a second candidate image whose similarity to the first candidate image is equal to or less than the predetermined threshold.

[0097] In the above embodiment, the AI ​​model AI1 and the AI ​​model AI2 are described as machine learning models realized using techniques such as neural networks and deep learning. However, the AI ​​model AI1 and the AI ​​model AI2 are not limited to those described in the above embodiment as long as they are models capable of classifying images into multiple groups. For example, the AI ​​model AI1 and the AI ​​model AI2 may be models realized by a known classification algorithm such as a support vector machine. In this case, the classification unit 120 may calculate, in step S1006 of FIG. 7, the distance from the classification boundary line when grouping each target image using the model, and obtain this distance as the confidence level.

[0098] (Additional Note) The image management method, image management system, and program described in each embodiment can be described as follows.

[0099] The image management method according to the first aspect includes: determining a degree of confidence that each of a plurality of target images of agricultural crops belongs to a group into which the target image has been classified using a first machine learning model; determining, from the plurality of target images, a training image to be used for updating the first machine learning model based on the determined confidence level; outputting output information including information indicating the determined learning image; Includes.

[0100] An image management method according to a second aspect is the image management method according to the first aspect, determining the training images determining a candidate image for the learning image by giving priority to an image having a lower certainty factor than other images among the plurality of target images; determining one or more of the candidate images as the training image; Includes.

[0101] An image management method according to a third aspect is the image management method according to the second aspect, Determining the candidate image includes determining a plurality of candidate images from among the plurality of target images, the candidate images including a first candidate image whose certainty does not satisfy a predetermined certainty condition, and a second candidate image whose similarity to the first candidate image is equal to or less than a predetermined threshold value.

[0102] An image management method according to a fourth aspect is the image management method according to the third aspect, determining the training images displaying one or more candidate images from the determined plurality of candidate images; receiving a user input specifying the learning image from among the one or more displayed candidate images; Further includes.

[0103] An image management method according to a fifth aspect is an image management method according to any one of the first to fourth aspects, the determining of the confidence level, the determining of the training image, and the outputting of the output information are performed by a first device; outputting the output information includes outputting the output information to a second device that is at a different location than the first device; re-learning a second machine learning model corresponding to the first machine learning model by the second device using the training image included in the output information that has been output; outputting update information indicating a result of re-learning the second machine learning model from the second device to the first device; updating the first machine learning model based on the output update information; Further includes.

[0104] An image management method according to a sixth aspect is the image management method according to the fifth aspect, Outputting the output information from the first device to the second device is performed using a communication means having a predetermined limitation.

[0105] An image management method according to a seventh aspect is an image management method according to the fifth or sixth aspect, the output information includes tag information indicating a group into which the training images are classified using the first machine learning model; Retraining the second machine learning model includes retraining the second machine learning model based on the training images and the tag information.

[0106] An image management method according to an eighth aspect is an image management method according to the seventh aspect, The method further includes accepting user input to modify the tag information of the training images included in the output information.

[0107] An image management method according to a ninth aspect is an image management method according to any one of the fifth to seventh aspects, classifying the target image of the harvested crop into one of the plurality of groups using the updated first machine learning model based on the target image of the harvested crop; outputting information indicating the group into which the target image of the harvested crop is classified; Further includes.

[0108] An image management system according to a tenth aspect of the present invention comprises: a classification unit that, for each of a plurality of target images of agricultural crops, determines a degree of confidence that the target image belongs to one of a plurality of groups when classifying the target image into one of a plurality of groups using a first machine learning model; a learning image determination unit that determines a learning image to be used for updating the first machine learning model from the plurality of target images based on the determined confidence level; an information output unit that outputs output information including information indicating the determined learning image; Equipped with.

[0109] The program according to the eleventh aspect comprises: On the computer, determining a degree of confidence that each of a plurality of target images of agricultural crops belongs to a group into which the target image has been classified using a first machine learning model; determining, from the plurality of target images, a training image to be used for updating the first machine learning model based on the determined confidence level; outputting output information including information indicating the determined learning image; Execute the command. [Explanation of symbols]

[0110] 1 Image Management System 10 Terminal Equipment 12 Input / Output Devices 14 Arithmetic unit 16 Communication equipment 18 Storage device 110 Information Acquisition Department 120 Classification Department 130 Candidate image determination unit 140 Learning image determination unit 150 Model Update Section 160 Information output section 170 Information storage section 20 Server device 22 Input / Output Devices 24 Arithmetic unit 26 Communication Equipment 28 Storage device 210 Information Acquisition Department 220 Tag Determination Unit 230 Re-learning section 240 Output section 250 Information storage section 30 Work Equipment 31 Pick-up swing bar 32 Cutting blade 33 Transport Conveyor 34 Rocking device 35 Sorting Conveyor 36 SHOTS 40 Onboard Equipment 45 Imaging Device P1, P2 Program M1, M2 storage medium NT Network D1 Image Information AI1 AI model AI2 AI Model I1~I5 Candidate images CB1~CB5 Checkboxes

Claims

1. determining a degree of confidence that each of a plurality of target images of agricultural crops belongs to a group into which the target image has been classified using a first machine learning model; determining, from the plurality of target images, a training image to be used for updating the first machine learning model based on the determined confidence level; outputting output information including information indicating the determined learning image; Including, Image management methods.

2. determining the training images determining a candidate image for the learning image by giving priority to an image having a lower certainty factor than other images among the plurality of target images; determining one or more of the candidate images as the training image; Including, The image management method according to claim 1 .

3. determining the candidate image includes determining, from among the plurality of target images, a plurality of candidate images including a first candidate image whose certainty does not satisfy a predetermined certainty condition, and a second candidate image whose similarity to the first candidate image is equal to or less than a predetermined threshold value; The image management method according to claim 2 .

4. determining the training images displaying one or more candidate images from the determined plurality of candidate images; receiving a user input specifying the learning image from among the one or more displayed candidate images; Further comprising: The image management method according to claim 3.

5. determining the confidence level, determining the training image, and outputting the output information are performed by a first device; outputting the output information includes outputting the output information to a second device that is at a different location than the first device; re-learning a second machine learning model corresponding to the first machine learning model by the second device using the training image included in the output information that has been output; outputting update information indicating a result of re-learning the second machine learning model from the second device to the first device; updating the first machine learning model based on the output update information; Further comprising: The image management method according to claim 1 .

6. The output of the output information from the first device to the second device is performed using a communication means having a predetermined restriction. The image management method according to claim 5.

7. the output information includes tag information indicating a group into which the training images are classified using the first machine learning model; retraining the second machine learning model includes retraining the second machine learning model based on the training images and the tag information. The image management method according to claim 5.

8. and receiving a user input for modifying the tag information of the learning image included in the output information. The image management method according to claim 7.

9. classifying the target image of the harvested crop into one of the plurality of groups using the updated first machine learning model based on the target image of the harvested crop; outputting information indicating the group into which the target image of the harvested crop is classified; Further comprising: The image management method according to claim 5.

10. a classification unit that, for each of a plurality of target images of agricultural crops, determines a degree of confidence that the target image belongs to one of a plurality of groups when classifying the target image into one of a plurality of groups using a first machine learning model; a learning image determination unit that determines a learning image to be used for updating the first machine learning model from the plurality of target images based on the determined confidence level; an information output unit that outputs output information including information indicating the determined learning image; Equipped with Image management system.

11. On the computer, determining a degree of confidence that each of a plurality of target images of agricultural crops belongs to a group into which the target image has been classified using a first machine learning model; determining, from the plurality of target images, a training image to be used for updating the first machine learning model based on the determined confidence level; outputting output information including information indicating the determined learning image; A program for executing.

Citation Information

Patent Citations

  • Electronic commerce device, electronic commerce method and computer program

    JP2021056839A

  • Information processing terminal, information processing method, and program

    JP2021196709A

  • Determination system, image generation apparatus, image generation method, and image generation program

    JP2022142555A

  • Information processing system

    JP2021033924A