Plant disease detection using multi-stage and multi-scale deep learning

Through a combination of multi-stage methods and digital models, deep learning technology is used to identify multi-sized and overlapping symptoms in plant photos, solving the problem of identifying multi-sized and overlapping symptoms in the existing technology, and improving the accuracy and accuracy of plant disease detection in agriculture. efficiency.

CN113228047BInactive Publication Date: 2024-09-10CLIMATE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980085791.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-10-24
Filing Date
2019-10-24
Publication Date
2024-09-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

It is difficult to accurately identify multi-sized and overlapping plant disease symptoms from plant photos with existing technology, especially in automated detection in agriculture, which requires a large number of sample photos to achieve effective detection.

Method used

A multi-stage approach was adopted by building multiple digital models, each used to identify symptoms of similar size, and using deep learning architectures such as convolutional neural networks (CNN) to classify plant images into different categories, first applied to identify relatively small symptoms model, and then apply the model that recognizes relatively large symptoms against the comprehensive category to achieve accurate detection of multi-dimensional symptoms.

Benefits of technology

It realizes the detection of multiple plant diseases from a single plant image, including the identification of relatively small and large symptoms, reducing the number of required sample images and improving the accuracy and efficiency of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113228047B_ABST
    Figure CN113228047B_ABST
Patent Text Reader

Abstract

In some embodiments, the system is programmed to build multiple digital models from multiple training sets, each digital model is used to identify plant diseases with symptoms of similar size. Each digital model can be implemented using a deep learning architecture that classifies images into one of several categories. Therefore, for each training set, the system is programmed to collect images showing symptoms of one or more plant diseases of similar size. These images are then assigned to multiple disease categories. For the first training set in the training set used to build the first digital model, the system is programmed to also include images corresponding to health conditions and images with symptoms of other sizes. These images are then assigned to disease-free categories and comprehensive categories. Given a new image from a user device, the system is programmed to then first apply the first digital model. For portions of the new image that are classified as comprehensive categories, the system is programmed to apply another digital model. The system is programmed to eventually transmit classification data to the user device, which indicates how each portion of the new image is classified into a category corresponding to plant disease or no plant disease.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] A portion of the disclosure of this patent document contains material that is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever. 2015-2019 Climate Corporation. Technical Field

[0003] The present disclosure relates to the field of plant disease detection and machine learning technology. The present disclosure also relates to the field of processing images at different scales to identify diseases with symptoms of different sizes. Background Art

[0004] The approaches described in this section are approaches that could be pursued, but not necessarily approaches that have been previously conceived or pursued. Therefore, unless otherwise indicated, it should not be assumed that any approach described in this section qualifies as prior art merely by virtue of its inclusion in this section.

[0005] Plant disease detection is important in agriculture. Today, automated methods usually involve classifying plant photos by learning from sample photos. Each photo may show a leaf with disease symptoms. Sometimes, these symptoms are caused by multiple diseases. Sometimes, these symptoms are of different sizes or overlap each other. It would be helpful to have an efficient and accurate method to identify plant diseases that infect leaves from such photos without having to sample a large number of photos showing various symptoms of these plant diseases. Summary of the invention

[0006] The following claims may serve as a summary of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] In the attached picture:

[0008] Figure 1 An example computer system configured to perform the functions described herein is shown in a field environment along with other devices with which the system can interact.

[0009] Figure 2 Two views of an example logical organization of a set of instructions in main memory when an example mobile application is loaded for execution are shown.

[0010] Figure 3 A programming process is shown by which an agricultural intelligence computer system generates one or more pre-configured agronomic models using agronomic data provided by one or more data sources.

[0011] Figure 4 is a block diagram illustrating a computer system upon which embodiments of the present invention may be implemented.

[0012] Figure 5 An example embodiment of a timeline view for data entry is depicted.

[0013] Figure 6 An example embodiment of a spreadsheet view for data entry is depicted.

[0014] Fig. 7A An example method of extracting a sample image from a photograph showing symptoms of a relatively minor plant disease is shown.

[0015] Figure 7B An example method of extracting a sample image from a photograph showing symptoms of a relatively large plant disease is shown.

[0016] Figure 8 An example process for identifying plant diseases with multi-sized symptoms from plant images using multiple digital models is shown.

[0017] Fig. 9A An example prediction graph is shown illustrating the results of applying a first digital model to plant images to identify plant diseases with relatively minor symptoms.

[0018] Fig. 9B An example prediction graph is shown illustrating the results of applying the second digital model to plant images to identify plant diseases with relatively large symptoms.

[0019] Fig.10 An example method performed by a server computer programmed to identify plant diseases having multi-sized symptoms from plant images is shown. DETAILED DESCRIPTION

[0020] In the following description, for the purpose of explanation, many specific details are set forth in order to provide a thorough understanding of the present disclosure. However, it will be apparent that embodiments can be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form to avoid unnecessarily obscuring the present disclosure. According to the following summary, embodiments are disclosed in various sections:

[0021] 1. Overview

[0022] 2. Example Agricultural Intelligent Computer System

[0023] 2.1. Structural Overview

[0024] 2.2. Application Overview

[0025] 2.3. Data Ingestion into Computer Systems

[0026] 2.4. Process Overview - Agricultural Model Training

[0027] 2.5. Implementation Example - Hardware Overview

[0028] 3. Functional description

[0029] 3.3 Training set and digital model construction

[0030] 3.4 Digital Model Execution

[0031] 3.5 Example Process

[0032] 4. Extensions and Alternatives

[0033] 1. General Overview

[0034] A system for identifying plant diseases that produce multi-sized symptoms from plant photos is disclosed. In some embodiments, the system is programmed to build multiple digital models from multiple training sets, each digital model being used to identify plant diseases with symptoms of similar sizes. Each digital model can be implemented using a deep learning architecture (such as a convolutional neural network (CNN)) that classifies images into one of several categories. Therefore, for each training set, the system is programmed to collect images showing symptoms of one or more plant diseases of similar sizes. These images are then assigned to multiple disease categories. For the first training set in the training set used to build the first digital model, the system is programmed to also include images corresponding to health conditions and images with symptoms of other sizes. These images are then assigned to a disease-free category and a catch-all category. Given a new image from a user device, the system is programmed to then first apply the first digital model. For at least a portion of the new image classified as a catch-all category by the first digital model, the system is programmed to then apply another digital model. The system is programmed to ultimately transmit to the user device classification data indicating how each portion of the new image is classified into a category corresponding to plant disease or no plant disease at all.

[0035] In some embodiments, the plant is corn. Each image can be a digital image, and is typically a photograph showing a corn leaf infected with one or more diseases. The system can be programmed to build two digital models, a first digital model for identifying corn diseases that produce relatively minor symptoms, and a second digital model for identifying corn diseases that produce larger symptoms.

[0036] In some embodiments, for the first training set for building the first digital model, the system can be configured to include photos that mainly show symptoms of these diseases with relatively small symptoms. These photos will therefore have a relatively small size. Alternatively, the system can be configured to include scaled versions of these photos that correspond to a field of view similar to the original photo but with a fixed size. The system can be configured to also include photos corresponding to a similar field of view, but not showing symptoms or showing symptoms of these diseases with relatively large symptoms. Therefore, the first digital model is designed to classify corn images into a category corresponding to one of these corn diseases with relatively small symptoms or health conditions, or a comprehensive category corresponding to a combination of these corn diseases with relatively large symptoms.

[0037] In some embodiments, for a second training set for building a second digital model, the system can be configured to include photos that primarily show symptoms of these diseases with relatively large symptoms. These photos will therefore have a relatively large size. Alternatively, the system can be configured to include scaled versions of these photos that correspond to a field of view similar to the original photos but with a fixed size. Therefore, the second digital model is designed to classify corn images into a category corresponding to one of these corn diseases with relatively large symptoms. The system can be programmed to construct a first digital model and a second digital model as CNNs from the first training set and the second training set, respectively.

[0038] In some embodiments, the system is programmed to receive a new image from a user device, such as a new photo of an infected corn leaf, and apply the digital model to the new image. Specifically, the system is programmed to first apply the first digital model to the new image to classify each first area within the new image as one of the categories corresponding to a combination of corn diseases with relatively small symptoms, health conditions, or corn diseases with relatively large symptoms. The system is programmed to then apply the second digital model to each second area within the combination of the first areas that have been classified as comprehensive categories to classify as one of the categories corresponding to corn diseases with relatively large symptoms. The second area is typically larger than the first area, and the first area corresponds to larger symptoms or a larger field of view. The system can be programmed to subsequently send classification data to the user device, which is related to how each first area or second area is classified as one of the categories corresponding to corn diseases or health conditions.

[0039] The system produces various technical benefits. The system allows for the detection of many plant diseases from a single plant image. The system also allows for the detection of a plant disease having relatively small symptoms, even if such symptoms overlap with relatively large symptoms of another plant disease. In addition, the system also allows for the detection of plant diseases having multi-sized symptoms from a single plant image. More specifically, the system enables each of a plurality of regions within a plant to be associated with one of a plurality of plant diseases or a health category, even if the disease symptoms are of different sizes. Furthermore, a multi-stage approach, in which different digital models designed to identify different groups of symptoms are sequentially applied, can achieve accuracy while requiring relatively few sample images, compared to a single-stage approach that simultaneously detects different groups of symptoms. In particular, a multi-stage approach can utilize multiple images extracted from an image used to train a single-stage approach, wherein the image shows multiple groups of symptoms, and each extracted image shows only one group of symptoms.

[0040] Other aspects and features of the embodiments will become apparent from the remainder of the disclosure.

[0041] 2. Example Agricultural Intelligent Computer System

[0042] 2.1. Structural Overview

[0043] Figure 1 An example computer system configured to perform the functions described herein is shown in a field environment along with other devices with which the system can interoperate. In one embodiment, a user 102 owns, operates, or possesses a field manager computing device 104 in or associated with a field location, such as a field for agricultural activities or a management location for one or more agricultural fields. The field manager computer device 104 is programmed or configured to provide field data 106 to an agricultural intelligence computer system 130 via one or more networks 109.

[0044] Examples of field data 106 include: (a) identification data (e.g., area, field name, field identifier, geographic identifier, boundary identifier, crop identifier, and any other suitable data that can be used to identify agricultural fields, such as common land units (CLUs), lot and block numbers, parcel numbers, geographic coordinates and boundaries, farm serial numbers (FSNs), farm numbers, zone numbers, field numbers, regions, townships, and / or ranges); (b) harvest data (e.g., crop type, crop variety, crop rotation, whether the crop is grown organically, harvest date, actual production history (APH), expected yield, yield, crop price, crop income, grain moisture, tillage practices, and previous growing season information); (c) soil data (e.g., type, composition, pH, organic matter (OM), cation exchange capacity (CEC)); (d) planting data (e.g., planting date, type of one or more seeds, relative maturity (RM) of one or more seeds planted, seed population); (e) fertilizer data (e.g., nutrient type (nitrogen, phosphorus, potassium) , type of application, date of application, amount, source, method); (f) chemical application data (e.g., pesticides, herbicides, fungicides, other substances or mixtures of substances intended for use as plant regulators, defoliants or desiccants, date of application, amount, source, method); (g) irrigation data (e.g., date of application, amount, source, method); (h) weather data (e.g., precipitation, rainfall rate, predicted rainfall, water runoff rate area, temperature, wind, forecast, pressure, visibility, clouds, heat index, dew point, humidity, snow depth, air quality , sunrise, sunset); (i) imagery data (e.g., images and spectral information from agricultural device sensors, cameras, computers, smart phones, tablets, unmanned aerial vehicles, aircraft, or satellites); (j) reconnaissance observations (photos, videos, free-form notes, voice recordings, voice transcriptions, weather conditions (temperature, precipitation (current and over time), soil moisture, crop growth stage, wind speed, relative humidity, dew point, dark layer)); and (k) soil, seed, crop phenology, pest and disease reports, and forecast sources and databases.

[0045] The data server computer 108 is communicatively coupled to the agricultural intelligent computer system 130 and is programmed or configured to send external data 110 to the agricultural intelligent computer system 130 via one or more networks 109. The external data server computer 108 may be owned or operated by the same legal person or entity as the agricultural intelligent computer system 130, or owned or operated by a different person or entity (such as a government agency, a non-governmental organization (NGO) and / or a private data service provider). Examples of external data include weather data, image data, soil data, or statistics related to crop yields, etc. The external data 110 may consist of the same type of information as the field data 106. In some embodiments, the external data 110 is provided by an external data server 108 owned by the same entity that owns and / or operates the agricultural intelligent computer system 130. For example, the agricultural intelligent computer system 130 may include a data server that is specifically focused on a type of data (such as weather data) that may otherwise be obtained from a third-party source. In some embodiments, the external data server 108 may actually be incorporated into the system 130.

[0046] The agricultural device 111 may have one or more remote sensors 112 fixed thereon, which are directly or indirectly communicatively coupled to the agricultural intelligent computer system 130 via the agricultural device 111 and are programmed or configured to send sensor data to the agricultural intelligent computer system 130. Examples of agricultural devices 111 include: tractors, combines, harvesters, planters, trucks, fertilizer equipment, aircraft including unmanned aerial vehicles, and any other physical machinery or hardware items that are generally mobile machinery and can be used for tasks associated with agriculture. In some embodiments, a single unit of the device 111 may include multiple sensors 112 locally coupled in a network on the device; a controller area network (CAN) is an example of such a network that can be installed in combines, harvesters, sprayers, and cultivators. The application controller 114 is communicatively coupled to the agricultural intelligent computer system 130 via one or more networks 109 and is programmed or configured to receive one or more scripts for controlling the operating parameters or implementation of the agricultural vehicle from the agricultural intelligent computer system 130. For example, a controller area network (CAN) bus interface may be used to enable communication from the agricultural intelligence computer system 130 to the agricultural device 111, such as how the CLIMATE FIELDVIEW DRIVE available from the Climate Corporation of San Francisco, California may be used. The sensor data may consist of the same types of information as the field data 106. In some embodiments, the remote sensor 112 may not be fixed to the agricultural device 111, but may be remotely located in the field and may communicate with the network 109.

[0047] The device 111 may include a cab computer 115 programmed with a cab application, which may include a version or variation of a mobile application for the device 104 further described elsewhere herein. In one embodiment, the cab computer 115 includes a compact computer, typically a tablet-sized computer or smart phone, with a graphical screen display, such as a color display, mounted in the cab of the operator of the device 111. The cab computer 115 may implement some or all of the operations and functions further described herein for the mobile computer device 104.

[0048] One or more networks 109 broadly represent any combination of one or more data communication networks including a local area network, a wide area network, the Internet, or the Internet using any of wired or wireless links (including terrestrial or satellite links). The one or more networks may be provided by Figure 1 The data exchange between the various elements can be achieved by any medium or mechanism. Figure 1 The various elements of the system may also have direct (wired or wireless) communication links. The sensors 112, controller 114, external data server computer 108, and other elements of the system each include an interface compatible with one or more networks 109, and are programmed or configured to use standardized protocols for communication across networks, such as TCP / IP, Bluetooth, CAN protocols, and higher layer protocols (such as HTTP, TLS, etc.).

[0049] The agricultural intelligence computer system 130 is programmed or configured to receive field data 106 from the field manager computing device 104, external data 110 from the external data server computer 108, and sensor data from the remote sensor 112. The agricultural intelligence computer system 130 may be further configured to host, use or execute one or more computer programs, other software elements, digitally programmed logic (such as an FPGA or ASIC), or any combination thereof, to perform conversion and storage of data values, construction of digital models of one or more crops on one or more fields, generation of recommendations and notifications, and generation and transmission of scripts to the application controller 114 in a manner further described in other parts of this disclosure.

[0050] In one embodiment, the agricultural intelligence computer system 130 is programmed with or includes a communication layer 132, a presentation layer 134, a data management layer 140, a hardware / virtualization layer 150, and a model and field data repository 160. "Layers" in this context refer to any combination of electronic digital interface circuits, microcontrollers, firmware (such as drivers), and / or computer programs or other software elements.

[0051] The communication layer 132 may be programmed or configured to perform input / output interface functions, including sending requests for field data, external data, and sensor data, respectively, to the field manager computing device 104, the external data server computer 108, and the remote sensors 112. The communication layer 132 may be programmed or configured to send received data to the model and field data repository 160 for storage as the field data 106.

[0052] The presentation layer 134 may be programmed or configured to generate a graphical user interface (GUI) to be displayed on the field manager computing device 104, the cab computer 115, or other computer coupled to the system 130 via the network 109. The GUI may include controls for inputting data to be sent to the agricultural intelligence computer system 130, generating requests for models and / or recommendations, and / or displaying recommendations, notifications, models, and other field data.

[0053] The data management layer 140 may be programmed or configured to manage read operations and write operations involving the repository 160 and other functional elements of the system, including queries and result sets transmitted between the functional elements of the system and the repository. Examples of the data management layer 140 include JDBC, SQL server interface code, and / or HADOOP interface code, among others. The repository 160 may include a database. As used herein, the term "database" may refer to a body of data, a relational database management system (RDBMS), or both. As used herein, a database may include any collection of data (including hierarchical databases, relational databases, flat file databases, object-relational databases, object-oriented databases, distributed databases), and any other structured collection of records or data stored in a computer system. Examples of RDBMS include, but are not limited to MYSQL, DB2, SQL SERVER, and POSTGRESQL databases. However, any database implementing the systems and methods described herein may be used.

[0054] When field data 106 is provided directly to the agricultural intelligent computer system without one or more agricultural machinery or agricultural machinery equipment interacting with the agricultural intelligent computer system, the user can be prompted to enter such information via one or more user interfaces on the user device (served by the agricultural intelligent computer system). In an example embodiment, the user can specify identification data by accessing a map on the user device (served by the agricultural intelligent computer system) and selecting a specific CLU that has been graphically shown on the map. In an alternative embodiment, the user 102 can specify identification data by accessing a map on the user device (served by the agricultural intelligent computer system 130) and drawing the boundaries of the field on the map. Such CLU selection or map drawing represents a geographic identifier. In an alternative embodiment, the user can specify identification data by accessing field identification data from the Farm Service Agency of the United States Department of Agriculture or other sources (provided as a shape file or in a similar format) via a user device and providing such field identification data to the agricultural intelligent computer system.

[0055] In an example embodiment, the agricultural intelligence computer system 130 is programmed to generate a graphical user interface including a data manager for data input and cause the graphical user interface to be displayed. After one or more fields have been identified using the above method, the data manager may provide one or more graphical user interface widgets that, when selected, may identify changes in fields, soils, crops, tillage or nutrient practices. The data manager may include a timeline view, a spreadsheet view, and / or one or more editable programs.

[0056] Figure 5 An example embodiment of a timeline view of data input is depicted. Figure 5 In the display described in , the user computer can input a selection of a specific field and a specific date to add an event. The events described at the top of the timeline may include nitrogen, planting, practices, and soil. To add a nitrogen application event, the user computer may provide input to select a nitrogen label. The user computer may then select a location on the timeline for the specific field to indicate the application of nitrogen on the selected field. In response to receiving a selection of a location on the timeline for a specific field, the data manager may display a data entry overlay, allowing the user computer to enter data related to nitrogen application, planting process, soil application, tillage process, irrigation practices, or other information related to the specific field. For example, if the user computer selects a portion of the timeline and indicates the application of nitrogen, the data entry overlay may include fields for entering the amount of nitrogen applied, the date of application, the type of fertilizer used, and any other information related to the application of nitrogen.

[0057] In one embodiment, the data manager provides an interface for creating one or more programs. A "program" in this context refers to a set of data relating to nitrogen applications, planting procedures, soil applications, tillage procedures, irrigation practices, or other information that may be associated with one or more fields and that can be stored in a digital data store for reuse as a set in other operations. After a program has been created, it can be conceptually applied to one or more fields, and a reference to the program can be stored in the digital storage in association with the data identifying those fields. Thus, instead of manually entering the same data relating to the same nitrogen application for multiple different fields, a user computer can create a program indicating a particular application of nitrogen, and then apply the program to multiple different fields. For example, in Figure 5 In the timeline view of FIG. 1 , the first two timelines have selected the "Spring Application" program, which includes applying 150 lbs N / ac in early April. The data manager may provide an interface for editing programs. In one embodiment, when a particular program is edited, each field that has selected that particular program is edited. For example, in Figure 5 If the "Spring Application" program is edited to reduce the nitrogen application to 130 lbs N / ac, the first two fields can be updated with the reduced nitrogen application based on the edited program.

[0058] In one embodiment, in response to receiving an edit to a field for which a program was selected, the data manager removes the association of the field with the selected program. For example, if nitrogen application is added to Figure 5 If the top field in the , the interface can be updated to indicate that the "Spring Application" program is no longer applied to the top field. Although the early April nitrogen application may remain, the update to the "Spring Application" program will not change the April application of nitrogen.

[0059] Figure 6 Depicted is an example embodiment of a spreadsheet view for data entry. Figure 6 The display depicted in FIG. 10 allows a user to create and edit information for one or more fields. The data manager may include information such as Figure 6 The spreadsheet depicted in FIG. 1 is used to enter information about nitrogen, planting, practices, and soils. To edit a specific entry, the user computer can select the specific entry in the spreadsheet and update the value. For example, Figure 6 An ongoing update of the target yield value for the second field is depicted. In addition, the user computer can select one or more fields for application of one or more programs. In response to receiving a program selection for a particular field, the data manager can automatically complete the entry for the particular field based on the selected program. Figure 1In the same way, the data manager can update the entry of each field associated with a particular program in response to receiving an update to the program. In addition, the data manager can delete the corresponding relationship between the selected program and the field in response to receiving an edit to one of the entries of the field.

[0060] In one embodiment, the model and field data are stored in the model and field data repository 160. The model data includes a data model created for one or more fields. For example, a crop model may include a digitally constructed model of the development of crops on one or more fields. "Model" in this context refers to an electronic digital storage collection of executable instructions and data values ​​associated with each other, which are capable of receiving a programmatic or other digital call, call or parsing request and responding to the programmatic or other digital call, call or parsing request based on a specified input value to produce one or more stored or calculated output values, which can be used as a basis for computer-implemented advice, output data display or machine control, etc. Those skilled in the art find it convenient to express the model using mathematical equations, but this form of expression does not limit the models disclosed herein to abstract concepts; on the contrary, each model herein has practical application in a computer in the form of stored executable instructions and data, which use a computer to implement the model. The model may include a model of past events on one or more fields, a model of the current state of one or more fields, and / or a model of predicted events on one or more fields. The model and field data may be stored in a data structure in memory, in rows in a database table, in a flat file or spreadsheet, or in other forms of stored digital data.

[0061] In one embodiment, the agricultural intelligence computer system 130 is programmed to include a classification model management server computer (server) 170. The server 170 is also configured to include model building instructions 174, model execution instructions 176, and user interface instructions 178.

[0062] In some embodiments, model building instructions 174 provide computer executable instructions for assembling a training set and building a digital model from the training set to identify plant diseases with multi-size symptoms from plant images. Each digital model is designed to identify plant diseases with symptoms of similar size. Therefore, each training set includes images corresponding to different fields of view or different sized areas within plant leaves. Model configuration instructions 172 provide computer executable instructions for using a sliding window to specifically segment a given image into individual areas for a training set. Each digital model can be implemented with a deep learning architecture that classifies new images into one of a plurality of categories, each category corresponding to a plant disease, a health condition, or a comprehensive combination of a plurality of plant diseases.

[0063] In some embodiments, the model execution instructions 176 provide computer executable instructions for applying the digital model to new images for classification. Each new image can be a new plant photo showing multi-size symptoms of one or more plant diseases. A first digital model for identifying a first group of diseases with symptoms within a first clear range of sizes is applied to the new image. More specifically, the new image can be scaled as needed, and the first digital model can be used to classify different first regions of the new image into categories corresponding to a plant disease, a health condition, or a comprehensive category of all other plant diseases in the first group of plant diseases. The size of each first region will be related to the size within the first clear range. Next, a second digital model for identifying a second group of diseases with symptom sizes within a second clear range is applied to a combination of first regions classified as comprehensive categories. The remaining processes associated with the first digital model can be similarly performed with a second digital model or an additional digital model until each region of the new image is classified into at least one category corresponding to one of the plant diseases.

[0064] In some embodiments, user interface instructions 178 provide computer executable instructions for managing communications with other devices. Communications may include: receiving initial image data for training purposes from an image source; receiving new photos for classification from a user device; sending classification results of new photos to the user device; or sending a digital model to another user device.

[0065] Each component of the server 170 includes a page set consisting of one or more pages of the main memory (such as RAM) in the agricultural intelligent computer system 130, into which executable instructions have been loaded and when executed, cause the agricultural intelligent computing system to perform the functions or operations described herein with reference to these modules. For example, the model building module 174 may include a page set in RAM, and the page set contains instructions that, when executed, cause the location selection function described herein to be executed. The instructions may be in machine executable code in the instruction set of the CPU, and may have been compiled based on source code written in JAVA, C, C++, OBJECTIVE-C or any other human-readable programming language or environment, either alone or in combination with scripts in JAVASCRIPT, other scripting languages, and other programming source texts. The term "page" is intended to refer broadly to any area within the main memory, and the specific terms used in the system may vary depending on the memory architecture or processor architecture. In another embodiment, each component of the server 170 may also represent one or more source code files or projects digitally stored in the agricultural intelligent computer system 130 or a separate repository system, such as a non-volatile RAM or disk storage, which, when compiled or interpreted, causes the generation of executable instructions that, when executed, cause the agricultural intelligent computing system to perform the functions or operations described herein with reference to these modules. In other words, the drawings may represent the way in which a programmer or software developer organizes and arranges source code so that it can be later compiled into an executable file or interpreted into bytecode or equivalent for execution by the agricultural intelligent computer system 130.

[0066] The hardware / virtualization layer 150 includes one or more central processing units (CPUs), memory controllers, and other devices, components, or elements of a computer system, such as volatile or non-volatile memory, non-volatile storage (such as disks), and, for example, a combination of Figure 4 Layer 150 may also include programming instructions configured to support virtualization, containerization, or other technologies.

[0067] For the purpose of illustrating the example clearly, Figure 1 A limited number of instances of certain functional elements are shown. However, in other embodiments, there may be any number of such elements. For example, an embodiment may use thousands or millions of different mobile computing devices 104 associated with different users. In addition, the system 130 and / or the external data server computer 108 may be implemented using two or more processors, cores, clusters, or instances of physical or virtual machines that are configured in discrete locations or co-located with other elements in a data center, shared computing facility, or cloud computing facility.

[0068] 2.2. Application Overview

[0069] In one embodiment, the functions described herein are implemented using one or more computer programs or other software elements that are loaded into and executed using one or more general-purpose computers, which will cause these general-purpose computers to be configured as specific machines or computers configured specifically for performing the functions described herein. In addition, each flowchart further described herein can be used alone or in combination with the description of the procedures and functions in the prose form herein as an algorithm, plan or guide that can be used to program a computer or logic to implement the described functions. In other words, all prose and all attached text herein are intended to be used in conjunction with the above. Figure 1 The present invention is intended to provide a disclosure of algorithms, plans or instructions sufficient to allow a skilled person, taking into account the skill level applicable to the type of invention and disclosure combined with the skills and knowledge of such persons, to program a computer to perform the functions described herein.

[0070] In one embodiment, a user 102 interacts with an agricultural intelligence computer system 130 using a field manager computing device 104 configured with an operating system and one or more applications or applications; the field manager computing device 104 may also independently and automatically interoperate with the agricultural intelligence computer system under program control or logic control, and direct user interaction is not always required. The field manager computing device 104 broadly represents one or more of the following: a smart phone, a PDA, a tablet computing device, a laptop computer, a desktop computer, a workstation, or any other computing device capable of sending and receiving information and performing the functions described herein. The field manager computing device 104 can communicate via a network using a mobile application stored on the field manager computing device 104, and in some embodiments, the device can be coupled to a sensor 112 and / or a controller 114 using a cable 113 or connector. A particular user 102 may own, operate, or own and use more than one field manager computing device 104 in conjunction with the system 130 at a time.

[0071] The mobile application may provide client-side functionality to one or more mobile computing devices via a network. In an example embodiment, the field manager computing device 104 may access the mobile application via a web browser or a local client application or application. The field manager computing device 104 may send data to and receive data from one or more front-end servers using a network-based protocol or format (such as HTTP, XML and / or JSON) or an application-specific protocol. In an example embodiment, the data may take the form of a request to the mobile computing device and user information input (such as field data). In some embodiments, the mobile application interacts with location tracking hardware and software on the field manager computing device 104, which uses standard tracking technology (such as multi-lateration of radio signals, global positioning system (GPS), WiFi positioning system, or other mobile positioning methods) to determine the location of the field manager computing device 104. In some cases, location data or other data associated with the device 104, the user 102, and / or one or more user accounts may be obtained by querying the operating system of the device or by requesting an application on the device to obtain data from the operating system.

[0072] In one embodiment, the field manager computing device 104 sends field data 106 to the agricultural intelligence computer system 130, the field data 106 including or including, but not limited to, data values ​​representing one or more of the following: geographic location of one or more fields, farming information for one or more fields, crops grown in one or more fields, and soil data extracted from one or more fields. The field manager computing device 104 may send the field data 106 in response to user input from the user 102 specifying data values ​​for one or more fields. In addition, the field manager computing device 104 may automatically send the field data 106 when one or more of the data values ​​become available to the field manager computing device 104. For example, the field manager computing device 104 may be communicatively coupled to the remote sensor 112 and / or the application controller 114, including an irrigation sensor and / or an irrigation controller. In response to receiving data indicating that the application controller 114 released water onto one or more fields, the field manager computing device 104 may send field data 106 to the agricultural intelligence computer system 130 indicating that water was released onto the one or more fields. The field data 106 identified in the present disclosure may be input and transmitted using electronic digital data transmitted between computing devices using parameterized URLs over HTTP or another suitable communication or messaging protocol.

[0073] A commercial example of a mobile application is CLIMATE FIELDVIEW, available from CLIMATE, Inc. of San Francisco, California. The CLIMATE FIELDVIEW application or other applications may be modified, expanded, or adapted to include features, functionality, and programming that have not been disclosed prior to the filing date of this disclosure. In one embodiment, the mobile application includes an integrated software platform that allows growers to make fact-based decisions for their operations because it combines historical data related to the grower's fields with any other data that the grower wishes to compare. The combination and comparison can be done in real time and is based on scientific models that provide possible scenarios to allow growers to make better, more informed decisions.

[0074] Figure 2 Two views of an example logical organization of a set of instructions in main memory when an example mobile application is loaded for execution are shown. Figure 2 , each named element represents a region of one or more pages of RAM or other main memory, or a region of one or more blocks of disk storage or other non-volatile storage, and programming instructions within those regions. In one embodiment, in view (a), the mobile computer application 200 includes account-field-data ingest-share instructions 202, overview and alert instructions 204, digital map manual instructions 206, seed and planting instructions 208, nitrogen instructions 210, weather instructions 212, field health instructions 214, and execution instructions 216.

[0075] In one embodiment, the mobile computer application 200 includes account, field, data ingestion, sharing instructions 202, which are programmed to receive, convert and ingest field data from third-party systems via manual upload or API. Data types may include field boundaries, yield maps, planting maps, soil test results, application maps, and / or management zones, etc. Data formats may include shape files, third-party native data formats, and / or farm management information system (FMIS) exports, etc. Receiving data may occur via: manual upload, email with attachment, external API that pushes data to the mobile application, or instructions that call the API of an external system to pull data into the mobile application. In one embodiment, the mobile computer application 200 includes a data inbox. In response to receiving a selection of the data inbox, the mobile computer application 200 may display a graphical user interface for manually uploading data files and importing the uploaded files into the data manager.

[0076] In one embodiment, the digital map book instructions 206 include a field map data layer stored in the device memory and are programmed with data visualization tools and geospatial field annotations. This provides growers with convenient information at their fingertips for reference, record keeping, and visual insight into field performance. In one embodiment, the overview and alert instructions 204 are programmed to provide an operational range view of what is important to growers, as well as timely suggestions to take action or focus on specific issues. This allows growers to focus their time on what needs to be focused on to save time and maintain yields throughout the season. In one embodiment, the seed and planting instructions 208 are programmed to provide tools for seed selection, mix placement, and script creation (including variable rate (VR) script creation) based on scientific models and empirical data. This enables growers to maximize yield or return on investment through optimized seed purchases, placement, and populations.

[0077] In one embodiment, the script generation instructions 205 are programmed to provide an interface for generating scripts, including variable rate (VR) fertility scripts. The interface enables growers to create scripts for field tools, such as nutrient application, planting, and irrigation. For example, the planting script interface may include a tool for identifying the type of seed to be planted. After receiving a selection of the seed type, the mobile computer application 200 may display one or more fields divided into management areas, such as a field map data layer created as part of the digital map book instructions 206. In one embodiment, the management area includes soil areas and a panel that identifies each soil area and the soil name, texture, drainage, or other field data for each area. The mobile computer application 200 may also display tools for editing or creating such on a map of one or more fields, such as a graphical tool for drawing management areas, such as soil areas. The planting process may be applied to all management areas, or different planting processes may be applied to different subsets of management areas. When a script is created, the mobile computer application 200 may make the script available for download in a format readable by the application controller, such as an archived or compressed format. Additionally, and / or alternatively, the script may be sent directly from the mobile computer application 200 to the cab computer 115 and / or uploaded to one or more data servers and stored for further use.

[0078] In one embodiment, the nitrogen instructions 210 are programmed to provide tools to inform nitrogen decisions by visualizing the availability of nitrogen to crops. This enables growers to maximize yields or return on investment through optimized nitrogen applications during the season. Example programming functions include: displaying images (such as SSURGO images) to enable fertilizer application areas to be mapped at high spatial resolution (depending on the proximity and resolution of the sensor, down to millimeters or less) and / or images generated based on sub-field soil data (such as data obtained from sensors); uploading existing grower-defined areas; providing maps of plant nutrient availability and / or maps that enable adjustment of one or more nitrogen applications across multiple areas; outputting scripts to drive machinery; tools for bulk data entry and adjustment; and / or maps for data visualization, etc. "Bulk data entry" in this context may mean entering data once and then applying the same data to multiple fields and / or areas that have been defined in the system; example data may include nitrogen application data that is the same for many fields and / or areas of the same grower, but such bulk data entry is applicable to entering any type of field data into the mobile computer application 200. For example, the nitrogen instructions 210 may be programmed to accept definitions of nitrogen application and practice programs and to accept user input specifying the application of those programs across multiple fields. A "nitrogen application program" in this context refers to a stored named data set associated with: a name, color code or other identifier, one or more application dates, the type of material or product and amount for each date, the method of application or incorporation (such as injection or broadcasting), and / or the application amount or application rate for each date, the crop or hybrid to which the application is applied, etc. A "nitrogen practice program" in this context refers to a stored named data set associated with: the name of the practice; the previous crop; the tillage system; the date of primary tillage; one or more previous tillage systems that were used; one or more indicators of the type of application (such as fertilization) that was used. The nitrogen instructions 210 may also be programmed to generate and cause the display of a nitrogen map that indicates the forecast for plant use of a specified nitrogen and whether a surplus or deficit is forecast; in some embodiments, different color indicators may represent the magnitude of the surplus or the magnitude of the deficit. In one embodiment, a nitrogen map includes: a graphical display in a computer display device including multiple rows, each row being associated with and identifying a field; data specifying what crops are planted in the field, the field size, the field location, and a graphical representation of the field perimeter; in each row, a monthly timeline with a graphical indicator specifying each nitrogen application and amount at a point associated with the month name; and a numerical and / or colored surplus indicator or deficit indicator, wherein the color indicates the magnitude.

[0079] In one embodiment, the nitrogen map may include one or more user input features such as a dial or a slider for dynamically changing the nitrogen planting and practice program so that the user can optimize their nitrogen map. The user can then use their optimized nitrogen map and the associated nitrogen planting and practice program to implement one or more scripts, including a variable rate (VR) fertility script. The nitrogen instruction 210 can also be programmed to generate and cause a nitrogen map to be displayed, which indicates the forecast of plant use of a specified nitrogen and whether a surplus or a shortage is predicted; in some embodiments, different color indicators can represent the magnitude of the surplus or the magnitude of the shortage. The nitrogen map can use numbers and / or colored surplus indicators or shortage indicators to display the forecast of plant use of a specified nitrogen and whether a surplus or a shortage is predicted for different times in the past and future (such as daily, weekly, monthly, or annually), where the color indicates the magnitude. In one embodiment, the nitrogen map may include one or more user input features such as a dial or a slider for dynamically changing the nitrogen planting and practice program so that the user can optimize their nitrogen map, for example, to obtain a preferred amount of surplus to shortage. The user can then use its optimized nitrogen map and associated nitrogen planting and practice programs to implement one or more scripts, including a variable rate (VR) fertility script. In other embodiments, instructions similar to nitrogen instructions 210 can be used for the application of other nutrients (such as phosphorus and potassium), the application of pesticides, and irrigation programs.

[0080] In one embodiment, weather instructions 212 are programmed to provide field-specific recent weather data and forecast weather information. This enables growers to save time and have an efficient integrated display regarding daily operational decisions.

[0081] In one embodiment, field health instructions 214 are programmed to provide timely remote sensing images that highlight in-season crop changes and potential concerns. Example programmed functions include: cloud checks to identify possible clouds or cloud shadows; determination of nitrogen index based on field images; graphical visualization of scouting layers, including those related to field health, and viewing and / or sharing of scouting notes; and / or downloading satellite imagery from multiple sources, with priority given to growers, etc.

[0082] In one embodiment, the performance instructions 216 are programmed to provide reporting, analysis, and insight tools that use farm data for evaluation, insight, and decision making. This enables growers to seek improved results for the next year through fact-based conclusions about why return on investment is at previous levels and insights into yield limiting factors. The performance instructions 216 can be programmed to be transmitted to a back-end analysis program executed at the agricultural intelligence computer system 130 and / or the external data server computer 108 via one or more networks 109, and are configured to analyze metrics such as yield, yield differences, hybrids, populations, SSURGO zones, soil test attributes, or altitude. Programmed reports and analyses may include: yield variability analysis, treatment effect estimates, benchmarking of yield and other metrics against other growers based on anonymous data collected from many growers or seed and planted data, and the like.

[0083] An application with instructions configured in this manner can be implemented for different computing device platforms while maintaining the same general user interface appearance. For example, a mobile application can be programmed to execute on a tablet, smartphone, or server computer accessed using a browser at a client computer. In addition, a mobile application configured for a tablet computer or smartphone can provide a complete application experience or a cockpit application experience that is suitable for the display and processing capabilities of the cockpit computer 115. For example, referring now to Figure 2In view (b), in one embodiment, the cab computer application 220 may include map-cab instructions 222, remote view instructions 224, data collection and transmission instructions 226, machine alarm instructions 228, script transmission instructions 230, and reconnaissance-cab instructions 232. The code base of the instructions of view (b) can be the same as that of view (a), and the executable files implementing the code can be programmed to detect the type of platform on which they are executed and to expose only those functions applicable to the cab platform or the full platform through the graphical user interface. This method enables the system to recognize the distinct user experiences applicable to the different technical environments of the in-cab environment and the cab. The map-cab instructions 222 can be programmed to provide map views of the field, farm, or area that are useful in guiding machine operations. The remote view instructions 224 can be programmed to open, manage, and provide real-time or near real-time views of machine activity to other computing devices connected to the system 130 via a wireless network, a wired connector or adapter, etc. Data collection and transmission instructions 226 may be programmed to open, manage, and provide for transmission of data collected at sensors and controllers to system 130 via a wireless network, wired connector or adapter, etc. Machine alert instructions 228 may be programmed to detect operational issues with a machine or implement associated with a cab and generate operator alerts. Script transmission instructions 230 may be configured to transmit in the form of instruction scripts configured to direct the collection of machine operations or data. Scouting-cab instructions 232 may be programmed to display location-based alerts and information received from system 130 based on the location of field manager computing device 104, agricultural implement 111, or sensor 112 in the field, and to ingest, manage, and provide for transmission of location-based scouting observations to system 130 based on the location of agricultural implement 111 or sensor 112 in the field.

[0084] 2.3. Data Ingestion into Computer Systems

[0085] In one embodiment, the external data server computer 108 stores external data 110, which includes soil data representing the soil composition of one or more fields and weather data representing the temperature and precipitation on one or more fields. The weather data may include past and current weather data and predictions for future weather data. In one embodiment, the external data server computer 108 includes multiple servers hosted by different entities. For example, a first server may contain soil composition data, while a second server may include weather data. In addition, the soil composition data may be stored in multiple servers. For example, one server may store data representing the percentage of sand, silt, and clay in the soil, while a second server may store data representing the percentage of organic matter (OM) in the soil.

[0086] In one embodiment, the remote sensor 112 includes one or more sensors that are programmed or configured to generate one or more observations. The remote sensor 112 can be an aerial sensor (such as a satellite), a vehicle sensor, a planting equipment sensor, a tillage sensor, a fertilizer or pesticide application sensor, a harvester sensor, and any other appliance capable of receiving data from one or more fields. In one embodiment, the application controller 114 is programmed or configured to receive instructions from the agricultural intelligent computer system 130. The application controller 114 can also be programmed or configured to control the operating parameters of an agricultural vehicle or implement. For example, the application controller can be programmed or configured to control the operating parameters of a vehicle (such as a tractor), a planting equipment, a tillage equipment, a fertilizer or pesticide equipment, a harvester equipment, or other farm implements (such as a water valve). Other embodiments can use any combination of sensors and controllers, of which the following are only selected examples.

[0087] The system 130 may obtain or ingest data on a large scale from a large number of growers who have contributed data to a shared database system under the control of the user 102. This form of acquiring data may be referred to as "manual data ingestion" when one or more user-controlled computer operations are requested or triggered to obtain data for use by the system 130. For example, the CLIMATE FIELDVIEW application available from CLIMATE, Inc. of San Francisco, California, may be operated to export data to the system 130 for storage in the repository 160.

[0088] For example, the seed monitor system can both control planter assembly components and obtain planting data, including signals from seed sensors via a signal harness that includes a CAN backbone and point-to-point connections for registration and / or diagnostics. The seed monitor system can be programmed or configured to display seed spacing, population, and other information to a user via the cab computer 115 or other device within the system 130. Examples are disclosed in U.S. Patent No. 8,738,243 and U.S. Patent Publication 20150094916, and the present disclosure assumes knowledge of those other patent disclosures.

[0089] Likewise, the yield monitor system may include yield sensors for harvester equipment that send yield measurement data to the cab computer 115 or other equipment within the system 130. The yield monitor system may utilize one or more remote sensors 112 to obtain grain moisture measurements in a combine or other harvester and send these measurements to a user via the cab computer 115 or other equipment within the system 130.

[0090] In one embodiment, examples of sensors 112 that can be used with any mobile vehicle or device of the type described elsewhere herein include kinematic sensors and position sensors. Kinematic sensors may include any speed sensor, such as a radar or wheel speed sensor, an accelerometer, or a gyroscope. Position sensors may include a GPS receiver or transceiver, or a WiFi-based location or mapping application, etc., which are programmed to determine location based on nearby WiFi hotspots.

[0091] In one embodiment, examples of sensors 112 that can be used with a tractor or other moving vehicle include: an engine speed sensor, a fuel consumption sensor, an area counter or distance counter that interacts with a GPS or radar signal, a PTO (power take-off) speed sensor, a tractor hydraulic sensor configured to detect a hydraulic parameter (such as pressure or flow) and / or a hydraulic pump speed, a wheel speed sensor or a wheel slip sensor. In one embodiment, examples of controllers 114 that can be used with a tractor include: a hydraulic directional controller, a pressure controller, and / or a flow controller; a hydraulic pump speed controller; a speed controller or governor; a suspension position controller; or a wheel position controller to provide automatic steering.

[0092] In one embodiment, examples of sensors 112 that may be used with seed planting equipment such as a planter, seed drill, or air seeder include: a seed sensor, which may be an optical, electromagnetic, or collision sensor; a downforce sensor, such as a weigh pin, a load cell, a pressure sensor; a soil property sensor, such as a reflectivity sensor, a moisture sensor, a conductivity sensor, an optical residue sensor, or a temperature sensor; a component operation standard sensor, such as a planting depth sensor, a downforce cylinder pressure sensor, a seed tray speed sensor, a seed drive motor encoder, a seed conveyor system speed sensor, or a vacuum sensor; or a pesticide application sensor, such as an optical or other electromagnetic sensor or a collision sensor. In one embodiment, examples of controllers 114 that may be used with such seed planting equipment include: a toolbar fold controller, such as a controller for a valve associated with a hydraulic cylinder; a down force controller, such as a controller for a valve associated with a pneumatic cylinder, an airbag, or a hydraulic cylinder, and programmed to apply down force to a single row unit or an entire planter frame; a planting depth controller, such as a linear actuator; a metering controller, such as an electric seeder drive motor, a hydraulic seeder drive motor, or a swath control clutch; a mix selection controller, such as a seeder drive motor, or other actuator programmed to selectively allow or prevent seed or an air-seed mixture from delivering seed to or from a seeder or a central bulk hopper; a metering controller, such as an electric seeder drive motor or a hydraulic seeder drive motor; a seed conveyor system controller, such as a controller for a belt seed delivery conveyor motor; a marking controller, such as a controller for a pneumatic or hydraulic actuator; or a pesticide application rate controller, such as a metering drive controller, an orifice size, or a position controller.

[0093] In one embodiment, examples of sensors 112 that may be used with the tillage equipment include: a position sensor for a tool such as a handle or a disk; a tool position sensor for such a tool configured to detect depth, coaxial angle, or lateral spacing; a downforce sensor; or a draft force sensor. In one embodiment, examples of controllers 114 that may be used with the tillage equipment include a downforce controller or a tool position controller, such as a controller configured to control tool depth, coaxial angle, or lateral spacing.

[0094] In one embodiment, examples of sensors 112 that may be used in connection with an apparatus for applying fertilizer, pesticides, fungicides, etc., such as a priming fertilizer system on a planter, a subsoil fertilizer applicator, or a fertilizer sprayer, include: fluid system standard sensors, such as flow sensors or pressure sensors; sensors indicating which sprinkler valves or fluid line valves are open; sensors associated with a tank, such as a level sensor; supply line sensors for sections or the entire system, or row-specific supply line sensors; or kinematic sensors, such as accelerometers disposed on a sprayer boom. In one embodiment, examples of controllers 114 that may be used with such an apparatus include: pump speed controllers; valve controllers that are programmed to control pressure, flow, direction, PWM, etc.; or position actuators such as for boom height, deep tillage blade depth, or boom position.

[0095] In one embodiment, examples of sensors 112 that may be used with a harvester include: a yield monitor, such as a strike plate strain gauge or position sensor, a capacitive flow sensor, a load sensor, a weight sensor, or a torque sensor associated with an elevator or auger, or an optical or other electromagnetic grain height sensor; a grain moisture sensor, such as a capacitive sensor; a grain loss sensor, including a collision sensor, an optical sensor, or a capacitive sensor; a header operation standard sensor, such as a header height sensor, a header type sensor, a deck clearance sensor, a feeder speed sensor, and a reel speed sensor; a separator operation standard sensor, such as a concave clearance, a rotor speed, a brake shoe clearance, or a screen clearance sensor; an auger sensor for position, operation, or speed; or an engine speed sensor. In one embodiment, examples of controllers 114 that may be used with a harvester include: a header operation standard controller for elements such as header height, header type, deck clearance, feeder speed, or reel speed; a separator operation standard controller for features such as concave clearance, a rotor speed, a brake shoe clearance, or a screen clearance; or a controller for auger position, operation, or speed.

[0096] In one embodiment, examples of sensors 112 that can be used with a grain trailer include weight sensors or sensors for auger position, operation or speed. In one embodiment, examples of controllers 114 that can be used with a grain trailer include controllers for auger position, operation or speed.

[0097] In one embodiment, examples of sensors 112 and controllers 114 may be installed in an unmanned aerial vehicle (UAV) device or "drone." Such sensors may include cameras with detectors effective for any range of the electromagnetic spectrum, including visible light, infrared, ultraviolet, near infrared (NIR), etc.; accelerometers; altimeters; temperature sensors; humidity sensors; pitot tube sensors or other airspeed or wind speed sensors; battery life sensors; or radar transmitters and reflected radar energy detection devices; other electromagnetic radiation transmitters and reflected electromagnetic radiation detection devices. Such controllers may include guidance or motor control equipment, control surface controllers, camera controllers, or controllers programmed to turn on any of the foregoing sensors, operate any of the foregoing sensors, obtain data from any of the foregoing sensors, manage and configure any of the foregoing sensors. Examples are disclosed in U.S. Patent Application No. 14 / 831,165, and the present disclosure assumes knowledge of that other patent disclosure.

[0098] In one embodiment, the sensor 112 and controller 114 may be secured to a soil sampling and measuring device that is configured or programmed to sample soil and perform soil chemical tests, soil moisture tests, and other soil-related tests. For example, the devices disclosed in U.S. Pat. No. 8,767,194 and U.S. Pat. No. 8,712,148 may be used, and the present disclosure assumes knowledge of those patent disclosures.

[0099] In one embodiment, the sensor 112 and the controller 114 may include a weather device for monitoring weather conditions of the field. For example, the device disclosed in U.S. Patent Application No. 15 / 551,582 filed on August 16, 2017 may be used, and the present disclosure assumes knowledge of these patent disclosures.

[0100] 2.4. Process Overview - Agricultural Model Training

[0101] In one embodiment, the agricultural intelligent computer system 130 is programmed or configured to create an agronomic model. In this context, the agronomic model is a data structure in the memory of the agricultural intelligent computer system 130, which includes field data 106, such as identification data and harvest data of one or more fields. The agronomic model may also include calculated agronomic characteristics, which describe the conditions that may affect the growth of one or more crops on the field or the characteristics of one or more crops or both. In addition, the agronomic model may include suggestions based on agronomic factors, such as crop suggestions, irrigation suggestions, planting suggestions, fertilizer suggestions, fungicide suggestions, pesticide suggestions, harvesting suggestions and other crop management suggestions. Agronomic factors can also be used to estimate one or more crop-related results, such as agronomic yields. The agronomic yield of a crop is an estimate of the quantity of the crop produced, or in some examples, the income or profit obtained from the crop produced.

[0102] In one embodiment, the agricultural intelligence computer system 130 may use a pre-configured agronomic model to calculate agronomic characteristics related to the location and crop information of one or more fields currently received. The pre-configured agronomic model is based on previously processed field data, which includes but is not limited to identification data, harvest data, fertilizer data, and weather data. The pre-configured agronomic model may have been cross-validated to ensure the accuracy of the model. Cross-validation may include a comparison with ground truth, which compares the predicted results with the actual results on the field, such as comparing rainfall estimates with rain gauges or sensors that provide weather data for the same or nearby locations, or comparing estimates of nitrogen content with soil sample measurements.

[0103] Figure 3 A programmed process is shown by which an agricultural intelligence computer system generates one or more pre-configured agronomic models using field data provided by one or more data sources. Figure 3 Algorithms or instructions may be used to program the functional elements of the agricultural intelligence computer system 130 to perform the operations now described.

[0104] At box 305, the agricultural intelligence computer system 130 is configured or programmed to implement agronomic data preprocessing of field data received from one or more data sources. The field data received from one or more data sources may be preprocessed for the purpose of removing noise, distortion effects, and confounding factors within the agronomic data, including measurement outliers that may adversely affect the received field data values. Embodiments of agronomic data preprocessing may include, but are not limited to, removing data values ​​that are typically associated with outlier data values, specific measurement data points that are known to unnecessarily skew other data values, data smoothing, aggregation, or sampling techniques for removing or reducing additive or multiplicative effects from noise, and other filtering or data derivation techniques for providing clear distinctions between positive and negative data inputs.

[0105] At box 310, the agricultural intelligent computer system 130 is configured or programmed to perform data subset selection using the preprocessed field data to identify data sets useful for initial agronomic model generation. The agricultural intelligent computer system 130 can implement data subset selection techniques, including but not limited to genetic algorithm methods, all subset model methods, sequential search methods, stepwise regression methods, particle swarm optimization methods, and ant colony optimization methods. For example, the genetic algorithm selection technique uses an adaptive heuristic search algorithm based on the evolutionary principles of natural selection and genetics to determine and evaluate data sets within the preprocessed agronomic data.

[0106] At box 315, the agricultural intelligent computer system 130 is configured or programmed to implement field data set evaluation. In one embodiment, a specific field data set is evaluated by creating an agronomic model and using a specific quality threshold for the created agronomic model. One or more comparison techniques (such as, but not limited to, leave-one-out cross-validation root mean square error (RMSECV), mean absolute error, and mean percentage error) can be used to compare and / or validate the agronomic model. For example, RMSECV can cross-validate the agronomic model by comparing the predicted agronomic attribute values ​​created by the agronomic model with the historical agronomic attribute values ​​collected and analyzed. In one embodiment, the agronomic data set evaluation logic is used as a feedback loop, where an agronomic data set that does not meet the configured quality threshold is used during a future data subset selection step (box 310).

[0107] At block 320, the agricultural intelligence computer system 130 is configured or programmed to implement agronomic model creation based on the cross-validated agronomic data set. In one embodiment, the agronomic model creation may implement a multivariate regression technique to create a pre-configured agronomic data model.

[0108] At box 325 , the agricultural intelligence computer system 130 is configured or programmed to store the pre-configured agronomic data model for use in future field data evaluations.

[0109] 2.5. Implementation Example - Hardware Overview

[0110] According to one embodiment, the techniques described herein are implemented by one or more special-purpose computing devices. Special-purpose computing devices may be hardwired to perform these techniques, or may include digital electronic devices such as one or more application-specific integrated circuits (ASICs) or field programmable gate arrays (FPGAs) that are permanently programmed to perform these techniques, or may include one or more general-purpose hardware processors that are programmed to perform these techniques according to program instructions in firmware, memory, other storage, or a combination. Such special-purpose computing devices may also combine customized hard-wired logic, ASICs, or FPGAs with customized programming to implement these techniques. Special-purpose computing devices may be desktop computer systems, portable computer systems, handheld devices, networking devices, or any other device containing hard-wired and / or program logic to implement these techniques.

[0111] For example, Figure 4 4 is a block diagram illustrating a computer system 400 upon which embodiments of the present invention may be implemented. Computer system 400 includes a bus 402 or other communication mechanism for communicating information, and a hardware processor 404 coupled to bus 402 for processing information. Hardware processor 404 may be, for example, a general purpose microprocessor.

[0112] The computer system 400 also includes a main memory 406, such as a random access memory (RAM) or other dynamic storage device, coupled to the bus 402 for storing information and instructions to be executed by the processor 404. The main memory 406 may also be used for storing temporary variables or other intermediate information during execution of instructions to be executed by the processor 404. Such instructions, when stored in a non-transitory storage medium accessible to the processor 404, render the computer system 400 a special-purpose machine dedicated to performing the operations specified in the instructions.

[0113] Computer system 400 also includes a read only memory (ROM) 408 or other static storage device coupled to bus 402 for storing static information and instructions for processor 404. A storage device 410, such as a magnetic disk, optical disk, or solid state drive, is provided and coupled to bus 402 for storing information and instructions.

[0114] The computer system 400 may be coupled via the bus 402 to a display 412, such as a cathode ray tube (CRT), for displaying information to a computer user. An input device 414, including alphanumeric and other keys, is coupled to the bus 402 to communicate information and command selections to the processor 404. Another type of user input device is a cursor control 416, such as a mouse, trackball, or cursor direction keys, for communicating directional information and command selections to the processor 404 and for controlling movement of a cursor on the display 412. The input device typically has two degrees of freedom in two axes, a first axis (e.g., x) and a second axis (e.g., y), which allows the device to specify a position in a plane.

[0115] Computer system 400 may implement the techniques described herein using custom hardwired logic, one or more ASICs or FPGAs, firmware, and / or program logic that, in conjunction with the computer system, makes computer system 400 a special purpose machine or programs computer system 400 to be a special purpose machine. According to one embodiment, the techniques herein are performed by computer system 400 in response to processor 404 executing one or more sequences of one or more instructions contained in main memory 406. Such instructions may be read into main memory 406 from another storage medium such as storage device 410. Execution of the sequences of instructions contained in main memory 406 causes processor 404 to perform the process steps described herein. In alternative embodiments, hardwired circuitry may be used in place of or in combination with software instructions.

[0116] The term "storage medium" as used herein refers to any non-transitory medium that stores data and / or instructions that cause a machine to operate in a particular manner. Such storage media may include non-volatile media and / or volatile media. Non-volatile media include, for example, optical disks, magnetic disks, or solid-state drives, such as storage device 410. Volatile media include dynamic memory, such as main memory 406. Common forms of storage media include, for example: floppy disks, flexible disks, hard disks, solid-state drives, magnetic tapes or any other magnetic data storage media, CD-ROMs, any other optical data storage media, any physical media with a pattern of holes, RAM, PROM, and EPROM, FLASH-EPROM, NVRAM, any other memory chip or cassette tape.

[0117] Storage media are distinct from transmission media, but can be used in conjunction with transmission media. Transmission media participate in the transfer of information between storage media. For example, transmission media include coaxial cables, copper wire, and optical fiber, including the wires that make up bus 402. Transmission media can also take the form of sound or light waves, such as those generated during radio wave and infrared data communications.

[0118] Various forms of media may be involved in carrying one or more sequences of one or more instructions to processor 404 for execution. For example, the instructions may initially be carried on a disk or solid-state drive of a remote computer. The remote computer may load the instructions into its dynamic memory and send the instructions over a telephone line using a modem. A modem local to computer system 400 may receive the data on the telephone line and convert the data into an infrared signal using an infrared transmitter. An infrared detector may receive the data carried in the infrared signal, and appropriate circuitry may place the data on bus 402. Bus 402 carries the data to main memory 406, from which processor 404 retrieves and executes the instructions. The instructions received by main memory 406 may optionally be stored on storage device 410 before or after execution by processor 404.

[0119] Computer system 400 also includes a communication interface 418 coupled to bus 402. Communication interface 418 provides bidirectional data communication coupling to a network link 420 connected to a local network 422. For example, communication interface 418 can be an integrated services digital network (ISDN) card, a cable modem, a satellite modem, or a modem for providing a data communication connection to a telephone line of a corresponding type. As another example, communication interface 418 can be a local area network (LAN) card for providing a data communication connection to a compatible LAN. A wireless link also can be implemented. In any such implementation, communication interface 418 sends and receives electrical signals, electromagnetic signals, or optical signals that carry digital data streams representing various types of information.

[0120] The network link 420 typically provides data communications through one or more networks to other data devices. For example, the network link 420 may provide a connection through a local network 422 to a host computer 424 or to data equipment operated by an Internet Service Provider (ISP) 426. The ISP 426, in turn, provides data communication services through the global packet data communication network now commonly referred to as the "Internet" 428. Both the local network 422 and the Internet 428 use electrical, electromagnetic, or optical signals that carry digital data streams. The signals through the various networks and the signals on the network link 420 and through the communication interface 418 are example forms of transmission media that carry the digital data to and from the computer system 400.

[0121] Computer system 400 can send messages and receive data, including program code, through one or more networks, network link 420 and communication interface 418. In the Internet example, server 430 can send code for the requested application through Internet 428, ISP 426, local network 422 and communication interface 418.

[0122] The received code may be executed by processor 404 as it is received and / or stored in storage device 410 or other non-volatile storage for later execution.

[0123] 3. Functional description

[0124] 3.1 Training set and digital model construction

[0125] In some embodiments, server 170 is programmed to collect one or more image training sets to train a digital model for identifying plant diseases. For corn, one or more training image sets may include photos of corn leaves. Each photo preferably shows non-overlapping disease symptoms. Common corn diseases include anthracnose (ALB), common rust (CR), eye spot (EYE), gray spot (GLS), Gaussian wilt (GW), northern leaf blight (NLB), northern leaf spot (NLS), southern leaf blight (SLB) and southern rust (SR). The symptoms of different diseases often look different. For example, CR, EYE, SR and early GLS (GLS-early) tend to produce relatively small spot-like or slightly longer lesions, while GW, NLB and late GLS (GLS-late) tend to produce larger band-like or greatly extended lesions. Therefore, at least two training sets can be constructed to train at least two digital models, each of which is designed to classify input images into one or more categories corresponding to one or more plant diseases with symptoms of similar size.

[0126] In some embodiments, given a particular image, the server 170 may be programmed to first resize the particular image to a standard size, and then extract images from the resized image using a sliding window with a certain stride (the number of pixels used to move the sliding window on the input image) for the training set. The server 170 may be programmed to further assign a category label of one of the one or more categories described above to each extracted image. Specifically, the server 170 may be programmed to receive category labels from an expert, or to automatically determine category labels based on images of symptoms of known diseases. For example, any matching technique known to those skilled in the art may be used to match a symptom image of a known disease with an appropriate resolution with the extracted image, and when the match is successful, the extracted image may be assigned a category label corresponding to the known disease.

[0127] Fig. 7A An example method of extracting a sample image from a photograph showing relatively small symptoms of a plant disease is shown. In some embodiments, the given image is a photograph of a corn leaf with SR symptoms. The server 170 can be programmed to resize the given image to an image 702 of a first size at a first scaling factor relative to a sliding window of a fixed size, such as from 3000 pixels by 4000 pixels to 1120 (224*5) pixels by 1493 pixels for a first scaling factor of 5 relative to a sliding window of size 224 pixels by 224 pixels using a resizing technique known to those skilled in the art. Image 720 still shows relatively small SR symptoms, such as lesions in area 710. The server 170 is programmed to then apply a relatively small sliding window to image 702 row by row or column by column with a certain step to determine where the next position of the sliding window is relative to the current position. For example, where the size of the sliding window is 224 pixels by 224 pixels, the stride can be 224 pixels, resulting in no overlap between the next position and the current position, and when the image 702 has 1120 pixels by 1493 pixels, a total of 30 images can be extracted. Therefore, starting from the initial position 704 of the sliding window, the next position in the same row will be 706, and the next position in the same column will be 708. The portion of the image 702 corresponding to each position of the sliding window can be extracted and assigned a class label. In this example, given the presence of an SR lesion, the portion corresponding to position 704 can be assigned an "SR" label for the SR disease category, the portion corresponding to position 706 can be similarly assigned an "SR" label, and the portion corresponding to position 706 can be assigned a label representing a healthy state or lack of disease symptoms of the no disease (ND) category.

[0128] Figure 7BAn example method of extracting a sample image from a photo showing symptoms of a relatively large plant disease is shown. In some embodiments, the image may be a photo of a corn leaf with GW symptoms. The server 170 is programmed to resize a given image to image 712 at a second scaling factor less than the first scaling factor, such as using a resizing technique known to those skilled in the art to resize from 3000 pixels by 4000 pixels to 448 (224*2) pixels by 597 pixels at a second scaling factor of 2. Image 712 still shows relatively large GW symptoms, such as lesions in region 718. The server 170 is programmed to subsequently apply a relatively large sliding window to image 712 row by row or column by column with a certain stride to determine where the next position of the sliding window is relative to the current position. For example, in the case where the size of the sliding window is 224 pixels by 224 pixels, the stride may be 112 pixels, resulting in a half overlap between the next position and the current position, and when image 712 has 448 pixels by 597 pixels, a total of 12 images may be extracted. Thus, starting from the initial position 714 of the sliding window, the next position in the same row will be 716. The portion of the image 712 corresponding to each position of the sliding window can be extracted and assigned a class label. In this example, given the presence of a GW lesion, the portion corresponding to position 714 can be assigned a "GW" label for the GW lesion class, and the portion corresponding to position 716 can be similarly assigned a "GW" label.

[0129] In some embodiments, the server 170 is programmed to process multiple images to extract enough sample images for each plant disease. The image can be obtained from an image server or a user device. Preferably, the image shows the symptoms of each plant disease under different conditions (such as at different points in the life cycle of the plant) due to different lighting conditions or with different shapes, sizes or scales. In order to further increase the breadth of the digital model, the server 170 can be programmed to include more images, which show overlapping symptoms of plant diseases with relatively large symptoms and plant diseases with relatively small symptoms to improve the detection of relatively small symptoms. For example, these images can show overlapping symptoms of late GLS (large) and CR (small), GW (large) and CR, GW and SR (small), NLB (large) and CR, or NLB and SR. The server 170 can be programmed to further assign each image extracted from one of these images to a category corresponding to the main disease based on the total area covered by the symptoms of each disease in the extracted image.

[0130] In some embodiments, server 170 is programmed to generate variations of the extracted images to enhance the training set. More specifically, server 170 can be configured to rotate or further scale the extracted images. For corn, there can be at least 200 images for each health condition and each corn disease, with less than 10% of the images showing overlapping symptoms. Two digital models can be constructed, a first digital model for detecting corn diseases with relatively small symptoms and a second digital model for detecting corn diseases with relatively large symptoms. Thus, if Fig. 7A and Figure 7B As shown, a first training set and a second training set can be constructed for the first digital model and the second digital model, respectively. Each training set may include images showing symptoms of corn diseases to be detected by the corresponding digital model. Depending on the manner in which the digital model is applied to the test image, each training set may include additional images. When the first digital model and the second digital model are to be applied sequentially, as discussed further below, the first training set may include additional images showing symptoms of these diseases that the second digital model is designed to detect and assigned a common label representing a comprehensive category of all these diseases. These additional images may be generated by processing the original images used for the second training set as the original images used for the first training set (scaling to capture a specific field of view, etc.).

[0131] In some embodiments, server 170 is programmed to build a digital model for identifying plant diseases from a training set. The digital model can be any classification model known to those skilled in the art, such as a decision tree or a CNN. For corn, server 170 can be programmed to build two digital models from two training sets, as described above. The first digital model is used to identify corn diseases with relatively small symptoms, such as CR, EYE, SR, or early GLS, and the second digital model is used to identify corn diseases with relatively large symptoms, such as GW, NLB, or late GLS. In order to implement each digital model as a CNN, a public library can be used, such as the ResNet-50 software package available on the GitHub platform.

[0132] 3.2 Digital Model Execution

[0133] In some embodiments, server 170 is programmed to receive a new image to be classified from a user device and apply the digital model to the new image to obtain a classification. For corn, server 170 can be programmed to apply two digital models in sequence to first detect corn diseases with relatively small symptoms and then detect corn diseases with relatively large symptoms.

[0134] Figure 8An example process of identifying plant diseases with multi-size symptoms from plant images using multiple digital models is shown. In some embodiments, the plant is corn, and the plant image is a photo of corn leaves. Given a new image 802 to be classified, the server 170 is programmed to first apply the first digital model to identify corn diseases with relatively small symptoms. Specifically, the server 170 can be programmed to similarly adjust the size of the new image 802 to a size-adjusted image with the above-mentioned first scaling factor, such as adjusting from 3000 pixels by 4000 pixels to 1120 (224*5) pixels by 1493 pixels with a first scaling factor of 5. The server 170 is programmed to subsequently apply a relatively small sliding window to the size-adjusted image row by row or column by column with a certain stride to determine where the next position of the sliding window is relative to the current position. The size of the sliding window will generally be equal to the size of the sample image (extracted image) used to construct the first digital model. For example, the size of the sliding window can be 224 pixels by 224 pixels, and the stride can be 224 pixels. For each position of the sliding window, the server 170 can be programmed to apply the first digital model 804 to the portion of the resized image within the sliding window to obtain a classification corresponding to a healthy state, one of corn diseases with relatively minor symptoms, or a set of corn diseases with relatively major symptoms. For example, portion 806 is classified as CR, EYE, SR, early GLS, or ND, and portion 812 is classified as other disease (OD) categories.

[0135] In some embodiments, server 170 may be programmed to map each portion of the resized image extracted by the sliding window back into a region of new image 802. Server 170 is further programmed to prepare a prediction map for new image 802, wherein each mapped region is shown as an indicator with a corresponding classification.

[0136] Fig. 9A An example prediction graph is shown that illustrates the results of applying the first digital model to a plant image to identify plant diseases with relatively small symptoms. In some embodiments, given the ratio between the size of the sliding window and the size of the new image, a substantially relatively small sliding window is moved through different locations within the new image 920, including location 902. Each region of the new image 920 corresponding to the location of the sliding window (the first region) is then labeled with a corresponding classification in the prediction graph 922 according to legend 906. For example, region 912 has been classified as representing a combination of OD categories for corn diseases with relatively large symptoms.

[0137] Reference again Figure 8In some embodiments, for portions of the size adjusted image that are classified as an OD category corresponding to a set of corn diseases with relatively large symptoms, the server 170 is programmed to apply a second digital model 808 to identify the corn diseases with relatively large symptoms. Fig. 9A , each such portion (such as a portion mapped to area 912) corresponds to a relatively small field of view, and is therefore typically only a portion of a relatively large symptom, as shown in area 932. Therefore, the server 170 is programmed to apply the second digital model 808 to multiple such portions at a time. More specifically, for each such portion, the server 170 can be configured to also consider a certain number of surrounding portions or specific portions of the surrounding portions in each direction to approximately match the field of view used to construct the second digital model. For example, each such portion of 224 pixels by 224 pixels can be considered together with one surrounding portion in each direction, resulting in a combined portion of 672 (224*3) pixels by 672 pixels. The server 170 can be configured to further adjust the size of the combined portion to the size of the input image of the second digital model, resulting in a scaling factor of 5 / 3. The server 170 can be configured to subsequently apply the second digital model to the size-adjusted combined portion to obtain a classification corresponding to one of the corn diseases with relatively large symptoms. Referring again to Figure 8 , the size adjustment combination part 810 is classified as GW, NLB or early GLS.

[0138] In some embodiments, instead of including adjacent portions that have not been classified as ND categories into the combined portion, the server 170 may be programmed to mask (e.g., with a zero value) each of the plurality of first regions in the new image 802 that is classified as a category corresponding to one of the first plurality of plant diseases or a health condition. In some embodiments, the server 170 may be programmed to similarly adjust the size of the new image 802 to a resized image using the masked portion by the second scaling factor mentioned above, such as from 224 pixels by 224 pixels to 448 (224*2) pixels by 448 pixels by a first scaling factor of 2. The server 170 may be programmed to then apply a relatively large sliding window to the resized image row by row or column by column with a certain stride. The size of the sliding window will generally be equal to the size of the sample image (extracted image) used to train the second digital model. For example, the size of the sliding window may be 224 pixels by 224 pixels, and the stride may be 112 or 224 pixels. For each position of the sliding window, the server 170 can be programmed to then apply the second digital model 804 to the portion of the resized image or the portion corresponding to the combined portion classified as the OD category within the sliding window to obtain a classification corresponding to one of the corn diseases with relatively large symptoms. In other embodiments, the server 170 is programmed to include only images corresponding to the combined category in the second training set and apply the second digital model before applying the first digital model to the new image.

[0139] Reference again Figure 8 In some embodiments, server 170 may be programmed to similarly map each portion classified by the second digital model back to a region of image 802. Server 170 is programmed to further update the prediction map of image 802, wherein each newly mapped region is shown as an indicator with a corresponding classification. Server 170 may be programmed to subsequently transmit classification data related to the updated prediction map to the user device.

[0140] Fig. 9B An example prediction map is shown that illustrates the results of applying the second digital model to a plant image to identify plant diseases with relatively large symptoms. In some embodiments, given the ratio between the size of the sliding window and the size of the new image, a substantially relatively large sliding window is moved through different locations within the new image 920, or only within the portion classified as the OD category by the first digital model, including location 910. Each region of the new image 920 corresponding to the location of the sliding window (the second region) is then marked in the prediction map 922 as having the corresponding category, overwriting the existing value. For example, a plant disease classified as the OD category Fig. 9AThe illustrated region 912 is now located below the region 908 that was classified as corresponding to advanced GLS. Thus, although the new image 920 shows overlapping symptoms of SR and advanced GLS, the two lesions are detected from different regions of the new image 920.

[0141] In some embodiments, server 170 is programmed to further process the updated prediction map. Server 170 can be configured to calculate the total area classified into each category and conclude that the disease corresponding to the category with the largest total area is the dominant disease in the plant captured in the new image. For example, updated prediction map 922 shows that the symptoms of SR and late GLS each occupy approximately half of the new image 920 and can therefore be considered to be the dominant disease for the specific corn captured in the new image 920. Server 170 can be configured to further transmit dominant information related to the dominant disease to the user device.

[0142] 3.3 Example Process

[0143] Fig.10 An example method performed by a server computer programmed to identify plant diseases having multi-sized symptoms from plant images is shown. Fig.10 The intent is to disclose an algorithm, plan or outline that can be used to implement one or more computer programs or other software elements that, when executed, cause the functional improvements and technical advances described herein to be performed. Further, the flowcharts herein are described with the same level of detail that one of ordinary skill in the art would typically use to communicate with one another about the algorithms, plans or specifications that form the basis of the software program they plan to code or implement using their accumulated skills and knowledge.

[0144] In some embodiments, in step 1002, server 170 is programmed or configured to obtain a first training set, the first training set including a first photo, a second photo, and a third photo, the first photo showing a first symptom of a plant disease of a first plurality of plant diseases, the second photo not showing the symptom, and the third photo showing a second symptom of a portion of a plant disease of a second plurality of plant diseases. The size of the symptoms produced by the first plurality of plant diseases is within a first range. The size of the symptoms produced by the second plurality of plant diseases is within a second range. The first symptom is smaller than the second symptom, and the first photo, the second photo, and the third photo correspond to a field of view of a generally sized. Server 170 can be configured to generate the first training set from photos showing multi-sized disease symptoms by using a sliding window suitable for capturing individual symptoms of the first plurality of plant diseases.

[0145] In some embodiments, in step 1004, the server 170 is programmed or configured to construct a first CNN from the first training set for classifying the image into a category corresponding to a plant disease in the first plurality of plant diseases, a health condition, or a combination of the second plurality of plant diseases. Thus, when the first CNN is configured to identify symptoms of k diseases, the first CNN is configured to classify the image into one of k+2 categories. The disease-free category may also be classified into the comprehensive category, and the second CNN is configured to classify the image into the disease-free category.

[0146] In some embodiments, server 170 is programmed or configured to obtain a second training set including photographs showing second symptoms in step 1006. Server 170 can similarly be configured to generate a second training set from photographs showing multi-size or multiple disease symptoms using a sliding window suitable for capturing individual symptoms of a second plurality of plant diseases.

[0147] In some embodiments, server 170 is programmed or configured to construct a second CNN from the second training set for classifying images into a category corresponding to one of the second plurality of plant diseases. Server 170 can be configured to send the first and second CNNs to another computing device, which can then be configured to apply the two CNNs to classify new photos of infected plants.

[0148] In some embodiments, server 170 is programmed or configured to receive a new image from a user device in step 1008. The new image may be a photograph of an infected plant showing symptoms of multiple sizes.

[0149] In some embodiments, in step 1010, server 170 is programmed or configured to apply a first CNN to a plurality of first regions within the new image to obtain a plurality of classifications. Each first region is sized to represent individual symptoms of a first plurality of plant diseases.

[0150] In some embodiments, in step 1012, the server 170 is programmed or configured to apply a second CNN to one or more second regions within the combination of first regions to obtain one or more classifications, wherein the first regions are classified into categories corresponding to a combination of a second plurality of plant diseases, each of the plurality of first regions being smaller than one of the second regions, and each of the second regions being sized to represent individual symptoms of the second plurality of plant diseases.

[0151] In some embodiments, in step 1014, server 170 is programmed or configured to transmit classification data to the user device, the classification data relating to the plurality of classifications and the one or more classifications, the plurality of classifications being classifications to a category corresponding to one of the first plurality of plant diseases or a health condition. For one or more regions of the new image, the classification data may include the size of the region and the corresponding classification. Server 170 may also be configured to identify a dominant disease of the new image, such as the disease to which the largest region of the new image has been classified, and to send information about the dominant disease as part of the classification data.

[0152] 4. Extensions and Alternatives

[0153] In the foregoing description, embodiments of the present invention have been described with reference to many specific details that may vary from implementation to implementation. Therefore, the description and drawings should be regarded as illustrative rather than restrictive. The sole and exclusive indication of the scope of the present invention and what the applicant intends to be the scope of the present invention is the literal meaning and equivalent range of the set of claims from this application in the specific form in which the claims are presented, including any subsequent corrections.

Claims

1. A computer-implemented method for identifying plant diseases with multi-scale symptoms from plant images, comprising: receiving a new image from a user device, the new image showing multi-scale symptoms of one or more plant diseases; applying a first digital model trained to recognize a first set of diseases having symptoms with sizes within a first well-defined range, the first digital model assigning a plurality of categories to a plurality of first regions within the new image, wherein a size of each first region is associated with the size within the first well-defined range, and wherein the categories are selected from: a category corresponding to a plant disease in the first set of plant diseases, a health condition, or a composite category for all other plant diseases; Then, applying a second digital model to the first areas classified into the composite category by the first digital model for identifying a second group of diseases having symptoms with sizes within a second well-defined range, the second digital model assigning one or more categories to one or more second areas, wherein the size of each second area is related to the size in the second well-defined range, and the categories select: plant diseases with symptom sizes within the second well-defined range, or the health condition; wherein the symptoms whose size is within the first clear range are smaller than the symptoms whose size is within the second clear range; as well as Classification data is transmitted to the user device, the classification data relating to the plurality of classifications and the one or more classifications, the plurality of classifications being classifications to a category corresponding to one of the first group of plant diseases or the health condition. 2 . The computer-implemented method of claim 1 , wherein the first digital model or the second digital model is a convolutional neural network (CNN) or a decision tree. 3 .

3. The computer-implemented method of claim 1, The first group of plant diseases includes common rust, eyespot, southern rust, or early gray leaf spot, The second group of plant diseases includes Goss's wilt, northern leaf blight, or late gray leaf spot.

4. The computer-implemented method of claim 1 , wherein the first digital model and the second digital model are obtained by: obtaining, by a processor, a first training set from at least a first photograph showing a first symptom of one of a first group of plant diseases having symptoms within a first well-defined range in size, a second photograph showing no symptoms, and a third photograph showing symptoms outside of the first well-defined range in size, the first photograph, the second photograph, and the third photograph corresponding to fields of view of similar size, constructing, by the processor, the first digital model based on the first training set, for classifying an image into one of a first set of categories, the first set of categories corresponding to the first set of comprehensive categories of plant diseases, health conditions, or a combination of multiple plant diseases; obtaining a second training set from at least a fourth photograph showing second symptoms of a second plant disease having symptoms within a second defined range of sizes; as well as The second digital model is constructed based on the second training set to classify the image into one of a second set of categories, wherein the second set of categories corresponds to a comprehensive category of the second plant disease, health condition or a combination of multiple plant diseases.

5. The computer-implemented method of claim 4, wherein obtaining the first training set comprises: Identify the size of the sliding window; determining a first scaling factor; determining a first image size based on the size of the sliding window and the first scaling factor; The size of the first photo, the second photo or the third photo is adjusted according to the first image size to obtain a size-adjusted first photo, a size-adjusted second photo or a size-adjusted third photo.

6. The computer-implemented method of claim 5, wherein obtaining the second training set comprises: determining a second scaling factor that is less than the first scaling factor; determining a second image size based on the size of the sliding window and the second scaling factor; The fourth photo is resized according to the second image size to obtain a resized fourth photo.

7. The computer-implemented method of claim 6, further comprising: determining a first stride and a second stride that is smaller than the first stride, The obtaining of the first training set further comprises extracting a first group of regions from the resized first photo, the resized second photo, or the resized third photo using the sliding window having the first step, The acquiring the second training set further includes extracting a second group of regions from the resized fourth photo using the sliding window having the second stride.

8. The computer-implemented method of claim 7, The obtaining of the first training set further comprises assigning a label of a category in the first group of categories to each region in the first group of regions, said constructing said first digital model is further performed from a set of labels being assigned to said first set of regions, The obtaining of the second training set further comprises assigning a label of a category in the second group of categories to each region in the second group of regions, The constructing of the second digital model is further performed from a set of labels being assigned to the second set of regions.

9. The computer-implemented method of claim 8, wherein applying the first digital model comprises: adjusting the size of the new image according to the size of the first image to obtain a first updated image; A first plurality of regions is extracted from the first update image using the sliding window having the first step.

10. The computer-implemented method of claim 9, said applying said second digital model comprising: masking each of the plurality of first regions in the new image that is classified as a category corresponding to one of the plant diseases or health conditions in the first group of plant diseases to obtain a masked image; adjusting the size of the mask image according to the second image size to obtain a second updated image; The one or more second regions are extracted from the second updated image using the sliding window having the second stride. 11 . The computer-implemented method of claim 10 , the applying the second digital model comprising adjusting a size of a portion of a combination of several first regions of the first plurality of regions to obtain the one second region.

12. The computer-implemented method of claim 4, wherein the first training set is further obtained from specific photos, wherein the specific photos show a third symptom of a plant disease in the first group of plant diseases and a fourth symptom of a plant disease in the second group of plant diseases, wherein the fourth symptom overlaps with the third symptom.

13. The computer-implemented method of claim 1 , further comprising: calculating a total size of the plurality of first regions and the one or more second regions classified into each category in the first set of categories and the second set of categories; determining a dominant category among the first group of categories and the second group of categories such that the total size of the plurality of first regions and the one or more second regions classified as the dominant category is maximized; The classification data includes information about the dominant category.

14. One or more non-transitory computer readable media storing one or more instruction sequences that, when executed, cause one or more processors to perform the method of any one of claims 1 to 13.