WO2022262586A1 - Method for plant identification, computer system and computer-readable storage medium - Google Patents

Method for plant identification, computer system and computer-readable storage medium Download PDF

Info

Publication number
WO2022262586A1
WO2022262586A1 PCT/CN2022/096706 CN2022096706W WO2022262586A1 WO 2022262586 A1 WO2022262586 A1 WO 2022262586A1 CN 2022096706 W CN2022096706 W CN 2022096706W WO 2022262586 A1 WO2022262586 A1 WO 2022262586A1
Authority
WO
WIPO (PCT)
Prior art keywords
plant
image
classification
identified
growth
Prior art date
Application number
PCT/CN2022/096706
Other languages
French (fr)
Chinese (zh)
Inventor
徐青松
李青
Original Assignee
杭州睿胜软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 杭州睿胜软件有限公司 filed Critical 杭州睿胜软件有限公司
Publication of WO2022262586A1 publication Critical patent/WO2022262586A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques

Definitions

  • the present disclosure relates to the field of computer technology, and in particular to a method for identifying plants, a computer system, and a computer-readable storage medium.
  • the applications In the field of computer technology there are applications for identifying plants. These applications usually receive images from users (including static images, dynamic images, and videos, etc.), and identify the classification of plants to be identified in the images based on the plant recognition model established by artificial intelligence technology.
  • the recognition result that is, the classification of the plant may be the species of the plant (Species) or the like.
  • the image from the user usually includes at least a part of the plant to be identified, for example, the image may include stems, leaves, and flowers of the plant to be identified.
  • An object of the present disclosure is to provide a method and computer system for plant identification.
  • a method for plant identification comprising: receiving an image, wherein the image includes at least one part of a plant; according to the image, identifying the plant based on a trained neural network model At least one of the parts, growth sites, and growth cycles of the plants in the image, and the classification of the plants in the image; and according to the user's operation request, perform classification on the identified plant and the at least one item The requested action.
  • a method for plant identification comprising: receiving an image, wherein the image includes at least one part of a plant; according to the image, identifying the plant based on a trained neural network model The classification of the plants in the image, the parts of the plants in the image, the growing places of the plants in the image, the growth cycle of the plants in the image, and the image quality of the image; and according to the user's operation request , select one or more identified items among the identified items to perform the requested operation.
  • a method for plant identification including: identifying the classification of plants based on a trained neural network model according to images, and identifying the growth place, growth cycle and the image of the plants At least two of the parts of the plant in the image, wherein the image includes at least one part of the plant; according to the identified classification of the plant, and the identified growth place, growth cycle and the identified plant The at least two of the parts of the plant in the image determine a maintenance program for the plant; and output the maintenance program for the plant.
  • a method for plant identification including: receiving an image, wherein the image includes at least one part of the plant; according to the image, identifying the plant in the image The part and the classification of the plant; according to the recognized part of the plant in the image, determine the output classification level; and output the classification of the corresponding classification level of the plant according to the determined classification level.
  • a computer system for plant identification comprising: one or more processors; and one or more memories configured to store a series of computer executable instructions and computer-accessible data associated with the series of computer-executable instructions, which, when executed by the one or more processors, cause the The computer system performs any of the methods described above.
  • a non-transitory computer-readable storage medium stores a series of computer-executable instructions, when the series of computer-executable instructions When executed by one or more computer systems, the instructions cause the one or more computer systems to perform any of the methods described above.
  • Fig. 1 is a flowchart schematically illustrating at least part of a method for plant identification according to an embodiment of the present disclosure.
  • Fig. 2 is a flowchart schematically illustrating at least part of a method for plant identification according to another embodiment of the present disclosure.
  • Fig. 3 is a structural diagram schematically showing at least a part of a computer system for plant identification according to an embodiment of the present disclosure.
  • FIG. 4 is a structural diagram schematically showing at least a part of a computer system for plant identification according to another embodiment of the present disclosure.
  • Fig. 5 is a flowchart schematically illustrating at least part of a method for plant identification according to yet another embodiment of the present disclosure.
  • Fig. 6 is a flowchart schematically illustrating at least part of a method for plant identification according to yet another embodiment of the present disclosure.
  • Fig. 1 is a flowchart schematically illustrating at least part of a method 100 for plant identification according to an embodiment of the present disclosure.
  • the method 100 includes: identifying the classification of the plant according to the image, and identifying at least two of the growth location of the plant, the growth cycle, and the part of the plant in the image, wherein the image includes at least one part of the plant (step 110);
  • the classification of the plants, and at least two of the identified plant growth location, growth cycle, and plant parts in the image determine a plant maintenance program (step 120); and output a plant maintenance program (step 130).
  • Plant maintenance programs can include, for example, watering, spraying, changing water, adding water, fertilizing, pruning, weeding, turning pots, changing pots, sunshine, shading, adjusting temperature, adjusting humidity, winter protection, and pest control. At least one execution plan.
  • the inventors of the present application have found that the maintenance scheme is not only related to the type of plant, but also related to the growth place, growth cycle, and part of the plant, so the method according to the embodiment of the present disclosure can At least two of the growth location, growth cycle and plant parts in the image are used to determine a personalized maintenance plan for the plants in the image.
  • the user can input the image including at least one part of the plant to be identified into the application program capable of identifying the plant to identify the classification of the plant.
  • the image mentioned herein includes at least one part of the plant, which means including one or more parts of the plant, wherein each part may be the whole or part of the part.
  • the image can be previously stored by the user, captured in real time, or downloaded from the Internet.
  • Imagery may include any form of visual representation, such as still images, moving images, and video. Images can be taken with devices including cameras, such as mobile phones, tablet computers, and the like.
  • An application capable of implementing the method 100 may receive the image from the user, and perform plant recognition based on the image in step 110 .
  • Any known method of image-based plant identification may be included.
  • the identified plants in the image can be identified by means of a computing device and a pre-trained (or called “trained") plant identification model to obtain a recognition result, that is, a plant classification.
  • a plant recognition model can be established based on a neural network (such as a deep convolutional neural network (CNN) or a deep residual network (Resnet), etc.).
  • CNN deep convolutional neural network
  • Resnet deep residual network
  • images can also be preprocessed. Preprocessing may include normalization, brightness adjustment, or noise reduction, among others. Noise reduction processing can highlight the description of the feature parts in the image, making the features more distinct.
  • the method 100 further identifies at least two items of plant growth location, growth cycle, and plant parts in the image according to the image. Recognition can be based on a trained neural network model.
  • the maintenance regimen can be related to where the plants are grown.
  • the habitat of the plant can be identified based on the trained habitat classification model.
  • a plurality of classifications can be established for plant growth locations according to the relationship between the growth location of the plants and the maintenance regimen of the plants.
  • a certain number of image samples can be obtained for each classification of growing places, and the classification names of the growing places of plants in each image sample can be marked on these image samples, so as to create a training sample set. Use the training sample set to train the neural network until the output accuracy of the neural network meets the requirements.
  • Some maintenance programs differentiate between potted plants and non-potted plants, for example, the tasks of repotting and repotting are only for potted plants.
  • Some care regimens differentiate between cut and non-cut flowers, for example, tasks for cut flowers may include changing water while tasks for non-cut flowers may include watering.
  • multiple classifications of where plants grow may include potted, non-potted, and cut flowers. For example, you can label those that can be seen in flower pots or grow indoors as “potted plants”, those that are placed in vases as "fresh-cut flowers”, and those that are not potted or fresh-cut flowers as "non-potted plants” , label no plants, fake plants, specimens, or unidentifiable images as "Other”.
  • the maintenance regimen can be related to the growth cycle of the plant.
  • the growth cycle of the plant can be identified based on the trained growth cycle classification model. Multiple classifications can be established for growth cycles of plants based on the relationship between the growth cycle of the plant and the maintenance regimen of the plant. A certain number of image samples may be obtained for the classification of each growth cycle, and the classification name of the growth cycle of the plants in each image sample is marked on these image samples, so as to create a training sample set. Use the training sample set to train the neural network until the output accuracy of the neural network meets the requirements.
  • the maintenance program may be different for plants in different growth cycles.
  • the same plant may require different watering frequency and amount in different growth cycles.
  • the potting task for potted plants can only be for plants whose growth cycle is leaf stage, flowering stage or fruit stage.
  • the multiple classifications of growth cycles of plants may include emerging seedlings, young seedlings, leaf stage, flowering stage, fruiting stage, leaf falling stage, and dormancy stage.
  • an image that only includes two cotyledons can be labeled as "emergent seedling”
  • an image with multiple leaves but not fully grown can be labeled "small seedling”
  • an image before flowering can be labeled "leaf stage”.
  • label those that are difficult to distinguish into other growth cycles as "Other”.
  • the maintenance regimen can be related to the part of the plant.
  • Plant parts may be identified based on the trained part classification model. Multiple classifications can be established for plant parts based on the relationship between the plant part and the plant's care regimen. A certain number of image samples may be obtained for the classification of each part, and the classification names of the plant parts in each image sample are marked on these image samples, thereby creating a training sample set. Use the training sample set to train the neural network until the output accuracy of the neural network meets the requirements.
  • the location of the plants in the image can affect the maintenance regimen output to the user. For example, if it is found that the part of the plant is the leaves, and some are yellowing, then the user can be reminded to water more. For example, if there are spots on the leaves, it may be some kind of disease and insect pest, and the user can be reminded to prevent and control the corresponding disease and insect pest.
  • multiple classifications of parts of plants may include trunks, buds, seeds, buds, fruits, seedlings, leaves, flowers, stems, and roots.
  • a corresponding classification can also be established to include that the plant body in the image is too far away to distinguish its detailed features, and the plant body in the image is too close so that the plant in the image is too partial without complete organs, etc.
  • the method 100 determines a plant maintenance plan according to the identified plant classification, and at least two of the plant's growth location, growth cycle, and plant parts in the image.
  • the method 100 outputs a maintenance regimen for the plant.
  • a maintenance scheme lookup table as shown in Table 1 may be pre-established, and a plant maintenance scheme may be determined based on the maintenance scheme lookup table.
  • the value in each cell in Table 1 indicates the frequency at which the maintenance task should be performed in the maintenance plan, that is, the interval at which the task is repeated, and the unit is the number of days.
  • the maintenance plan for plant classification 1 in the case of growth cycle 1 and growth location 1 is to perform a corresponding maintenance task (for example, pruning) every 28 days.
  • No value in the unit can indicate that the corresponding plant classification does not need to perform the task in the corresponding growth cycle, and a unit with a value of -1 can indicate that the task of the corresponding plant classification only needs to be performed once in the corresponding growth cycle.
  • the frequency at which the maintenance task should be performed can be determined according to the classification and growth cycle of the plant according to the maintenance scheme lookup table shown in Table 1.
  • the maintenance program includes a maintenance program related to pest control, ie, an implementation program for pest control.
  • the method 100 needs to identify the types of plant diseases and insect pests (herein also referred to as "diagnostic information of diseases and insect pests") according to the image, so as to recommend to the user a personalized maintenance plan related to disease and insect pest control.
  • the trained pest diagnosis model can be used to identify the diagnostic information of plant diseases and insect pests based on images.
  • the diagnostic information may include pest information or no pest detection information.
  • the pest diagnosis model can be a neural network model, specifically a convolutional neural network model or a residual network model.
  • a large number of images can be included in the training sample set of the disease and pest diagnosis model, and each image is correspondingly marked with diagnostic information, such as the information of the diseases and insect pests suffered by the plants in this image, or corresponding to healthy plants Information about undetected pests and diseases.
  • the image is input into the pest diagnosis model to generate the output diagnostic information, and then according to the comparison result between the output diagnostic information and the labeled diagnostic information, the relevant parameters in the pest diagnosis model can be adjusted, that is, the pest diagnosis model is trained.
  • the training ends when the output accuracy of the pest diagnosis model meets the requirements, so as to obtain the trained pest diagnosis model.
  • a maintenance scheme related to pest control is extracted, and the maintenance scheme is output.
  • the relevant maintenance plan in the database it can be retrieved according to the classification of the plant and the diagnosis information of diseases and insect pests, and the retrieved maintenance plan can be compared according to at least two of the plant's growth place, growth cycle and plant parts in the image Make appropriate adjustments.
  • a large amount of data is pre-stored in the database, it can cover the classification of most plants and the maintenance scheme of the diagnosis information of diseases and insect pests, so as to provide users with corresponding maintenance schemes.
  • the output classification level may be determined according to the recognized plant parts in the image.
  • the parts of the plants in the image are trunks, buds, seeds, flower buds, fruits or seedlings, it will be more difficult to obtain more accurate species information (that is, information at the taxonomic level).
  • species information that is, information at the taxonomic level.
  • the results of the identified species are directly output, it is likely to be wrong, which will mislead or confuse the user.
  • the Genus information is identified, it is generally more accurate.
  • the plant parts in the image are characteristic parts such as leaves, flowers, stems, roots, etc., the identified species information is usually reliable.
  • the classification level of the output is determined to be a genus; and in response to the part of the plant in the image being leaf, flower, One of stem and root, determine the output classification level as species.
  • the identification results provided by the plant identification model usually include one or more classifications of the identified plants. One or more classifications are ranked from high to low by confidence (how close the classification is to the true classification).
  • the classification level of one or more classifications included in the recognition result provided by the plant recognition model is species. According to the corresponding relationship between species and genus, it can be known that the classification level of each recognition result is the classification of genus. In one embodiment, the classification level of one or more classifications included in the recognition result provided by the plant recognition model is species and genus.
  • the various identifications mentioned above are all performed according to the subject in the image.
  • the subject in the image may refer to the entity occupying the largest area in the image, or the entity located substantially in the middle of the image, or the entity not located at the corner of the image.
  • the subject in response to the subject in the image being unclear (the subject cannot be distinguished, such as a distant view of a large tree), the subject is a non-plant (the subject can be distinguished, but the subject is not a plant), and the subject is a distant view of a whole plant (The subject can be distinguished, but the subject is too far away to recognize details, such as the shape of the blade, etc.), no recognition is performed, that is, step 110 of the above-mentioned method 100 is not executed, and a prompt message asking the user to re-input the image is output. In this way, invalid identifications can be avoided.
  • Judging whether the subject of the image is unclear, the subject is a non-plant, or the subject is a distant view of a whole plant can be performed through a trained neural network model.
  • a certain number of image samples marked with the classification can be prepared for each of the classifications of the classifications such as the subject is not clear, the subject is non-plant, and the subject is the whole plant, and these image samples are used to train the neural network until The output accuracy of the neural network meets the requirements.
  • the image quality of the imagery may be identified based on a trained quality classification model.
  • identification is performed, that is, step 110 of the above-mentioned method 100 is executed. If the image quality is not clear, no recognition is performed, that is, step 110 of the above method 100 is not executed, and a message prompting the user to re-input the image is output.
  • the classification of unclear image quality can be classified in more detail, such as unclear caused by light, unclear caused by focal length, etc., so that more specific prompt information can be output to the user, such as prompting the user to fill in light and then reshoot etc.
  • Quality classification models can be trained based on image sample sets. The image sample set includes a certain number of image samples marked with the classification prepared for each classification. These image samples are used to train the neural network until the output accuracy of the neural network meets the requirements, so as to obtain the trained quality classification model.
  • Fig. 2 is a flowchart schematically illustrating at least a part of a method 200 for plant identification according to another embodiment of the present disclosure.
  • the method 200 includes: receiving an image, wherein the image includes at least one part of a plant (step 210); identifying the part of the plant in the image and the classification of the plant according to the image (step 220); , determine the classification level of the output (step 230); and output the classification of the corresponding classification level of the plant according to the determined classification level (step 240).
  • the application capable of implementing the method 200 may receive an image from a user including at least one part of the plant to be identified.
  • the image mentioned herein includes at least one part of the plant, which means including one or more parts of the plant, wherein each part may be the whole or part of the part.
  • the image can be previously stored by the user, captured in real time, or downloaded from the Internet.
  • Imagery may include any form of visual representation, such as still images, moving images, and video. Images can be taken with devices including cameras, such as mobile phones, tablet computers, and the like.
  • step 220 the method 200 identifies plant parts and plant classifications in the image according to the image.
  • the trained plant recognition model described above can be used to identify the classification of the plant in the image, and the trained part classification model described above can be used to identify the part of the plant in the image.
  • the method 200 determines an output classification level according to the recognized plant parts in the image.
  • the parts of the plants in the image are trunks, buds, seeds, flower buds, fruits or seedlings, it will be more difficult to obtain more accurate species information (that is, information at the taxonomic level).
  • species information that is, information at the taxonomic level.
  • the results of the identified species are directly output, it is likely to be wrong, which will mislead or confuse the user.
  • the identified information is generally more accurate.
  • the plant parts in the image are characteristic parts such as leaves, flowers, stems, roots, etc., the identified species information is usually reliable.
  • the classification level of the output is determined to be a genus; and in response to the part of the plant in the image being leaf, flower, One of stem and root, determine the output classification level as species.
  • the identification results provided by the plant identification model usually include one or more classifications of the identified plants. One or more classifications are ranked from high to low by confidence (how close the classification is to the true classification).
  • the classification level of one or more classifications included in the recognition result provided by the plant recognition model is species. According to the corresponding relationship between species and genus, it can be known that the classification level of each recognition result is the classification of genus. In one embodiment, the classification level of one or more classifications included in the recognition result provided by the plant recognition model is species and genus.
  • the above identifications are all performed according to the subject in the image.
  • the subject in the image may refer to the entity occupying the largest area in the image, or the entity located substantially in the middle of the image, or the entity not located at the corner of the image.
  • the subject in response to the subject in the image being unclear (the subject cannot be distinguished, such as a distant view of a large tree), the subject is a non-plant (the subject can be distinguished, but the subject is not a plant), and the subject is a distant view of a whole plant (The subject can be distinguished, but the subject is too far away to recognize details, such as the shape of the blade, etc.), no recognition is performed, that is, step 220 of the above method 200 is not executed, and information prompting the user to re-input the image is output. In this way, invalid identifications can be avoided.
  • Judging whether the subject of the image is unclear, the subject is a non-plant, or the subject is a distant view of a whole plant can also be performed through a trained neural network model.
  • a certain number of image samples marked with the classification can be prepared for each of the classifications of the classifications such as the subject is not clear, the subject is non-plant, and the subject is the whole plant, and these image samples are used to train the neural network until The output accuracy of the neural network meets the requirements.
  • the image quality of the imagery may be identified based on a trained quality classification model.
  • identification is performed, that is, step 220 of the above-mentioned method 200 is performed.
  • no recognition is performed, that is, step 220 of the above method 200 is not executed, and a message prompting the user to re-input the image is output.
  • the classification of unclear image quality can be classified in more detail, such as unclear caused by light, unclear caused by focal length, etc., so that more specific prompt information can be output to the user, such as prompting the user to fill in light and then reshoot etc.
  • Quality classification models can be trained based on image sample sets.
  • the image sample set includes a certain number of image samples marked with the classification prepared for each classification. These image samples are used to train the neural network until the output accuracy of the neural network meets the requirements, so as to obtain the trained quality classification model.
  • Fig. 5 is a flowchart schematically illustrating at least a part of a method 500 for plant identification according to yet another embodiment of the present disclosure.
  • the method 500 includes: receiving an image, wherein the image includes at least one part of a plant (step 510); according to the image, identifying at least one of the part of the plant in the image, the place of growth and the growth cycle, and the image based on a trained neural network model. Classification of the plants in (step 520); and according to the user's operation request, perform the requested operation on the classification of the identified plants and at least one of the above items (step 530).
  • an application capable of implementing method 500 may receive an image from a user including at least one part of a plant to be identified.
  • the image mentioned herein includes at least one part of the plant, which means including one or more parts of the plant, wherein each part may be the whole or part of the part.
  • the image can be previously stored by the user, captured in real time, or downloaded from the Internet.
  • Imagery may include any form of visual representation, such as still images, moving images, and video. Images can be taken with devices including cameras, such as mobile phones, tablet computers, and the like.
  • the method 500 recognizes at least one of plant parts, growth locations and growth cycles in the images, and classification of the plants in the images based on the images and the trained neural network model.
  • the trained plant recognition model described above can be used to identify the classification of plants in the image
  • the trained part classification model, growth place classification model and growth cycle classification model described above can be used to separately identify the classification of plants in the image. The parts, growth places and growth cycles of the plants.
  • the method 500 performs the requested operation on at least one of the identified plant parts, growth locations, and growth cycles and plant classifications according to the user's operation request.
  • the user's operation request is a request for the identified information, for example, requesting to output the identified information
  • the application program capable of implementing the method 500 may output (eg, through the interface of the application program) the identified plant information. At least one of the plant's part, growth place and growth cycle, and information on the classification of the plant.
  • the user's operation request is a request for a maintenance scheme for plants
  • the application program capable of implementing method 500 can call the maintenance scheme determination module of the application program, and according to the identified plant location, growth place and growth cycle at least one of them and the classification of the plants to determine the plant maintenance scheme, and output the determined plant maintenance scheme to the user (for example, through the interface of the application program).
  • the maintenance program determination module can pre-establish the maintenance program lookup table shown in Table 1 as described in the method 100, and determine the plant maintenance program based on the maintenance program lookup table.
  • the user's request for a plant maintenance plan may be a request for a disease and pest control plan.
  • the application program capable of implementing the method 500 can use the trained pest diagnosis model to identify the types of plant diseases and insect pests according to the image (also referred to as "diagnostic information of diseases and insect pests"), and can use the identified plant classification and pest diagnosis information, and According to at least one of the plant's growth location, growth cycle, and plant parts in the image, the maintenance plan related to pest control is extracted from the established database, thereby recommending a personalized maintenance plan related to pest control to the user.
  • Fig. 6 is a flowchart schematically illustrating at least part of a method 600 for plant identification according to yet another embodiment of the present disclosure.
  • the method 600 includes: receiving an image, wherein the image includes at least one part of a plant (step 610); according to the image, based on the trained neural network model, identifying the classification of the plant in the image, the part of the plant in the image, and the location of the plant in the image.
  • the growing place, the growth cycle of the plants in the image, and the image quality of the image step 620
  • select one or more identified contents to perform the requested operation step 630.
  • method 600 identifies the classification, location, growth place, growth cycle and image quality of the plants in the received images, and then selects one of them according to needs (need to be determined according to the user's operation request) or multiple items to be used in subsequent steps.
  • each item of content identified in step 620 is stored in association with the corresponding image, for example, may be stored as each tag of the image for subsequent use. In this way, after the user's request is subsequently received, it is not necessary to re-identify the image to obtain the required information, but to directly extract the required information from the tag information of the picture.
  • an application capable of implementing method 600 may receive an image from a user including at least one part of a plant to be identified.
  • the image mentioned herein includes at least one part of the plant, which means including one or more parts of the plant, wherein each part may be the whole or part of the part.
  • the image can be previously stored by the user, captured in real time, or downloaded from the Internet.
  • Imagery may include any form of visual representation, such as still images, moving images, and video. Images can be taken with devices including cameras, such as mobile phones, tablet computers, and the like.
  • the method 600 can identify information such as classification, location, growth place, growth cycle, and image quality of plants in the image based on the trained neural network model based on the image.
  • the trained plant recognition models described above can be used to identify the classification of plants in imagery, using the trained parts classification models, growth location classification models, growth cycle classification models, and quality classification models described above To identify the part, growth place, growth cycle and image quality of the plants in the image respectively.
  • the method 600 identifies information such as classification, location, growth place, growth cycle, and image quality of the plants in the received images for selective use in subsequent steps.
  • the method 600 may select one or more contents among all the contents identified in step 620 to perform the requested operation according to the user's operation request.
  • the user's operation request is a request for identified information, for example, a request to output information about one or more items of identified content.
  • the application program capable of implementing method 600 may select one or more contents from all the contents identified in step 620 according to the user's request, and output (for example, through the interface of the application program) the selected one or more contents Information.
  • the user's operation request is a request for a plant maintenance plan.
  • the application program capable of implementing the method 600 can select at least one of the part, growth location, and growth cycle of the plant in the image identified in step 620, as well as the classification of the plant in the image, and call the maintenance program of the application program to determine
  • the module is used to determine the maintenance program of the plant, and output the determined plant maintenance program to the user (for example, through the interface of the application program).
  • the maintenance program determination module can pre-establish the maintenance program lookup table shown in Table 1 as described in the method 100, and determine the plant maintenance program based on the maintenance program lookup table.
  • the user's request for a plant maintenance plan may be a request for a disease and pest control plan.
  • the application program capable of implementing the method 600 can use the trained pest diagnosis model to identify the types of plant diseases and insect pests according to the image (also referred to as "diagnostic information of diseases and insect pests"), and can use the identified plant classification and pest diagnosis information, and According to at least one of the growth location, growth cycle and part of the plant, the maintenance plan related to pest control is extracted from the established database, so as to recommend a personalized maintenance plan related to pest control to the user.
  • FIG. 3 is a structural diagram schematically showing at least a part of a computer system 300 for plant identification according to an embodiment of the present disclosure.
  • system 300 may include one or more storage devices 310 , one or more user devices 320 , and one or more computing devices (computer systems) 330 , which may be communicatively connected to each other via a network or bus 340 .
  • One or more storage devices 310 provide storage services for one or more user devices 320 , and one or more computing devices 330 .
  • one or more storage devices 310 are shown in system 300 as a separate block from one or more user devices 320 and one or more computing devices 330, it should be understood that one or more storage devices 310 May actually be stored on any of the other entities 320, 330 included in the system 300.
  • Each of the one or more user devices 320 and the one or more computing devices 330 may be located at different nodes of the network or bus 340 and be capable of communicating directly or indirectly with other nodes of the network or bus 340 .
  • the system 300 may also include other devices not shown in FIG. 3 , where each different device is located at a different node of the network or bus 340 .
  • One or more storage devices 310 may be configured to store any data mentioned above, including but not limited to: images input from users, image samples, neural network models, recognition results, application files and other data.
  • One or more computing devices 330 may be configured to perform one or more of the above-mentioned methods according to the embodiments, and/or one or more steps in the one or more methods according to the embodiments.
  • One or more user devices 320 may be configured to provide services to the user, for example, receiving images from the user, outputting maintenance plans for plants, outputting plant classifications, and outputting information prompting users to re-input images, and the like.
  • One or more user equipments 320 may also be configured to execute one or more of the above methods according to the embodiments, and/or one or more steps in the one or more methods according to the embodiments.
  • Network or bus 340 may be any wired or wireless network, and may include cables.
  • Network or bus 340 may be part of the Internet, the World Wide Web, a specific intranet, a wide area network or a local area network.
  • Network or bus 340 may utilize standard communication protocols such as Ethernet, WiFi, and HTTP, protocols proprietary to one or more companies, and various combinations of the foregoing.
  • the network or bus 340 may also include, but is not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an Enhanced ISA (EISA) bus, a Video Electronics Standards Association (VESA) local bus, and a peripheral component interconnect (PCI) bus.
  • ISA Industry Standard Architecture
  • MCA Micro Channel Architecture
  • EISA Enhanced ISA
  • VESA Video Electronics Standards Association
  • PCI peripheral component interconnect
  • Each of the one or more user equipment 320 and the one or more computing devices 330 may be configured similarly to the system 400 shown in FIG. And instruction 421 and data 422.
  • Each of the one or more user devices 320 and the one or more computing devices 330 may be a personal computing device intended for use by a user or a business computing device for use by an All components used in conjunction, such as the central processing unit (CPU), memory for storing data and instructions (e.g., RAM and internal hard drives), such as displays (e.g., monitors with screens, touch screens, projectors, televisions, or operable other devices to display information), mouse, keyboard, touch screen, microphone, speakers, and/or one or more I/O devices such as network interface devices.
  • CPU central processing unit
  • memory for storing data and instructions (e.g., RAM and internal hard drives)
  • displays e.g., monitors with screens, touch screens, projectors, televisions, or operable other devices to display information
  • mouse keyboard, touch screen, microphone, speakers, and/or one
  • One or more user devices 320 may also include one or more cameras for capturing still images or recording video streams, and all components for connecting these elements to each other. While one or more user devices 320 may each comprise a full-sized personal computing device, they may alternatively comprise a mobile computing device capable of wirelessly exchanging data with a server over a network, such as the Internet. One or more user devices 320 may be, for example, a mobile phone, or a device such as a PDA with wireless support, a tablet PC, or a netbook capable of obtaining information via the Internet. In another example, one or more user devices 320 may be a wearable computing system.
  • FIG. 4 is a structural diagram schematically showing at least a part of a computer system 400 for plant identification according to an embodiment of the present disclosure.
  • System 400 includes one or more processors 410, one or more memories 420, and other components (not shown) typically found in a computer or the like.
  • Each of the one or more memories 420 can store content that can be accessed by the one or more processors 410, including instructions 421 that can be executed by the one or more processors 410, and that can be executed by the one or more processors 410.
  • Data 422 retrieved, manipulated or stored.
  • Instructions 421 may be any set of instructions to be executed directly by one or more processors 410, such as machine code, or indirectly, such as a script.
  • the terms “instruction”, “application”, “process”, “step” and “program” are used interchangeably herein.
  • Instructions 421 may be stored in object code format for direct processing by one or more processors 410, or in any other computer language, including scripts or collections of stand-alone source code modules interpreted on demand or compiled ahead of time. Instructions 421 may include instructions that cause, for example, one or more processors 410 to function as various neural networks herein. The function, method and routine of instruction 421 are explained in more detail elsewhere herein.
  • the one or more memories 420 may be any temporary or non-transitory computer-readable storage media capable of storing content accessible by the one or more processors 410, such as hard drives, memory cards, ROM, RAM, DVDs, CDs, USB memory, writable memory and read-only memory, etc.
  • One or more of the one or more memories 420 may comprise a distributed storage system where instructions 421 and/or data 422 may be stored on multiple different storage devices which may be physically located at the same or different geographic locations.
  • One or more of the one or more memories 420 may be connected to the one or more first devices 410 via a network, and/or may be directly connected to or incorporated in any of the one or more processors 410 .
  • One or more processors 410 may retrieve, store or modify data 422 according to instructions 421 .
  • the data 422 stored in the one or more memories 420 may include at least a portion of one or more of the items stored in the one or more storage devices 310 described above.
  • data 422 could also be stored in computer registers (not shown), as tables or XML documents with many different fields and records stored in relational type database.
  • Data 422 may be formatted in any computing device readable format, such as, but not limited to, binary values, ASCII, or Unicode. Additionally, data 422 may include any information sufficient to identify the relevant information, such as numbers, descriptive text, proprietary code, pointers, references to data stored in other storage, such as at other network locations, or used by functions to compute relevant information. data information.
  • the one or more processors 410 may be any conventional processor, such as a commercially available central processing unit (CPU), graphics processing unit (GPU), or the like. Alternatively, one or more processors 410 may also be a dedicated component, such as an application specific integrated circuit (ASIC) or other hardware-based processor. Although not required, one or more processors 410 may include specialized hardware components to more quickly or efficiently perform certain computational processes, such as image processing of imagery and the like.
  • CPU central processing unit
  • GPU graphics processing unit
  • ASIC application specific integrated circuit
  • processors 410 may include specialized hardware components to more quickly or efficiently perform certain computational processes, such as image processing of imagery and the like.
  • system 400 may actually include multiple Multiple processors or memory within a physical enclosure.
  • one of the one or more memories 420 may be a hard drive or other storage medium located in a different housing than that of each of the one or more computing devices (not shown) described above .
  • references to a processor, computer, computing device or memory shall be understood to include references to a collection of processors, computers, computing devices or memory which may or may not operate in parallel.
  • references to "one embodiment” or “some embodiments” means that a feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment, at least some embodiments of the present disclosure.
  • appearances of the phrase “in one embodiment” and “in some embodiments” in various places in this disclosure are not necessarily referring to the same embodiment or embodiments.
  • features, structures or characteristics may be combined in any suitable combination and/or subcombination in one or more embodiments.
  • the word "exemplary” means “serving as an example, instance, or illustration” rather than as a “model” to be exactly reproduced. Any implementation described illustratively herein is not necessarily to be construed as preferred or advantageous over other implementations. Furthermore, the disclosure is not to be bound by any expressed or implied theory presented in the preceding technical field, background, brief summary or detailed description.
  • a component may be, but is not limited to being, a process, object, executable, thread of execution, and/or program running on a processor.
  • a component may be, but is not limited to being, a process, object, executable, thread of execution, and/or program running on a processor.
  • an application running on a server and the server may be a component.
  • One or more components can reside within a process and/or thread of execution and a component can be localized on one computer and/or distributed between two or more computers.
  • implementations of the present disclosure may also include the following examples:
  • a method for plant identification comprising:
  • the requested operation is performed on the identified plant classification and the at least one item.
  • the identified classification of the plant and the at least one item of information are output.
  • a maintenance regimen for the plant is output.
  • the maintenance plan includes watering, spraying water, changing water, adding water, fertilizing, pruning, weeding, turning pots, changing pots, sunshine, shading, adjusting temperature, adjusting humidity, winter protection , and an implementation plan for at least one of pest control.
  • the result of the identified classification of the plant is adjusted according to the determined classification level.
  • the taxonomic level is a genus in response to the part of the plant in the image being one of trunk, bud, seed, bud, fruit, and seedling;
  • the classification level is determined to be a species.
  • the recognition is not performed, and a prompt message for re-inputting the image is output.
  • the growth place of the plant is identified based on a trained growth place classification model, and the growth place classification model is passed by multiple classifications under each classification of the growth place.
  • Annotated samples are trained, wherein the multiple classifications of the growing places include potted plants, non-potted plants, and fresh-cut flowers.
  • a method for plant identification comprising:
  • the image identify the classification of the plant in the image, the part of the plant in the image, the growth place of the plant in the image, and the growth cycle of the plant in the image based on the trained neural network model , and the image quality of said image;
  • one or more identified contents are selected from among the identified contents to perform the requested operation.
  • a maintenance regimen for the plant is output.
  • a method for plant identification comprising:
  • the identified classification of the plant and at least two of the identified growth location, growth cycle, and plant part in the image, determine a maintenance plan for the plant;
  • a maintenance regimen for the plant is output.
  • a method for plant identification comprising:
  • a classification of the corresponding classification level of the plant is output according to the determined classification level.
  • the output classification level is species.
  • the recognition is not performed, and information prompting the user to re-input the image is output.
  • a computer system for plant identification comprising:
  • one or more memories configured to store a series of computer-executable instructions and computer-accessible data associated with the series of computer-executable instructions
  • the computer system when the series of computer-executable instructions are executed by the one or more processors, the computer system is made to perform the method described in any one of 1-20.
  • a non-transitory computer-readable storage medium storing a series of computer-executable instructions on the non-transitory computer-readable storage medium, when the series of computer-executable instructions are executed by one or more computer systems When executed, the one or more computer systems are caused to perform the method described in any one of 1-20.

Landscapes

  • Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Image Analysis (AREA)

Abstract

A method for plant identification, a computer system, and a computer-readable storage medium, the method comprising: receiving an image, the image comprising at least a part of a plant; according to the image, identifying at least one item among the part, growing site and growth cycle of the plant in the image and the classification of the plant in the image on the basis of a trained neural network model; and according to an operation request of a user, performing a requested operation on the identified classification of the plant and at least one item.

Description

用于植物识别的方法、计算机系统以及计算机可读存储介质Method, computer system, and computer-readable storage medium for plant identification 技术领域technical field
本公开涉及计算机技术领域,尤其涉及用于植物识别的方法、计算机系统以及计算机可读存储介质。The present disclosure relates to the field of computer technology, and in particular to a method for identifying plants, a computer system, and a computer-readable storage medium.
背景技术Background technique
计算机技术领域中,存在用于识别植物的应用程序。这些应用程序通常接收来自用户的影像(包括静态图像、动态图像、以及视频等),并基于由人工智能技术建立的植物识别模型对影像中的待识别植物的分类进行识别。例如,识别结果即植物的分类可以为植物的种(Species)等。来自用户的影像通常包括待识别植物的至少一部分,例如,影像中可以包括待识别植物的茎、叶、和花等。In the field of computer technology there are applications for identifying plants. These applications usually receive images from users (including static images, dynamic images, and videos, etc.), and identify the classification of plants to be identified in the images based on the plant recognition model established by artificial intelligence technology. For example, the recognition result, that is, the classification of the plant may be the species of the plant (Species) or the like. The image from the user usually includes at least a part of the plant to be identified, for example, the image may include stems, leaves, and flowers of the plant to be identified.
发明内容Contents of the invention
本公开的一个目的是提供用于植物识别的方法和计算机系统。An object of the present disclosure is to provide a method and computer system for plant identification.
根据本公开的第一方面,提供了一种用于植物识别的方法,包括:接收影像,其中所述影像包括植物的至少一个部位;根据所述影像,基于已训练的神经网络模型识别所述影像中的植物的部位、生长地和生长周期中的至少一项以及所述影像中的植物的分类;以及根据用户的操作请求,对识别出的所述植物的分类和所述至少一项进行所请求的操作。According to a first aspect of the present disclosure, there is provided a method for plant identification, comprising: receiving an image, wherein the image includes at least one part of a plant; according to the image, identifying the plant based on a trained neural network model At least one of the parts, growth sites, and growth cycles of the plants in the image, and the classification of the plants in the image; and according to the user's operation request, perform classification on the identified plant and the at least one item The requested action.
根据本公开的第一方面,提供了一种用于植物识别的方法,包括:接收影像,其中所述影像包括植物的至少一个部位;根据所述影像,基于已训练的神经网络模型识别所述影像中的植物的分类、所述影像中的植物的部位、所述影像中的植物的生长地、所述影像中的植物的生长周期、以及所述影像的影像质量;以及根据用户的操作请求,在所识别出的各项内容中选取识别出的一项或多项内容进行所请求的操作。According to a first aspect of the present disclosure, there is provided a method for plant identification, comprising: receiving an image, wherein the image includes at least one part of a plant; according to the image, identifying the plant based on a trained neural network model The classification of the plants in the image, the parts of the plants in the image, the growing places of the plants in the image, the growth cycle of the plants in the image, and the image quality of the image; and according to the user's operation request , select one or more identified items among the identified items to perform the requested operation.
根据本公开的第三方面,提供了一种用于植物识别的方法,包括:根据影像基于已训练的神经网络模型识别植物的分类,以及识别所述植物的生长 地、生长周期和所述影像中的植物的部位中的至少两项,其中所述影像包括所述植物的至少一个部位;根据识别出的所述植物的分类,以及识别出的所述植物的生长地、生长周期和所述影像中的植物的部位中的所述至少两项,确定所述植物的养护方案;以及输出所述植物的养护方案。According to a third aspect of the present disclosure, there is provided a method for plant identification, including: identifying the classification of plants based on a trained neural network model according to images, and identifying the growth place, growth cycle and the image of the plants At least two of the parts of the plant in the image, wherein the image includes at least one part of the plant; according to the identified classification of the plant, and the identified growth place, growth cycle and the identified plant The at least two of the parts of the plant in the image determine a maintenance program for the plant; and output the maintenance program for the plant.
根据本公开的第四方面,提供了一种用于植物识别的方法,包括:接收影像,其中所述影像包括所述植物的至少一个部位;根据所述影像,识别所述影像中的植物的部位、以及所述植物的分类;根据识别出的所述影像中的植物的部位,确定输出的分类层级;以及根据确定的所述分类层级输出所述植物的相应分类层级的分类。According to a fourth aspect of the present disclosure, there is provided a method for plant identification, including: receiving an image, wherein the image includes at least one part of the plant; according to the image, identifying the plant in the image The part and the classification of the plant; according to the recognized part of the plant in the image, determine the output classification level; and output the classification of the corresponding classification level of the plant according to the determined classification level.
根据本公开的第五方面,提供了一种用于植物识别的计算机系统,包括:一个或多个处理器;以及一个或多个存储器,所述一个或多个存储器被配置为存储一系列计算机可执行的指令以及与所述一系列计算机可执行的指令相关联的计算机可访问的数据,其中,当所述一系列计算机可执行的指令被所述一个或多个处理器执行时,使得所述计算机系统进行如上所述的任一方法。According to a fifth aspect of the present disclosure, there is provided a computer system for plant identification, comprising: one or more processors; and one or more memories configured to store a series of computer executable instructions and computer-accessible data associated with the series of computer-executable instructions, which, when executed by the one or more processors, cause the The computer system performs any of the methods described above.
根据本公开的第六方面,提供了一种非临时性计算机可读存储介质,所述非临时性计算机可读存储介质上存储有一系列计算机可执行的指令,当所述一系列计算机可执行的指令被一个或多个计算机系统执行时,使得所述一个或多个计算机系统进行如上所述的任一方法。According to a sixth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium stores a series of computer-executable instructions, when the series of computer-executable instructions When executed by one or more computer systems, the instructions cause the one or more computer systems to perform any of the methods described above.
通过以下参照附图对本公开的示例性实施例的详细描述,本公开的其它特征及其优点将会变得清楚。Other features of the present disclosure and advantages thereof will become apparent through the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings.
附图说明Description of drawings
构成说明书的一部分的附图描述了本公开的实施例,并且连同说明书一起用于解释本公开的原理。The accompanying drawings, which constitute a part of this specification, illustrate the embodiments of the disclosure and together with the description serve to explain the principles of the disclosure.
参照附图,根据下面的详细描述,可以更加清楚地理解本公开,其中:The present disclosure can be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
图1是示意性地示出根据本公开的一个实施例的用于植物识别的方法的至少一部分的流程图。Fig. 1 is a flowchart schematically illustrating at least part of a method for plant identification according to an embodiment of the present disclosure.
图2是示意性地示出根据本公开的另一个实施例的用于植物识别的方法的至少一部分的流程图。Fig. 2 is a flowchart schematically illustrating at least part of a method for plant identification according to another embodiment of the present disclosure.
图3是示意性地示出根据本公开的一个实施例的用于植物识别的计算机系统的至少一部分的结构图。Fig. 3 is a structural diagram schematically showing at least a part of a computer system for plant identification according to an embodiment of the present disclosure.
图4是示意性地示出根据本公开的另一个实施例的用于植物识别的计算机系统的至少一部分的结构图。FIG. 4 is a structural diagram schematically showing at least a part of a computer system for plant identification according to another embodiment of the present disclosure.
图5是示意性地示出根据本公开的又一个实施例的用于植物识别的方法的至少一部分的流程图。Fig. 5 is a flowchart schematically illustrating at least part of a method for plant identification according to yet another embodiment of the present disclosure.
图6是示意性地示出根据本公开的再一个实施例的用于植物识别的方法的至少一部分的流程图。Fig. 6 is a flowchart schematically illustrating at least part of a method for plant identification according to yet another embodiment of the present disclosure.
注意,在以下说明的实施方式中,有时在不同的附图之间共同使用同一附图标记来表示相同部分或具有相同功能的部分,而省略其重复说明。在本说明书中,使用相似的标号和字母表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。Note that in the embodiments described below, the same reference numerals may be used in common between different drawings to denote the same parts or parts having the same functions, and repeated descriptions thereof will be omitted. In this specification, similar reference numerals and letters are used to refer to similar items, therefore, once an item is defined in one figure, it does not require further discussion in subsequent figures.
具体实施方式detailed description
以下将参照附图来详细描述本公开的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本公开的范围。在下面描述中,为了更好地解释本公开,阐述了许多细节,然而可以理解的是,在没有这些细节的情况下也可以实践本公开。Various exemplary embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. It should be noted that relative arrangements of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise. In the following description, numerous details are set forth in order to better explain the disclosure, however it is understood that the disclosure may be practiced without these details.
以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本公开及其应用或使用的任何限制。在这里示出和讨论的所有示例中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。The following description of at least one exemplary embodiment is merely illustrative in nature and in no way intended as any limitation of the disclosure, its application or uses. In all examples shown and discussed herein, any specific values should be construed as illustrative only, and not as limiting.
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods and devices should be considered part of the description.
图1是示意性地示出根据本公开的一个实施例的用于植物识别的方法100的至少一部分的流程图。方法100包括:根据影像识别植物的分类,以及识别植物的生长地、生长周期和影像中的植物的部位中的至少两项,其中影像包括植物的至少一个部位(步骤110);根据识别出的植物的分类,以及识别出的植物的生长地、生长周期和影像中的植物的部位中的至少两项,确定植 物的养护方案(步骤120);以及输出植物的养护方案(步骤130)。植物的养护方案可以包括,例如,浇水、喷水、换水、加水、施肥、修剪、除草、转盆、换盆、日照、遮阳、调节温度、调节湿度、过冬防护、以及病虫害防治中的至少一个的执行方案。本申请的发明人发现,养护方案不仅与植物的种类有关,还与植物的生长地、生长周期、以及部位有关,因此根据本公开实施例的方法可以根据识别出的植物的分类,以及植物的生长地、生长周期和影像中的植物的部位中的至少两项,来为影像中的植物确定个性化的养护方案。Fig. 1 is a flowchart schematically illustrating at least part of a method 100 for plant identification according to an embodiment of the present disclosure. The method 100 includes: identifying the classification of the plant according to the image, and identifying at least two of the growth location of the plant, the growth cycle, and the part of the plant in the image, wherein the image includes at least one part of the plant (step 110); The classification of the plants, and at least two of the identified plant growth location, growth cycle, and plant parts in the image determine a plant maintenance program (step 120); and output a plant maintenance program (step 130). Plant maintenance programs can include, for example, watering, spraying, changing water, adding water, fertilizing, pruning, weeding, turning pots, changing pots, sunshine, shading, adjusting temperature, adjusting humidity, winter protection, and pest control. At least one execution plan. The inventors of the present application have found that the maintenance scheme is not only related to the type of plant, but also related to the growth place, growth cycle, and part of the plant, so the method according to the embodiment of the present disclosure can At least two of the growth location, growth cycle and plant parts in the image are used to determine a personalized maintenance plan for the plants in the image.
用户可以将包括待识别植物的至少一个部位的影像输入到可以进行植物识别的应用程序,来识别该植物的分类。需要说明的是,本文所说影像包括植物的至少一个部位,指的是包括植物的一个或多个部位,其中每个部位可以是这个部位的整体或局部。该影像可以是用户先前存储的、实时拍摄的、或者从网络上下载的。影像可以包括任何形式的视觉呈现,例如静态图像、动态图像、以及视频等。影像可以利用包括摄像头的设备进行拍摄,如手机、平板电脑等。The user can input the image including at least one part of the plant to be identified into the application program capable of identifying the plant to identify the classification of the plant. It should be noted that, the image mentioned herein includes at least one part of the plant, which means including one or more parts of the plant, wherein each part may be the whole or part of the part. The image can be previously stored by the user, captured in real time, or downloaded from the Internet. Imagery may include any form of visual representation, such as still images, moving images, and video. Images can be taken with devices including cameras, such as mobile phones, tablet computers, and the like.
能够实施方法100的应用程序可以接收来自用户的该影像,并在步骤110中基于影像进行植物识别。可以包括任何已知的基于影像进行植物识别的方法。例如,可以通过计算装置和预先训练的(或称为“已训练的”)植物识别模型对影像中的被识别植物进行识别,以得到识别结果,即植物的分类。可以基于神经网络(例如深度卷积神经网络(CNN)或深度残差网络(Resnet)等)来建立植物识别模型。例如,为每个植物的分类获取一定数量的标注有该植物的分类名称的影像样本,即训练样本集,利用这些影像样本对神经网络进行训练,直至神经网络的输出准确率满足要求。在基于影像进行植物识别之前,还可以对影像进行预处理。预处理可以包括归一化、明亮度调整、或降噪等。降噪处理可以凸显对影像中特征部分的描述,使特征更为鲜明。An application capable of implementing the method 100 may receive the image from the user, and perform plant recognition based on the image in step 110 . Any known method of image-based plant identification may be included. For example, the identified plants in the image can be identified by means of a computing device and a pre-trained (or called "trained") plant identification model to obtain a recognition result, that is, a plant classification. A plant recognition model can be established based on a neural network (such as a deep convolutional neural network (CNN) or a deep residual network (Resnet), etc.). For example, for each plant classification, obtain a certain number of image samples marked with the classification name of the plant, that is, the training sample set, and use these image samples to train the neural network until the output accuracy of the neural network meets the requirements. Before image-based plant recognition, images can also be preprocessed. Preprocessing may include normalization, brightness adjustment, or noise reduction, among others. Noise reduction processing can highlight the description of the feature parts in the image, making the features more distinct.
在步骤110,方法100还根据影像识别植物的生长地、生长周期和影像中的植物的部位中的至少两项。识别可以基于已训练的神经网络模型来进行。At step 110 , the method 100 further identifies at least two items of plant growth location, growth cycle, and plant parts in the image according to the image. Recognition can be based on a trained neural network model.
养护方案可以与植物的生长地有关。可以基于已训练的生长地分类模型识别植物的生长地。可以根据植物的生长地与植物的养护方案之间的关系, 来为植物的生长地建立多个分类。可以为每个生长地的分类获取一定数量的影像样本,并在这些影像样本上标注各个影像样本中的植物的生长地的分类名称,从而创建训练样本集。利用训练样本集对神经网络进行训练,直至神经网络的输出准确率满足要求。The maintenance regimen can be related to where the plants are grown. The habitat of the plant can be identified based on the trained habitat classification model. A plurality of classifications can be established for plant growth locations according to the relationship between the growth location of the plants and the maintenance regimen of the plants. A certain number of image samples can be obtained for each classification of growing places, and the classification names of the growing places of plants in each image sample can be marked on these image samples, so as to create a training sample set. Use the training sample set to train the neural network until the output accuracy of the neural network meets the requirements.
一些养护方案对于盆栽植物和非盆栽植物进行区分,例如,转盆和换盆的任务仅针对盆栽植物。一些养护方案对于鲜切花和非鲜切花进行区分,例如,对于鲜切花的任务可以包括换水,而非鲜切花的任务可以包括浇水。因此,在一个示例中,植物的生长地的多个分类可以包括盆栽、非盆栽、以及鲜切花。例如,可以将影像中能看到花盆的或者生长在室内的标注为“盆栽”,将插在花瓶里的标注为“鲜切花”,将不是盆栽也不是鲜切花的标注为“非盆栽”,将无植物、假植物、标本、或无法辨认的影像标注为“其他”。Some maintenance programs differentiate between potted plants and non-potted plants, for example, the tasks of repotting and repotting are only for potted plants. Some care regimens differentiate between cut and non-cut flowers, for example, tasks for cut flowers may include changing water while tasks for non-cut flowers may include watering. Thus, in one example, multiple classifications of where plants grow may include potted, non-potted, and cut flowers. For example, you can label those that can be seen in flower pots or grow indoors as "potted plants", those that are placed in vases as "fresh-cut flowers", and those that are not potted or fresh-cut flowers as "non-potted plants" , label no plants, fake plants, specimens, or unidentifiable images as "Other".
养护方案可以与植物的生长周期有关。可以基于已训练的生长周期分类模型识别植物的生长周期。可以根据植物的生长周期与植物的养护方案之间的关系,来为植物的生长周期建立多个分类。可以为每个生长周期的分类获取一定数量的影像样本,并在这些影像样本上标注各个影像样本中的植物的生长周期的分类名称,从而创建训练样本集。利用训练样本集对神经网络进行训练,直至神经网络的输出准确率满足要求。The maintenance regimen can be related to the growth cycle of the plant. The growth cycle of the plant can be identified based on the trained growth cycle classification model. Multiple classifications can be established for growth cycles of plants based on the relationship between the growth cycle of the plant and the maintenance regimen of the plant. A certain number of image samples may be obtained for the classification of each growth cycle, and the classification name of the growth cycle of the plants in each image sample is marked on these image samples, so as to create a training sample set. Use the training sample set to train the neural network until the output accuracy of the neural network meets the requirements.
对于处于不同生长周期的植物其养护方案可能不同。例如,同一种植物在其不同生长周期需要的浇水频率和浇水量可能不同。例如,针对盆栽植物的转盆任务,可以仅针对生长周期为叶期、花期或果期的植物。在一个示例中,植物的生长周期的多个分类可以包括刚冒土苗、小苗、叶期、花期、果期、落叶期、以及休眠期。例如,可以将影像中只包括两片子叶的标注为“刚冒土苗”,将有多片叶子但没完全长大的影像标注为“小苗”,将开花之前的影像标注为“叶期”,将难以区分为其他生长周期的标注为“其他”。The maintenance program may be different for plants in different growth cycles. For example, the same plant may require different watering frequency and amount in different growth cycles. For example, the potting task for potted plants can only be for plants whose growth cycle is leaf stage, flowering stage or fruit stage. In one example, the multiple classifications of growth cycles of plants may include emerging seedlings, young seedlings, leaf stage, flowering stage, fruiting stage, leaf falling stage, and dormancy stage. For example, an image that only includes two cotyledons can be labeled as "emergent seedling", an image with multiple leaves but not fully grown can be labeled "small seedling", and an image before flowering can be labeled "leaf stage". , label those that are difficult to distinguish into other growth cycles as "Other".
养护方案可以与植物的部位有关。可以基于已训练的部位分类模型识别植物的部位。可以根据植物的部位与植物的养护方案之间的关系,来为植物的部位建立多个分类。可以为每个部位的分类获取一定数量的影像样本,并在这些影像样本上标注各个影像样本中的植物的部位的分类名称,从而创建训练样本集。利用训练样本集对神经网络进行训练,直至神经网络的输出准 确率满足要求。The maintenance regimen can be related to the part of the plant. Plant parts may be identified based on the trained part classification model. Multiple classifications can be established for plant parts based on the relationship between the plant part and the plant's care regimen. A certain number of image samples may be obtained for the classification of each part, and the classification names of the plant parts in each image sample are marked on these image samples, thereby creating a training sample set. Use the training sample set to train the neural network until the output accuracy of the neural network meets the requirements.
影像中的植物的部位可以影响对用户输出的养护方案。例如,如果发现植物的部位是叶片,并且有些泛黄,那么可以提醒用户多浇水。例如,如果叶片有斑点,则可能是某种病虫害,可以提醒用户防治相应的病虫害。在一个示例中,植物的部位的多个分类可以包括树干、芽、种子、花苞、果子、幼苗、叶、花、茎、以及根。此外,在其他的示例中,还可以建立相应的分类以包括影像中的植物主体太远导致难以分辨其细节特征、以及植物主体太近导致影像中的植物太局部没有完整的器官等。The location of the plants in the image can affect the maintenance regimen output to the user. For example, if it is found that the part of the plant is the leaves, and some are yellowing, then the user can be reminded to water more. For example, if there are spots on the leaves, it may be some kind of disease and insect pest, and the user can be reminded to prevent and control the corresponding disease and insect pest. In one example, multiple classifications of parts of plants may include trunks, buds, seeds, buds, fruits, seedlings, leaves, flowers, stems, and roots. In addition, in other examples, a corresponding classification can also be established to include that the plant body in the image is too far away to distinguish its detailed features, and the plant body in the image is too close so that the plant in the image is too partial without complete organs, etc.
在步骤120,方法100根据识别出的植物的分类,以及植物的生长地、生长周期和影像中的植物的部位中的至少两项,确定植物的养护方案。在步骤130,方法100输出植物的养护方案。At step 120 , the method 100 determines a plant maintenance plan according to the identified plant classification, and at least two of the plant's growth location, growth cycle, and plant parts in the image. At step 130, the method 100 outputs a maintenance regimen for the plant.
在一个示例中,可以预先建立如表1所示的养护方案查找表,并基于养护方案查找表来确定植物的养护方案。表1中的每个单元中的数值表示养护方案中养护任务应被执行的频率,即任务重复的间隔,单位为天数。例如,植物分类1在生长周期1、生长地1的情况下的养护方案为每28天执行一次相应的养护任务(例如,修剪)。单元中没有数值可以表示对应的植物分类在对应的生长周期不需要被执行该任务,数值为-1的单元可以表示对应的植物分类的该任务在对应的生长周期只需要执行一次。可以根据如表1所示的养护方案查找表来根据植物的分类和生长周期来确定养护任务应被执行的频率。In an example, a maintenance scheme lookup table as shown in Table 1 may be pre-established, and a plant maintenance scheme may be determined based on the maintenance scheme lookup table. The value in each cell in Table 1 indicates the frequency at which the maintenance task should be performed in the maintenance plan, that is, the interval at which the task is repeated, and the unit is the number of days. For example, the maintenance plan for plant classification 1 in the case of growth cycle 1 and growth location 1 is to perform a corresponding maintenance task (for example, pruning) every 28 days. No value in the unit can indicate that the corresponding plant classification does not need to perform the task in the corresponding growth cycle, and a unit with a value of -1 can indicate that the task of the corresponding plant classification only needs to be performed once in the corresponding growth cycle. The frequency at which the maintenance task should be performed can be determined according to the classification and growth cycle of the plant according to the maintenance scheme lookup table shown in Table 1.
表1养护方案查找表Table 1 Maintenance program lookup table
Figure PCTCN2022096706-appb-000001
Figure PCTCN2022096706-appb-000001
Figure PCTCN2022096706-appb-000002
Figure PCTCN2022096706-appb-000002
在一些实施例中,养护方案包括有关病虫害防治的养护方案,即病虫害防治的执行方案。在该实施例中,方法100需要根据影像识别植物的病虫害种类(本文也称“病虫害诊断信息”),从而推荐给用户个性化的有关病虫害防治的养护方案。可以利用已训练的病虫害诊断模型,来根据影像识别植物的病虫害诊断信息。诊断信息可以包括病虫害信息或未检测到病虫害信息。病虫害诊断模型可以是神经网络模型,具体可以是卷积神经网络模型或残差网络模型。In some embodiments, the maintenance program includes a maintenance program related to pest control, ie, an implementation program for pest control. In this embodiment, the method 100 needs to identify the types of plant diseases and insect pests (herein also referred to as "diagnostic information of diseases and insect pests") according to the image, so as to recommend to the user a personalized maintenance plan related to disease and insect pest control. The trained pest diagnosis model can be used to identify the diagnostic information of plant diseases and insect pests based on images. The diagnostic information may include pest information or no pest detection information. The pest diagnosis model can be a neural network model, specifically a convolutional neural network model or a residual network model.
在病虫害诊断模型的训练样本集中可以包括大量的影像,并且每幅影像都对应标注有诊断信息,该诊断信息例如可以是这幅影像中的植物所遭受的病虫害信息,或者是与健康的植物对应的未检测到病虫害信息。将影像输入病虫害诊断模型以产生输出的诊断信息,然后根据输出的诊断信息和标注的诊断信息之间的比较结果,可以对病虫害诊断模型中的相关参数进行调节,即对病虫害诊断模型进行训练,直至病虫害诊断模型的输出准确率满足要求时训练结束,从而得到已训练的病虫害诊断模型。A large number of images can be included in the training sample set of the disease and pest diagnosis model, and each image is correspondingly marked with diagnostic information, such as the information of the diseases and insect pests suffered by the plants in this image, or corresponding to healthy plants Information about undetected pests and diseases. The image is input into the pest diagnosis model to generate the output diagnostic information, and then according to the comparison result between the output diagnostic information and the labeled diagnostic information, the relevant parameters in the pest diagnosis model can be adjusted, that is, the pest diagnosis model is trained. The training ends when the output accuracy of the pest diagnosis model meets the requirements, so as to obtain the trained pest diagnosis model.
在识别出了病虫害诊断信息之后,可以根据识别出的植物的分类和病虫害诊断信息,并根据植物的生长地、生长周期和影像中的植物的部位中的至少两项,在已经建立的数据库中提取有关病虫害防治的养护方案,并输出该养护方案。在数据库中提取相关的养护方案时,可以根据植物的分类和病虫害诊断信息来进行检索,并根据植物的生长地、生长周期和影像中的植物的部位中的至少两项对检索出的养护方案进行适当的调整。当数据库中预先存储了大量的数据时,可以涵盖大多数植物的分类和病虫害诊断信息的养护方案,从而可以为用户提供相应的养护方案。After identifying the diagnostic information of plant diseases and insect pests, according to the classification of the identified plants and the diagnostic information of plant diseases and insect pests, and according to at least two of the plant's growth location, growth cycle and plant parts in the image, in the established database A maintenance scheme related to pest control is extracted, and the maintenance scheme is output. When extracting the relevant maintenance plan in the database, it can be retrieved according to the classification of the plant and the diagnosis information of diseases and insect pests, and the retrieved maintenance plan can be compared according to at least two of the plant's growth place, growth cycle and plant parts in the image Make appropriate adjustments. When a large amount of data is pre-stored in the database, it can cover the classification of most plants and the maintenance scheme of the diagnosis information of diseases and insect pests, so as to provide users with corresponding maintenance schemes.
在一些实施例中,可以根据识别出的影像中的植物的部位,来确定输出的分类层级。在一些情况下,如果影像中的植物的部位为树干、芽、种子、花苞、果子或幼苗,会比较难获得较为准确的物种信息(即分类层级为种的信息)。在这些情况下,如果直接输出识别到种的结果,很有可能是错误的,这样会给用户带来误导或者是引起其困惑。而此时如果识别到属(Genus)的信息一般是较为准确的。而如果影像中的植物的部位为叶、花、茎、根等特 征部位,则识别出的物种信息通常是可靠的。因此,响应于影像中的植物的部位为树干、芽、种子、花苞、果子、以及幼苗中的一种,确定输出的分类层级为属;以及响应于影像中的植物的部位为叶、花、茎、以及根中的一种,确定输出的分类层级为种。In some embodiments, the output classification level may be determined according to the recognized plant parts in the image. In some cases, if the parts of the plants in the image are trunks, buds, seeds, flower buds, fruits or seedlings, it will be more difficult to obtain more accurate species information (that is, information at the taxonomic level). In these cases, if the results of the identified species are directly output, it is likely to be wrong, which will mislead or confuse the user. At this time, if the Genus information is identified, it is generally more accurate. And if the plant parts in the image are characteristic parts such as leaves, flowers, stems, roots, etc., the identified species information is usually reliable. Therefore, in response to the part of the plant in the image being one of trunk, bud, seed, flower bud, fruit, and seedling, the classification level of the output is determined to be a genus; and in response to the part of the plant in the image being leaf, flower, One of stem and root, determine the output classification level as species.
植物识别模型提供的识别结果通常包括被识别植物的一个或多个分类。一个或多个分类按置信度(该分类接近真实分类的可信程度)由高到低排列。在一个实施例中,植物识别模型提供的识别结果所包括的一个或多个分类的分类层级为种。可以根据种与属的对应关系获知各个识别结果的分类层级为属的分类。在一个实施例中,植物识别模型提供的识别结果所包括的一个或多个分类的分类层级为种和属。The identification results provided by the plant identification model usually include one or more classifications of the identified plants. One or more classifications are ranked from high to low by confidence (how close the classification is to the true classification). In one embodiment, the classification level of one or more classifications included in the recognition result provided by the plant recognition model is species. According to the corresponding relationship between species and genus, it can be known that the classification level of each recognition result is the classification of genus. In one embodiment, the classification level of one or more classifications included in the recognition result provided by the plant recognition model is species and genus.
在一些实施例中,上述各种识别均根据影像中的主体来进行。影像中的主体可以指在影像中占据范围最大的实体,也可以指基本位于影像中部的实体,还可以指不位于影像的边角处的实体。在一些实施例中,响应于影像中的主体不明确(无法分辨主体,例如大片树木的远景)、主体为非植物(能分辨主体,但主体不是植物)、以及主体为整株植物的远景图(能分辨主体,但主体较远以无法辨认细节,例如叶片的形状等),不进行识别,即不执行上述方法100的步骤110,并输出要用户重新输入影像的提示信息。如此可以避免进行无效的识别。判断影像是否主体不明确、主体为非植物、或者主体为整株植物的远景图,可以通过已训练的神经网络模型来进行。可以为主体不明确、主体为非植物、以及主体为整株植物的远景图这些分类中的每种分类准备一定数量的标注有该分类的影像样本,利用这些影像样本对神经网络进行训练,直至神经网络的输出准确率满足要求。In some embodiments, the various identifications mentioned above are all performed according to the subject in the image. The subject in the image may refer to the entity occupying the largest area in the image, or the entity located substantially in the middle of the image, or the entity not located at the corner of the image. In some embodiments, in response to the subject in the image being unclear (the subject cannot be distinguished, such as a distant view of a large tree), the subject is a non-plant (the subject can be distinguished, but the subject is not a plant), and the subject is a distant view of a whole plant (The subject can be distinguished, but the subject is too far away to recognize details, such as the shape of the blade, etc.), no recognition is performed, that is, step 110 of the above-mentioned method 100 is not executed, and a prompt message asking the user to re-input the image is output. In this way, invalid identifications can be avoided. Judging whether the subject of the image is unclear, the subject is a non-plant, or the subject is a distant view of a whole plant can be performed through a trained neural network model. A certain number of image samples marked with the classification can be prepared for each of the classifications of the classifications such as the subject is not clear, the subject is non-plant, and the subject is the whole plant, and these image samples are used to train the neural network until The output accuracy of the neural network meets the requirements.
在一些实施例中,可以基于已训练的质量分类模型识别影像的影像质量。响应于影像质量为清楚,则进行识别,即执行上述方法100的步骤110。响应于影像质量为不清楚,则不进行识别,即不执行上述方法100的步骤110,并输出提示用户重新输入影像的信息。其中可以为影像质量为不清楚的分类进行更细致的划分,例如划分为因光线导致的不清楚、因焦距导致的不清楚等,从而可以对用户输出更具体的提示信息,例如提示用户补光后重新拍摄等。质量分类模型可以基于影像样本集来训练。影像样本集中包括为每个分类准 备的一定数量的标注有该分类的影像样本,利用这些影像样本对神经网络进行训练,直至神经网络的输出准确率满足要求,从而得到已训练的质量分类模型。In some embodiments, the image quality of the imagery may be identified based on a trained quality classification model. In response to the image quality being clear, identification is performed, that is, step 110 of the above-mentioned method 100 is executed. If the image quality is not clear, no recognition is performed, that is, step 110 of the above method 100 is not executed, and a message prompting the user to re-input the image is output. Among them, the classification of unclear image quality can be classified in more detail, such as unclear caused by light, unclear caused by focal length, etc., so that more specific prompt information can be output to the user, such as prompting the user to fill in light and then reshoot etc. Quality classification models can be trained based on image sample sets. The image sample set includes a certain number of image samples marked with the classification prepared for each classification. These image samples are used to train the neural network until the output accuracy of the neural network meets the requirements, so as to obtain the trained quality classification model.
图2是示意性地示出根据本公开的另一个实施例的用于植物识别的方法200的至少一部分的流程图。方法200包括:接收影像,其中影像包括植物的至少一个部位(步骤210);根据影像,识别影像中的植物的部位、以及植物的分类(步骤220);根据识别出的影像中的植物的部位,确定输出的分类层级(步骤230);以及根据确定的分类层级输出植物的相应分类层级的分类(步骤240)。Fig. 2 is a flowchart schematically illustrating at least a part of a method 200 for plant identification according to another embodiment of the present disclosure. The method 200 includes: receiving an image, wherein the image includes at least one part of a plant (step 210); identifying the part of the plant in the image and the classification of the plant according to the image (step 220); , determine the classification level of the output (step 230); and output the classification of the corresponding classification level of the plant according to the determined classification level (step 240).
在步骤210中,能够实施方法200的应用程序可以接收来自用户的包括待识别植物的至少一个部位的影像。需要说明的是,本文所说影像包括植物的至少一个部位,指的是包括植物的一个或多个部位,其中每个部位可以是这个部位的整体或局部。该影像可以是用户先前存储的、实时拍摄的、或者从网络上下载的。影像可以包括任何形式的视觉呈现,例如静态图像、动态图像、以及视频等。影像可以利用包括摄像头的设备进行拍摄,如手机、平板电脑等。In step 210, the application capable of implementing the method 200 may receive an image from a user including at least one part of the plant to be identified. It should be noted that, the image mentioned herein includes at least one part of the plant, which means including one or more parts of the plant, wherein each part may be the whole or part of the part. The image can be previously stored by the user, captured in real time, or downloaded from the Internet. Imagery may include any form of visual representation, such as still images, moving images, and video. Images can be taken with devices including cameras, such as mobile phones, tablet computers, and the like.
在步骤220中,方法200根据影像,识别影像中的植物的部位以及植物的分类。可以使用上文所述的已训练的植物识别模型来识别影像中的植物的分类,以及使用上文所述的已训练的部位分类模型来识别影像中的植物的部位。In step 220 , the method 200 identifies plant parts and plant classifications in the image according to the image. The trained plant recognition model described above can be used to identify the classification of the plant in the image, and the trained part classification model described above can be used to identify the part of the plant in the image.
在步骤230中,方法200根据识别出的影像中的植物的部位,确定输出的分类层级。在一些情况下,如果影像中的植物的部位为树干、芽、种子、花苞、果子或幼苗,会比较难获得较为准确的物种信息(即分类层级为种的信息)。在这些情况下,如果直接输出识别到种的结果,很有可能是错误的,这样会给用户带来误导或者是引起其困惑。而此时如果识别到属的信息一般是较为准确的。而如果影像中的植物的部位为叶、花、茎、根等特征部位,则识别出的物种信息通常是可靠的。因此,响应于影像中的植物的部位为树干、芽、种子、花苞、果子、以及幼苗中的一种,确定输出的分类层级为属;以及响应于影像中的植物的部位为叶、花、茎、以及根中的一种,确定输出 的分类层级为种。In step 230 , the method 200 determines an output classification level according to the recognized plant parts in the image. In some cases, if the parts of the plants in the image are trunks, buds, seeds, flower buds, fruits or seedlings, it will be more difficult to obtain more accurate species information (that is, information at the taxonomic level). In these cases, if the results of the identified species are directly output, it is likely to be wrong, which will mislead or confuse the user. At this time, if the identified information is generally more accurate. However, if the plant parts in the image are characteristic parts such as leaves, flowers, stems, roots, etc., the identified species information is usually reliable. Therefore, in response to the part of the plant in the image being one of trunk, bud, seed, flower bud, fruit, and seedling, the classification level of the output is determined to be a genus; and in response to the part of the plant in the image being leaf, flower, One of stem and root, determine the output classification level as species.
植物识别模型提供的识别结果通常包括被识别植物的一个或多个分类。一个或多个分类按置信度(该分类接近真实分类的可信程度)由高到低排列。在一个实施例中,植物识别模型提供的识别结果所包括的一个或多个分类的分类层级为种。可以根据种与属的对应关系获知各个识别结果的分类层级为属的分类。在一个实施例中,植物识别模型提供的识别结果所包括的一个或多个分类的分类层级为种和属。The identification results provided by the plant identification model usually include one or more classifications of the identified plants. One or more classifications are ranked from high to low by confidence (how close the classification is to the true classification). In one embodiment, the classification level of one or more classifications included in the recognition result provided by the plant recognition model is species. According to the corresponding relationship between species and genus, it can be known that the classification level of each recognition result is the classification of genus. In one embodiment, the classification level of one or more classifications included in the recognition result provided by the plant recognition model is species and genus.
在一些实施例中,上述识别均根据影像中的主体来进行。影像中的主体可以指在影像中占据范围最大的实体,也可以指基本位于影像中部的实体,还可以指不位于影像的边角处的实体。在一些实施例中,响应于影像中的主体不明确(无法分辨主体,例如大片树木的远景)、主体为非植物(能分辨主体,但主体不是植物)、以及主体为整株植物的远景图(能分辨主体,但主体较远以无法辨认细节,例如叶片的形状等),不进行识别,即不执行上述方法200的步骤220,并输出提示用户重新输入影像的信息。如此可以避免进行无效的识别。判断影像是否主体不明确、主体为非植物、或者主体为整株植物的远景图,也可以通过已训练的神经网络模型来进行。可以为主体不明确、主体为非植物、以及主体为整株植物的远景图这些分类中的每种分类准备一定数量的标注有该分类的影像样本,利用这些影像样本对神经网络进行训练,直至神经网络的输出准确率满足要求。In some embodiments, the above identifications are all performed according to the subject in the image. The subject in the image may refer to the entity occupying the largest area in the image, or the entity located substantially in the middle of the image, or the entity not located at the corner of the image. In some embodiments, in response to the subject in the image being unclear (the subject cannot be distinguished, such as a distant view of a large tree), the subject is a non-plant (the subject can be distinguished, but the subject is not a plant), and the subject is a distant view of a whole plant (The subject can be distinguished, but the subject is too far away to recognize details, such as the shape of the blade, etc.), no recognition is performed, that is, step 220 of the above method 200 is not executed, and information prompting the user to re-input the image is output. In this way, invalid identifications can be avoided. Judging whether the subject of the image is unclear, the subject is a non-plant, or the subject is a distant view of a whole plant can also be performed through a trained neural network model. A certain number of image samples marked with the classification can be prepared for each of the classifications of the classifications such as the subject is not clear, the subject is non-plant, and the subject is the whole plant, and these image samples are used to train the neural network until The output accuracy of the neural network meets the requirements.
在一些实施例中,可以基于已训练的质量分类模型识别影像的影像质量。响应于影像质量为清楚,则进行识别,即执行上述方法200的步骤220。响应于影像质量为不清楚,则不进行识别,即不执行上述方法200的步骤220,并输出提示用户重新输入影像的信息。其中可以为影像质量为不清楚的分类进行更细致的划分,例如划分为因光线导致的不清楚、因焦距导致的不清楚等,从而可以对用户输出更具体的提示信息,例如提示用户补光后重新拍摄等。质量分类模型可以基于影像样本集来训练。影像样本集中包括为每个分类准备的一定数量的标注有该分类的影像样本,利用这些影像样本对神经网络进行训练,直至神经网络的输出准确率满足要求,从而得到已训练的质量分类模型。In some embodiments, the image quality of the imagery may be identified based on a trained quality classification model. In response to the image quality being clear, identification is performed, that is, step 220 of the above-mentioned method 200 is performed. If the image quality is not clear, no recognition is performed, that is, step 220 of the above method 200 is not executed, and a message prompting the user to re-input the image is output. Among them, the classification of unclear image quality can be classified in more detail, such as unclear caused by light, unclear caused by focal length, etc., so that more specific prompt information can be output to the user, such as prompting the user to fill in light and then reshoot etc. Quality classification models can be trained based on image sample sets. The image sample set includes a certain number of image samples marked with the classification prepared for each classification. These image samples are used to train the neural network until the output accuracy of the neural network meets the requirements, so as to obtain the trained quality classification model.
在一些实施例中,用户的需求可能不只是植物的养护方案或植物的分类,此时根据本发明实施例的方法100和200难以满足需求。图5是示意性地示出根据本公开的又一个实施例的用于植物识别的方法500的至少一部分的流程图。方法500包括:接收影像,其中影像包括植物的至少一个部位(步骤510);根据影像,基于已训练的神经网络模型识别影像中的植物的部位、生长地和生长周期中的至少一项以及影像中的植物的分类(步骤520);以及根据用户的操作请求,对识别出的植物的分类和上述至少一项进行所请求的操作(步骤530)。In some embodiments, the user's needs may not only be plant maintenance schemes or plant classifications, and at this time the methods 100 and 200 according to the embodiments of the present invention are difficult to meet the needs. Fig. 5 is a flowchart schematically illustrating at least a part of a method 500 for plant identification according to yet another embodiment of the present disclosure. The method 500 includes: receiving an image, wherein the image includes at least one part of a plant (step 510); according to the image, identifying at least one of the part of the plant in the image, the place of growth and the growth cycle, and the image based on a trained neural network model. Classification of the plants in (step 520); and according to the user's operation request, perform the requested operation on the classification of the identified plants and at least one of the above items (step 530).
在步骤510中,能够实施方法500的应用程序可以接收来自用户的包括待识别植物的至少一个部位的影像。需要说明的是,本文所说影像包括植物的至少一个部位,指的是包括植物的一个或多个部位,其中每个部位可以是这个部位的整体或局部。该影像可以是用户先前存储的、实时拍摄的、或者从网络上下载的。影像可以包括任何形式的视觉呈现,例如静态图像、动态图像、以及视频等。影像可以利用包括摄像头的设备进行拍摄,如手机、平板电脑等。In step 510 , an application capable of implementing method 500 may receive an image from a user including at least one part of a plant to be identified. It should be noted that, the image mentioned herein includes at least one part of the plant, which means including one or more parts of the plant, wherein each part may be the whole or part of the part. The image can be previously stored by the user, captured in real time, or downloaded from the Internet. Imagery may include any form of visual representation, such as still images, moving images, and video. Images can be taken with devices including cameras, such as mobile phones, tablet computers, and the like.
在步骤520中,方法500根据影像、基于已训练的神经网络模型识别影像中的植物的部位、生长地和生长周期中的至少一项以及影像中的植物的分类。例如,可以使用上文所述的已训练的植物识别模型来识别影像中的植物的分类,使用上文所述的已训练的部位分类模型、生长地分类模型和生长周期分类模型来分别识别影像中的植物的部位、生长地和生长周期。In step 520 , the method 500 recognizes at least one of plant parts, growth locations and growth cycles in the images, and classification of the plants in the images based on the images and the trained neural network model. For example, the trained plant recognition model described above can be used to identify the classification of plants in the image, and the trained part classification model, growth place classification model and growth cycle classification model described above can be used to separately identify the classification of plants in the image. The parts, growth places and growth cycles of the plants.
在步骤530中,方法500根据用户的操作请求,对识别出的植物的部位、生长地和生长周期中的至少一项和植物的分类进行所请求的操作。在一个实施例中,用户的操作请求为针对识别出的信息的请求,例如,请求输出识别出的信息,则能够实施方法500的应用程序可以输出(例如通过应用程序的界面)识别出的植物的部位、生长地和生长周期中的至少一项和植物的分类的信息。In step 530, the method 500 performs the requested operation on at least one of the identified plant parts, growth locations, and growth cycles and plant classifications according to the user's operation request. In one embodiment, the user's operation request is a request for the identified information, for example, requesting to output the identified information, then the application program capable of implementing the method 500 may output (eg, through the interface of the application program) the identified plant information. At least one of the plant's part, growth place and growth cycle, and information on the classification of the plant.
在一个实施例中,用户的操作请求为针对植物的养护方案的请求,则能够实施方法500的应用程序可以调用应用程序的养护方案确定模块,根据识别出的植物的部位、生长地和生长周期中的至少一项和植物的分类,来确定 植物的养护方案,并将所确定的植物养护方案输出(例如通过应用程序的界面)给用户。养护方案确定模块可以如在方法100中所描述的预先建立如表1所示的养护方案查找表,并基于养护方案查找表来确定植物的养护方案。在一个实施例中,用户的针对植物的养护方案的请求可以为针对病虫害防治方案的请求。能够实施方法500的应用程序可以利用已训练的病虫害诊断模型,来根据影像识别植物的病虫害种类(本文也称“病虫害诊断信息”),并可以根据识别出的植物的分类和病虫害诊断信息,并根据植物的生长地、生长周期和影像中的植物的部位中的至少一项,在已经建立的数据库中提取有关病虫害防治的养护方案,从而推荐给用户个性化的有关病虫害防治的养护方案。In one embodiment, the user's operation request is a request for a maintenance scheme for plants, and the application program capable of implementing method 500 can call the maintenance scheme determination module of the application program, and according to the identified plant location, growth place and growth cycle at least one of them and the classification of the plants to determine the plant maintenance scheme, and output the determined plant maintenance scheme to the user (for example, through the interface of the application program). The maintenance program determination module can pre-establish the maintenance program lookup table shown in Table 1 as described in the method 100, and determine the plant maintenance program based on the maintenance program lookup table. In one embodiment, the user's request for a plant maintenance plan may be a request for a disease and pest control plan. The application program capable of implementing the method 500 can use the trained pest diagnosis model to identify the types of plant diseases and insect pests according to the image (also referred to as "diagnostic information of diseases and insect pests"), and can use the identified plant classification and pest diagnosis information, and According to at least one of the plant's growth location, growth cycle, and plant parts in the image, the maintenance plan related to pest control is extracted from the established database, thereby recommending a personalized maintenance plan related to pest control to the user.
图6是示意性地示出根据本公开的又一个实施例的用于植物识别的方法600的至少一部分的流程图。方法600包括:接收影像,其中影像包括植物的至少一个部位(步骤610);根据影像,基于已训练的神经网络模型识别影像中的植物的分类、影像中的植物的部位、影像中的植物的生长地、影像中的植物的生长周期、以及影像的影像质量(步骤620);以及根据用户的操作请求,选取识别出的一项或多项内容进行所请求的操作(步骤630)。与方法500不同,方法600将接收的影像中的植物的分类、部位、生长地、生长周期和影像质量等信息均识别出来,然后根据需要(需要根据用户的操作请求来确定)从中选取一项或多项内容在后续步骤中使用。在一个实施例中,将在步骤620中识别出的各项内容与对应的影像相关联地保存,例如可以作为该影像的各个标签进行保存,以备后续使用。如此,在后续接收到用户的请求之后,可以不用重新对影像进行识别以得到需要的信息,而是直接从图片的标签信息中提取所需的信息即可。Fig. 6 is a flowchart schematically illustrating at least part of a method 600 for plant identification according to yet another embodiment of the present disclosure. The method 600 includes: receiving an image, wherein the image includes at least one part of a plant (step 610); according to the image, based on the trained neural network model, identifying the classification of the plant in the image, the part of the plant in the image, and the location of the plant in the image. The growing place, the growth cycle of the plants in the image, and the image quality of the image (step 620); and according to the user's operation request, select one or more identified contents to perform the requested operation (step 630). Different from method 500, method 600 identifies the classification, location, growth place, growth cycle and image quality of the plants in the received images, and then selects one of them according to needs (need to be determined according to the user's operation request) or multiple items to be used in subsequent steps. In one embodiment, each item of content identified in step 620 is stored in association with the corresponding image, for example, may be stored as each tag of the image for subsequent use. In this way, after the user's request is subsequently received, it is not necessary to re-identify the image to obtain the required information, but to directly extract the required information from the tag information of the picture.
在步骤610中,能够实施方法600的应用程序可以接收来自用户的包括待识别植物的至少一个部位的影像。需要说明的是,本文所说影像包括植物的至少一个部位,指的是包括植物的一个或多个部位,其中每个部位可以是这个部位的整体或局部。该影像可以是用户先前存储的、实时拍摄的、或者从网络上下载的。影像可以包括任何形式的视觉呈现,例如静态图像、动态图像、以及视频等。影像可以利用包括摄像头的设备进行拍摄,如手机、平板电脑等。In step 610, an application capable of implementing method 600 may receive an image from a user including at least one part of a plant to be identified. It should be noted that, the image mentioned herein includes at least one part of the plant, which means including one or more parts of the plant, wherein each part may be the whole or part of the part. The image can be previously stored by the user, captured in real time, or downloaded from the Internet. Imagery may include any form of visual representation, such as still images, moving images, and video. Images can be taken with devices including cameras, such as mobile phones, tablet computers, and the like.
在步骤620中,方法600可以根据影像,基于已训练的神经网络模型识别影像中的植物的分类、部位、生长地、生长周期、以及影像质量等信息。例如,可以使用上文所述的已训练的植物识别模型来识别影像中的植物的分类,使用上文所述的已训练的部位分类模型、生长地分类模型、生长周期分类模型和质量分类模型来分别识别影像中的植物的部位、生长地、生长周期和影像质量。如上所述,在该识别步骤中,方法600将接收的影像中的植物的分类、部位、生长地、生长周期和影像质量等信息均识别出来,以供后续步骤选择性地使用。In step 620 , the method 600 can identify information such as classification, location, growth place, growth cycle, and image quality of plants in the image based on the trained neural network model based on the image. For example, the trained plant recognition models described above can be used to identify the classification of plants in imagery, using the trained parts classification models, growth location classification models, growth cycle classification models, and quality classification models described above To identify the part, growth place, growth cycle and image quality of the plants in the image respectively. As mentioned above, in the identification step, the method 600 identifies information such as classification, location, growth place, growth cycle, and image quality of the plants in the received images for selective use in subsequent steps.
在步骤630中,方法600可以根据用户的操作请求,选取在步骤620中识别出的全部内容中的一项或多项内容进行所请求的操作。在一个实施例中,用户的操作请求为针对识别出的信息的请求,例如,请求输出识别出的一项或多项内容的信息。则能够实施方法600的应用程序可以根据用户的请求在步骤620中识别出的全部内容中选取一项或多项内容,并输出(例如通过应用程序的界面)所选取的一项或多项内容的信息。In step 630, the method 600 may select one or more contents among all the contents identified in step 620 to perform the requested operation according to the user's operation request. In one embodiment, the user's operation request is a request for identified information, for example, a request to output information about one or more items of identified content. Then the application program capable of implementing method 600 may select one or more contents from all the contents identified in step 620 according to the user's request, and output (for example, through the interface of the application program) the selected one or more contents Information.
在一个实施例中,用户的操作请求为针对植物的养护方案的请求。则能够实施方法600的应用程序可以选取在步骤620中识别出的影像中的植物的部位、生长地和生长周期中的至少一项以及影像中的植物的分类,并调用应用程序的养护方案确定模块来确定植物的养护方案,并将所确定的植物养护方案输出(例如通过应用程序的界面)给用户。养护方案确定模块可以如在方法100中所描述的预先建立如表1所示的养护方案查找表,并基于养护方案查找表来确定植物的养护方案。在一个实施例中,用户的针对植物的养护方案的请求可以为针对病虫害防治方案的请求。能够实施方法600的应用程序可以利用已训练的病虫害诊断模型,来根据影像识别植物的病虫害种类(本文也称“病虫害诊断信息”),并可以根据识别出的植物的分类和病虫害诊断信息,并根据植物的生长地、生长周期和部位中的至少一项,在已经建立的数据库中提取有关病虫害防治的养护方案,从而推荐给用户个性化的有关病虫害防治的养护方案。In one embodiment, the user's operation request is a request for a plant maintenance plan. Then the application program capable of implementing the method 600 can select at least one of the part, growth location, and growth cycle of the plant in the image identified in step 620, as well as the classification of the plant in the image, and call the maintenance program of the application program to determine The module is used to determine the maintenance program of the plant, and output the determined plant maintenance program to the user (for example, through the interface of the application program). The maintenance program determination module can pre-establish the maintenance program lookup table shown in Table 1 as described in the method 100, and determine the plant maintenance program based on the maintenance program lookup table. In one embodiment, the user's request for a plant maintenance plan may be a request for a disease and pest control plan. The application program capable of implementing the method 600 can use the trained pest diagnosis model to identify the types of plant diseases and insect pests according to the image (also referred to as "diagnostic information of diseases and insect pests"), and can use the identified plant classification and pest diagnosis information, and According to at least one of the growth location, growth cycle and part of the plant, the maintenance plan related to pest control is extracted from the established database, so as to recommend a personalized maintenance plan related to pest control to the user.
图3是示意性地示出根据本公开的实施例的用于植物识别的计算机系统300的至少一部分的结构图。本领域技术人员可以理解,系统300只是一个示 例,不应将其视为限制本公开的范围或本文所描述的特征。在该示例中,系统300可以包括一个或多个存储装置310、一个或多个用户设备320、以及一个或多个计算装置(计算机系统)330,其可以通过网络或总线340互相通信连接。一个或多个存储装置310为一个或多个用户设备320、以及一个或多个计算装置330提供存储服务。虽然一个或多个存储装置310在系统300中以独立于一个或多个用户设备320、以及一个或多个计算装置330之外的单独的框示出,应当理解,一个或多个存储装置310可以实际存储在系统300所包括的其他实体320、330中的任何一个上。一个或多个用户设备320以及一个或多个计算装置330中的每一个可以位于网络或总线340的不同节点处,并且能够直接地或间接地与网络或总线340的其他节点通信。本领域技术人员可以理解,系统300还可以包括图3未示出的其他装置,其中每个不同的装置均位于网络或总线340的不同节点处。FIG. 3 is a structural diagram schematically showing at least a part of a computer system 300 for plant identification according to an embodiment of the present disclosure. Those skilled in the art will appreciate that system 300 is merely an example and should not be considered as limiting the scope of the disclosure or the features described herein. In this example, system 300 may include one or more storage devices 310 , one or more user devices 320 , and one or more computing devices (computer systems) 330 , which may be communicatively connected to each other via a network or bus 340 . One or more storage devices 310 provide storage services for one or more user devices 320 , and one or more computing devices 330 . Although one or more storage devices 310 are shown in system 300 as a separate block from one or more user devices 320 and one or more computing devices 330, it should be understood that one or more storage devices 310 May actually be stored on any of the other entities 320, 330 included in the system 300. Each of the one or more user devices 320 and the one or more computing devices 330 may be located at different nodes of the network or bus 340 and be capable of communicating directly or indirectly with other nodes of the network or bus 340 . Those skilled in the art can understand that the system 300 may also include other devices not shown in FIG. 3 , where each different device is located at a different node of the network or bus 340 .
一个或多个存储装置310可以被配置为存储上文所述的任何数据,包括但不限于:从用户输入的影像、各影像样本、各神经网络模型、识别结果、应用程序的文件等数据。一个或多个计算装置330可以被配置为执行上述根据实施例的方法中的一个或多个,和/或一个或多个根据实施例的方法中的一个或多个步骤。一个或多个用户设备320可以被配置为为用户提供服务,例如,从用户接收影像,输出植物的养护方案,输出植物的分类,以及输出提示用户重新输入影像的信息等。一个或多个用户设备320还可以被配置为执行上述根据实施例的方法中的一个或多个,和/或一个或多个根据实施例的方法中的一个或多个步骤。One or more storage devices 310 may be configured to store any data mentioned above, including but not limited to: images input from users, image samples, neural network models, recognition results, application files and other data. One or more computing devices 330 may be configured to perform one or more of the above-mentioned methods according to the embodiments, and/or one or more steps in the one or more methods according to the embodiments. One or more user devices 320 may be configured to provide services to the user, for example, receiving images from the user, outputting maintenance plans for plants, outputting plant classifications, and outputting information prompting users to re-input images, and the like. One or more user equipments 320 may also be configured to execute one or more of the above methods according to the embodiments, and/or one or more steps in the one or more methods according to the embodiments.
网络或总线340可以是任何有线或无线的网络,也可以包括线缆。网络或总线340可以是互联网、万维网、特定内联网、广域网或局域网的一部分。网络或总线340可以利用诸如以太网、WiFi和HTTP等标准通信协议、对于一个或多个公司来说是专有的协议、以及前述协议的各种组合。网络或总线340还可以包括但不限于工业标准体系结构(ISA)总线、微通道架构(MCA)总线、增强型ISA(EISA)总线、视频电子标准协会(VESA)本地总线、和外围部件互连(PCI)总线。Network or bus 340 may be any wired or wireless network, and may include cables. Network or bus 340 may be part of the Internet, the World Wide Web, a specific intranet, a wide area network or a local area network. Network or bus 340 may utilize standard communication protocols such as Ethernet, WiFi, and HTTP, protocols proprietary to one or more companies, and various combinations of the foregoing. The network or bus 340 may also include, but is not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an Enhanced ISA (EISA) bus, a Video Electronics Standards Association (VESA) local bus, and a peripheral component interconnect (PCI) bus.
一个或多个用户设备320和一个或多个计算装置330中的每一个可以被 配置为与图4所示的系统400类似,即具有一个或多个处理器410、一个或多个存储器420、以及指令421和数据422。一个或多个用户设备320和一个或多个计算装置330中的每一个可以是意在由用户使用的个人计算装置或者由企业使用的商业计算机装置,并且具有通常与个人计算装置或商业计算机装置结合使用的所有组件,诸如中央处理单元(CPU)、存储数据和指令的存储器(例如,RAM和内部硬盘驱动器)、诸如显示器(例如,具有屏幕的监视器、触摸屏、投影仪、电视或可操作来显示信息的其他装置)、鼠标、键盘、触摸屏、麦克风、扬声器、和/或网络接口装置等的一个或多个I/O设备。Each of the one or more user equipment 320 and the one or more computing devices 330 may be configured similarly to the system 400 shown in FIG. And instruction 421 and data 422. Each of the one or more user devices 320 and the one or more computing devices 330 may be a personal computing device intended for use by a user or a business computing device for use by an All components used in conjunction, such as the central processing unit (CPU), memory for storing data and instructions (e.g., RAM and internal hard drives), such as displays (e.g., monitors with screens, touch screens, projectors, televisions, or operable other devices to display information), mouse, keyboard, touch screen, microphone, speakers, and/or one or more I/O devices such as network interface devices.
一个或多个用户设备320还可以包括用于捕获静态图像或记录视频流的一个或多个相机、以及用于将这些元件彼此连接的所有组件。虽然一个或多个用户设备320可以各自包括全尺寸的个人计算装置,但是它们可能可选地包括能够通过诸如互联网等网络与服务器无线地交换数据的移动计算装置。举例来说,一个或多个用户设备320可以是移动电话,或者是诸如带无线支持的PDA、平板PC或能够经由互联网获得信息的上网本等装置。在另一个示例中,一个或多个用户设备320可以是可穿戴式计算系统。One or more user devices 320 may also include one or more cameras for capturing still images or recording video streams, and all components for connecting these elements to each other. While one or more user devices 320 may each comprise a full-sized personal computing device, they may alternatively comprise a mobile computing device capable of wirelessly exchanging data with a server over a network, such as the Internet. One or more user devices 320 may be, for example, a mobile phone, or a device such as a PDA with wireless support, a tablet PC, or a netbook capable of obtaining information via the Internet. In another example, one or more user devices 320 may be a wearable computing system.
图4是示意性地示出根据本公开的一个实施例的用于植物识别的计算机系统400的至少一部分的结构图。系统400包括一个或多个处理器410、一个或多个存储器420、以及通常存在于计算机等装置中的其他组件(未示出)。一个或多个存储器420中的每一个可以存储可由一个或多个处理器410访问的内容,包括可以由一个或多个处理器410执行的指令421、以及可以由一个或多个处理器410来检索、操纵或存储的数据422。FIG. 4 is a structural diagram schematically showing at least a part of a computer system 400 for plant identification according to an embodiment of the present disclosure. System 400 includes one or more processors 410, one or more memories 420, and other components (not shown) typically found in a computer or the like. Each of the one or more memories 420 can store content that can be accessed by the one or more processors 410, including instructions 421 that can be executed by the one or more processors 410, and that can be executed by the one or more processors 410. Data 422 retrieved, manipulated or stored.
指令421可以是将由一个或多个处理器410直接地执行的任何指令集,诸如机器代码,或者间接地执行的任何指令集,诸如脚本。本文中的术语“指令”、“应用”、“过程”、“步骤”和“程序”在本文中可以互换使用。指令421可以存储为目标代码格式以便由一个或多个处理器410直接处理,或者存储为任何其他计算机语言,包括按需解释或提前编译的独立源代码模块的脚本或集合。指令421可以包括引起诸如一个或多个处理器410来充当本文中的各神经网络的指令。本文其他部分更加详细地解释了指令421的功能、方法和例程。 Instructions 421 may be any set of instructions to be executed directly by one or more processors 410, such as machine code, or indirectly, such as a script. The terms "instruction", "application", "process", "step" and "program" are used interchangeably herein. Instructions 421 may be stored in object code format for direct processing by one or more processors 410, or in any other computer language, including scripts or collections of stand-alone source code modules interpreted on demand or compiled ahead of time. Instructions 421 may include instructions that cause, for example, one or more processors 410 to function as various neural networks herein. The function, method and routine of instruction 421 are explained in more detail elsewhere herein.
一个或多个存储器420可以是能够存储可由一个或多个处理器410访问的内容的任何临时性或非临时性计算机可读存储介质,诸如硬盘驱动器、存储卡、ROM、RAM、DVD、CD、USB存储器、能写存储器和只读存储器等。一个或多个存储器420中的一个或多个可以包括分布式存储系统,其中指令421和/或数据422可以存储在可以物理地位于相同或不同的地理位置处的多个不同的存储装置上。一个或多个存储器420中的一个或多个可以经由网络连接至一个或多个第一装置410,和/或可以直接地连接至或并入一个或多个处理器410中的任何一个中。The one or more memories 420 may be any temporary or non-transitory computer-readable storage media capable of storing content accessible by the one or more processors 410, such as hard drives, memory cards, ROM, RAM, DVDs, CDs, USB memory, writable memory and read-only memory, etc. One or more of the one or more memories 420 may comprise a distributed storage system where instructions 421 and/or data 422 may be stored on multiple different storage devices which may be physically located at the same or different geographic locations. One or more of the one or more memories 420 may be connected to the one or more first devices 410 via a network, and/or may be directly connected to or incorporated in any of the one or more processors 410 .
一个或多个处理器410可以根据指令421来检索、存储或修改数据422。存储在一个或多个存储器420中的数据422可以包括上文所述的一个或多个存储装置310中存储的各项中一项或多项的至少部分。举例来说,虽然本文所描述的主题不受任何特定数据结构限制,但是数据422还可能存储在计算机寄存器(未示出)中,作为具有许多不同的字段和记录的表格或XML文档存储在关系型数据库中。数据422可以被格式化为任何计算装置可读格式,诸如但不限于二进制值、ASCII或统一代码。此外,数据422可以包括足以识别相关信息的任何信息,诸如编号、描述性文本、专有代码、指针、对存储在诸如其他网络位置处等其他存储器中的数据的引用或者被函数用于计算相关数据的信息。One or more processors 410 may retrieve, store or modify data 422 according to instructions 421 . The data 422 stored in the one or more memories 420 may include at least a portion of one or more of the items stored in the one or more storage devices 310 described above. For example, while the subject matter described herein is not limited to any particular data structure, data 422 could also be stored in computer registers (not shown), as tables or XML documents with many different fields and records stored in relational type database. Data 422 may be formatted in any computing device readable format, such as, but not limited to, binary values, ASCII, or Unicode. Additionally, data 422 may include any information sufficient to identify the relevant information, such as numbers, descriptive text, proprietary code, pointers, references to data stored in other storage, such as at other network locations, or used by functions to compute relevant information. data information.
一个或多个处理器410可以是任何常规处理器,诸如市场上可购得的中央处理单元(CPU)、图形处理单元(GPU)等。可替换地,一个或多个处理器410还可以是专用组件,诸如专用集成电路(ASIC)或其他基于硬件的处理器。虽然不是必需的,但是一个或多个处理器410可以包括专门的硬件组件来更快或更有效地执行特定的计算过程,诸如对影像进行图像处理等。The one or more processors 410 may be any conventional processor, such as a commercially available central processing unit (CPU), graphics processing unit (GPU), or the like. Alternatively, one or more processors 410 may also be a dedicated component, such as an application specific integrated circuit (ASIC) or other hardware-based processor. Although not required, one or more processors 410 may include specialized hardware components to more quickly or efficiently perform certain computational processes, such as image processing of imagery and the like.
虽然图4中示意性地将一个或多个处理器410以及一个或多个存储器420示出在同一个框内,但是系统400可以实际上包括可能存在于同一个物理壳体内或不同的多个物理壳体内的多个处理器或存储器。例如,一个或多个存储器420中的一个可以是位于与上文所述的一个或多个计算装置(未示出)中的每一个的壳体不同的壳体中的硬盘驱动器或其他存储介质。因此,引用处理器、计算机、计算装置或存储器应被理解成包括引用可能并行操作或可 能非并行操作的处理器、计算机、计算装置或存储器的集合。Although one or more processors 410 and one or more memories 420 are schematically shown in the same box in FIG. 4 , system 400 may actually include multiple Multiple processors or memory within a physical enclosure. For example, one of the one or more memories 420 may be a hard drive or other storage medium located in a different housing than that of each of the one or more computing devices (not shown) described above . Accordingly, references to a processor, computer, computing device or memory shall be understood to include references to a collection of processors, computers, computing devices or memory which may or may not operate in parallel.
在说明书及权利要求中的词语“A或B”包括“A和B”以及“A或B”,而不是排他地仅包括“A”或者仅包括“B”,除非另有特别说明。The word "A or B" in the specification and claims includes "A and B" and "A or B", and does not exclusively include only "A" or only "B", unless specifically stated otherwise.
在本公开中,对“一个实施例”、“一些实施例”的提及意味着结合该实施例描述的特征、结构或特性包含在本公开的至少一个实施例、至少一些实施例中。因此,短语“在一个实施例中”、“在一些实施例中”在本公开的各处的出现未必是指同一个或同一些实施例。此外,在一个或多个实施例中,可以任何合适的组合和/或子组合来组合特征、结构或特性。In the present disclosure, reference to "one embodiment" or "some embodiments" means that a feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment, at least some embodiments of the present disclosure. Thus, appearances of the phrase "in one embodiment" and "in some embodiments" in various places in this disclosure are not necessarily referring to the same embodiment or embodiments. Furthermore, features, structures or characteristics may be combined in any suitable combination and/or subcombination in one or more embodiments.
如在此所使用的,词语“示例性的”意指“用作示例、实例或说明”,而不是作为将被精确复制的“模型”。在此示例性描述的任意实现方式并不一定要被解释为比其它实现方式优选的或有利的。而且,本公开不受在上述技术领域、背景技术、发明内容或具体实施方式中所给出的任何所表述的或所暗示的理论所限定。As used herein, the word "exemplary" means "serving as an example, instance, or illustration" rather than as a "model" to be exactly reproduced. Any implementation described illustratively herein is not necessarily to be construed as preferred or advantageous over other implementations. Furthermore, the disclosure is not to be bound by any expressed or implied theory presented in the preceding technical field, background, brief summary or detailed description.
另外,仅仅为了参考的目的,还可以在下面描述中使用某种术语,并且因而并非意图限定。例如,除非上下文明确指出,否则涉及结构或元件的词语“第一”、“第二”和其它此类数字词语并没有暗示顺序或次序。还应理解,“包括/包含”一词在本文中使用时,说明存在所指出的特征、整体、步骤、操作、单元和/或组件,但是并不排除存在或增加一个或多个其它特征、整体、步骤、操作、单元和/或组件以及/或者它们的组合。In addition, certain terms may also be used in the following description for reference purposes only, and thus are not intended to be limiting. For example, the words "first," "second," and other such numerical terms referring to structures or elements do not imply a sequence or order unless clearly indicated by the context. It should also be understood that when the word "comprises/comprises" is used herein, it indicates the presence of indicated features, integers, steps, operations, units and/or components, but does not exclude the presence or addition of one or more other features, whole, steps, operations, units and/or components and/or combinations thereof.
在本公开中,术语“部件”和“系统”意图是涉及一个与计算机有关的实体,或者硬件、硬件和软件的组合、软件、或执行中的软件。例如,一个部件可以是,但是不局限于,在处理器上运行的进程、对象、可执行态、执行线程、和/或程序等。通过举例说明,在一个服务器上运行的应用程序和所述服务器两者都可以是一个部件。一个或多个部件可以存在于一个执行的进程和/或线程的内部,并且一个部件可以被定位于一台计算机上和/或被分布在两台或更多计算机之间。In this disclosure, the terms "component" and "system" are intended to refer to a computer-related entity, either hardware, a combination of hardware and software, software, or software in execution. For example, a component may be, but is not limited to being, a process, object, executable, thread of execution, and/or program running on a processor. By way of example, both an application running on a server and the server may be a component. One or more components can reside within a process and/or thread of execution and a component can be localized on one computer and/or distributed between two or more computers.
另外,本公开的实施方式还可以包括以下示例:In addition, implementations of the present disclosure may also include the following examples:
1.一种用于植物识别的方法,包括:1. A method for plant identification comprising:
接收影像,其中所述影像包括植物的至少一个部位;receiving an image, wherein the image includes at least one part of a plant;
根据所述影像,基于已训练的神经网络模型识别所述影像中的植物的部位、生长地和生长周期中的至少一项以及所述影像中的植物的分类;以及According to the image, identifying at least one of the location, growth site, and growth cycle of the plant in the image and the classification of the plant in the image based on the trained neural network model; and
根据用户的操作请求,对识别出的所述植物的分类和所述至少一项进行所请求的操作。According to the user's operation request, the requested operation is performed on the identified plant classification and the at least one item.
2.根据1所述的方法,其中,所述操作请求包括针对识别出的信息的请求,所述方法还包括:2. The method of 1, wherein the operation request comprises a request for identified information, the method further comprising:
输出识别出的所述植物的分类和所述至少一项的信息。The identified classification of the plant and the at least one item of information are output.
3.根据1所述的方法,其中,所述操作请求包括针对植物的养护方案的请求,所述方法还包括:3. The method according to 1, wherein the operation request includes a request for a plant maintenance program, and the method also includes:
根据识别出的所述植物的分类和所述至少一项,确定所述植物的养护方案;以及determining a maintenance regimen for the plant based on the identified classification of the plant and the at least one item; and
输出所述植物的养护方案。A maintenance regimen for the plant is output.
4根据3所述的方法,其中,所述养护方案包括浇水、喷水、换水、加水、施肥、修剪、除草、转盆、换盆、日照、遮阳、调节温度、调节湿度、过冬防护、以及病虫害防治中的至少一个的执行方案。4. The method according to 3, wherein the maintenance plan includes watering, spraying water, changing water, adding water, fertilizing, pruning, weeding, turning pots, changing pots, sunshine, shading, adjusting temperature, adjusting humidity, winter protection , and an implementation plan for at least one of pest control.
5.根据1所述的方法,其中,所述至少一项包括所述影像中的植物的部位,所述方法还包括:5. The method according to 1, wherein said at least one item includes a part of a plant in said image, said method further comprising:
根据识别出的所述影像中的植物的部位,确定所述植物的分类的分类层级;以及Determining a taxonomic level of the taxonomy of the plant based on the identified parts of the plant in the image; and
根据所确定的分类层级调整识别出的所述植物的分类的结果。The result of the identified classification of the plant is adjusted according to the determined classification level.
6.根据5所述的方法,其中,还包括:6. The method according to 5, further comprising:
响应于所述影像中的植物的部位为树干、芽、种子、花苞、果子、以及幼苗中的一种,确定所述分类层级为属;以及Determining that the taxonomic level is a genus in response to the part of the plant in the image being one of trunk, bud, seed, bud, fruit, and seedling; and
响应于所述影像中的植物的部位为叶、花、茎、以及根中的一种,确定所述分类层级为种。In response to the part of the plant in the image being one of leaf, flower, stem, and root, the classification level is determined to be a species.
7.根据1所述的方法,其中,在所述识别之前,还包括:7. The method according to 1, wherein, before the identification, further comprising:
基于已训练的质量分类模型确定所述影像的影像质量;determining an image quality of the image based on a trained quality classification model;
响应于所述影像质量为清楚,则进行所述识别;以及in response to the image quality being clear, performing the identifying; and
响应于所述影像质量为不清楚,则输出重新输入影像的提示信息。In response to the image quality being unclear, a prompt message to re-input the image is output.
8.根据1所述的方法,其中,根据所述影像中的主体来进行所述识别,所述方法还包括:8. The method according to 1, wherein the identification is performed based on the subject in the image, the method further comprising:
响应于所述影像中的主体不明确、主体为非植物、以及主体为整株植物的远景图,不进行所述识别,并输出重新输入影像的提示信息。In response to the subject in the image being unclear, the subject being a non-plant, and the subject being a distant view of a whole plant, the recognition is not performed, and a prompt message for re-inputting the image is output.
9.根据1所述的方法,其中,基于已训练的生长地分类模型识别所述植物的生长地,所述生长地分类模型通过生长地的多个分类中的每个分类下的多个被标注的样本训练得到,其中,所述生长地的多个分类包括盆栽、非盆栽、以及鲜切花。9. The method according to 1, wherein, the growth place of the plant is identified based on a trained growth place classification model, and the growth place classification model is passed by multiple classifications under each classification of the growth place. Annotated samples are trained, wherein the multiple classifications of the growing places include potted plants, non-potted plants, and fresh-cut flowers.
10.根据1所述的方法,其中,基于已训练的生长周期分类模型识别所述植物的生长周期,所述生长周期分类模型通过生长周期的多个分类中的每个分类下的多个被标注的样本训练得到,其中,所述生长周期的多个分类包括刚冒土苗、小苗、叶期、花期、果期、落叶期、以及休眠期。10. The method according to 1, wherein the growth cycle of the plant is identified based on a trained growth cycle classification model passed by multiple subclasses under each of a plurality of classifications of growth cycles The marked samples are trained, wherein the multiple classifications of the growth cycle include emerging seedlings, young seedlings, leaf stage, flowering stage, fruit stage, leaf falling stage, and dormant stage.
11.根据1所述的方法,其中,基于已训练的部位分类模型识别所述影像中的植物的部位,所述部位分类模型通过部位的多个分类中的每个分类下的多个被标注的样本训练得到,其中,所述部位的多个分类包括树干、芽、种子、花苞、果子、幼苗、叶、花、茎、以及根。11. The method of 1, wherein the parts of the plant in the image are identified based on a trained part classification model annotated by a plurality of each of the plurality of classifications of parts The samples of are trained, wherein the multiple classifications of the parts include trunk, bud, seed, bud, fruit, seedling, leaf, flower, stem, and root.
12.一种用于植物识别的方法,包括:12. A method for plant identification comprising:
接收影像,其中所述影像包括植物的至少一个部位;receiving an image, wherein the image includes at least one part of a plant;
根据所述影像,基于已训练的神经网络模型识别所述影像中的植物的分类、所述影像中的植物的部位、所述影像中的植物的生长地、所述影像中的植物的生长周期、以及所述影像的影像质量;以及According to the image, identify the classification of the plant in the image, the part of the plant in the image, the growth place of the plant in the image, and the growth cycle of the plant in the image based on the trained neural network model , and the image quality of said image; and
根据用户的操作请求,在所识别出的各项内容中选取识别出的一项或多项内容进行所请求的操作。According to the user's operation request, one or more identified contents are selected from among the identified contents to perform the requested operation.
13.根据12所述的方法,其中,所述操作请求包括针对识别出的信息的请求,所述方法还包括:13. The method of 12, wherein the operation request comprises a request for identified information, the method further comprising:
输出所选取的一项或多项内容的信息。Output information about one or more items selected.
14.根据12所述的方法,其中,所述操作请求包括针对植物的养护方案的请求,所述方法还包括:14. The method according to 12, wherein the operation request comprises a request for a plant maintenance program, the method further comprising:
选取所述影像中的植物的部位、所述影像中的植物的生长地、以及所述 影像中的植物的生长周期中的至少一项以及所述影像中的植物的分类;Selecting at least one of the part of the plant in the image, the growth place of the plant in the image, and the growth cycle of the plant in the image, and the classification of the plant in the image;
根据所选取的所述植物的分类和所述至少一项,确定所述植物的养护方案;以及According to the selected classification of the plant and the at least one item, determine the maintenance program for the plant; and
输出所述植物的养护方案。A maintenance regimen for the plant is output.
15根据12所述的方法,其中,还包括将所识别出的各项内容与所述影像相关联地保存。15. The method according to 12, further comprising storing the identified items in association with the image.
16.一种用于植物识别的方法,包括:16. A method for plant identification comprising:
根据影像基于已训练的神经网络模型识别植物的分类,以及识别所述植物的生长地、生长周期和所述影像中的植物的部位中的至少两项,其中所述影像包括所述植物的至少一个部位;Identifying the classification of the plant based on the trained neural network model according to the image, and identifying at least two of the growth location of the plant, the growth cycle, and the part of the plant in the image, wherein the image includes at least one of the plant a part;
根据识别出的所述植物的分类,以及识别出的所述植物的生长地、生长周期和所述影像中的植物的部位中的所述至少两项,确定所述植物的养护方案;以及According to the identified classification of the plant, and at least two of the identified growth location, growth cycle, and plant part in the image, determine a maintenance plan for the plant; and
输出所述植物的养护方案。A maintenance regimen for the plant is output.
17.一种用于植物识别的方法,包括:17. A method for plant identification comprising:
接收影像,其中所述影像包括所述植物的至少一个部位;receiving an image, wherein the image includes at least one part of the plant;
根据所述影像,识别所述影像中的植物的部位、以及所述植物的分类;According to the image, identifying the parts of the plant in the image and the classification of the plant;
根据识别出的所述影像中的植物的部位,确定输出的分类层级;以及determining an output classification level based on the identified parts of the plant in the image; and
根据确定的所述分类层级输出所述植物的相应分类层级的分类。A classification of the corresponding classification level of the plant is output according to the determined classification level.
18.根据17所述的方法,还包括:18. The method according to 17, further comprising:
响应于所述影像中的植物的部位为树干、芽、种子、花苞、果子、以及幼苗中的一种,确定输出的分类层级为属;以及In response to the part of the plant in the image being one of trunk, bud, seed, bud, fruit, and seedling, determining that the output classification level is genus; and
响应于所述影像中的植物的部位为叶、花、茎、以及根中的一种,确定输出的分类层级为种。In response to the part of the plant in the image being one of leaf, flower, stem, and root, it is determined that the output classification level is species.
19.根据17所述的方法,其中,根据所述影像中的主体来进行所述识别。19. The method of 17, wherein the identifying is based on subjects in the images.
20.根据19所述的方法,还包括:20. The method according to 19, further comprising:
响应于所述影像中的主体不明确、主体为非植物、以及主体为整株植物的远景图,不进行所述识别,并输出提示用户重新输入影像的信息。In response to the subject in the image being unclear, the subject being a non-plant, and the subject being a distant view of a whole plant, the recognition is not performed, and information prompting the user to re-input the image is output.
21.一种用于植物识别的计算机系统,包括:21. A computer system for plant identification comprising:
一个或多个处理器;以及one or more processors; and
一个或多个存储器,所述一个或多个存储器被配置为存储一系列计算机可执行的指令以及与所述一系列计算机可执行的指令相关联的计算机可访问的数据,one or more memories configured to store a series of computer-executable instructions and computer-accessible data associated with the series of computer-executable instructions,
其中,当所述一系列计算机可执行的指令被所述一个或多个处理器执行时,使得所述计算机系统进行如1-20中任一项所述的方法。Wherein, when the series of computer-executable instructions are executed by the one or more processors, the computer system is made to perform the method described in any one of 1-20.
22.一种非临时性计算机可读存储介质,所述非临时性计算机可读存储介质上存储有一系列计算机可执行的指令,当所述一系列计算机可执行的指令被一个或多个计算机系统执行时,使得所述一个或多个计算机系统进行如1-20中任一项所述的方法。22. A non-transitory computer-readable storage medium storing a series of computer-executable instructions on the non-transitory computer-readable storage medium, when the series of computer-executable instructions are executed by one or more computer systems When executed, the one or more computer systems are caused to perform the method described in any one of 1-20.
本领域技术人员应当意识到,在上述操作之间的边界仅仅是说明性的。多个操作可以结合成单个操作,单个操作可以分布于附加的操作中,并且操作可以在时间上至少部分重叠地执行。而且,另选的实施例可以包括特定操作的多个实例,并且在其他各种实施例中可以改变操作顺序。但是,其它的修改、变化和替换同样是可能的。因此,本说明书和附图应当被看作是说明性的,而非限制性的。Those skilled in the art will appreciate that the boundaries between the above-described operations are merely illustrative. Multiple operations may be combined into a single operation, a single operation may be distributed among additional operations, and operations may be performed with at least partial overlap in time. Also, alternative embodiments may include multiple instances of a particular operation, and the order of operations may be altered in other various embodiments. However, other modifications, changes and substitutions are also possible. Accordingly, the specification and drawings are to be regarded as illustrative rather than restrictive.
虽然已经通过示例对本公开的一些特定实施例进行了详细说明,但是本领域的技术人员应该理解,以上示例仅是为了进行说明,而不是为了限制本公开的范围。在此公开的各实施例可以任意组合,而不脱离本公开的精神和范围。本领域的技术人员还应理解,可以对实施例进行多种修改而不脱离本公开的范围和精神。本公开的范围由所附权利要求来限定。Although some specific embodiments of the present disclosure have been described in detail through examples, those skilled in the art should understand that the above examples are for illustration only, rather than limiting the scope of the present disclosure. The various embodiments disclosed herein can be combined arbitrarily without departing from the spirit and scope of the present disclosure. Those skilled in the art will also appreciate that various modifications may be made to the embodiments without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims (22)

  1. 一种用于植物识别的方法,其特征在于,包括:A method for plant identification, comprising:
    接收影像,其中所述影像包括植物的至少一个部位;receiving an image, wherein the image includes at least one part of a plant;
    根据所述影像,基于已训练的神经网络模型识别所述影像中的植物的部位、生长地和生长周期中的至少一项以及所述影像中的植物的分类;以及According to the image, identifying at least one of the location, growth site, and growth cycle of the plant in the image and the classification of the plant in the image based on the trained neural network model; and
    根据用户的操作请求,对识别出的所述植物的分类和所述至少一项进行所请求的操作。According to the user's operation request, the requested operation is performed on the identified plant classification and the at least one item.
  2. 根据权利要求1所述的方法,其特征在于,所述操作请求包括针对识别出的信息的请求,所述方法还包括:The method according to claim 1, wherein the operation request comprises a request for identified information, the method further comprising:
    输出识别出的所述植物的分类和所述至少一项的信息。The identified classification of the plant and the at least one item of information are output.
  3. 根据权利要求1所述的方法,其特征在于,所述操作请求包括针对植物的养护方案的请求,所述方法还包括:The method according to claim 1, wherein the operation request comprises a request for a plant maintenance program, and the method further comprises:
    根据识别出的所述植物的分类和所述至少一项,确定所述植物的养护方案;以及determining a maintenance regimen for the plant based on the identified classification of the plant and the at least one item; and
    输出所述植物的养护方案。A maintenance regimen for the plant is output.
  4. 根据权利要求3所述的方法,其特征在于,所述养护方案包括浇水、喷水、换水、加水、施肥、修剪、除草、转盆、换盆、日照、遮阳、调节温度、调节湿度、过冬防护、以及病虫害防治中的至少一个的执行方案。The method according to claim 3, wherein the maintenance program includes watering, spraying water, changing water, adding water, fertilizing, pruning, weeding, turning pots, changing pots, sunshine, shading, adjusting temperature, and adjusting humidity , overwintering protection, and an implementation plan for at least one of pest control.
  5. 根据权利要求1所述的方法,其特征在于,所述至少一项包括所述影像中的植物的部位,所述方法还包括:The method according to claim 1, wherein said at least one item includes parts of plants in said image, said method further comprising:
    根据识别出的所述影像中的植物的部位,确定所述植物的分类的分类层级;以及Determining a taxonomic level of the taxonomy of the plant based on the identified parts of the plant in the image; and
    根据所确定的分类层级调整识别出的所述植物的分类的结果。The result of the identified classification of the plant is adjusted according to the determined classification level.
  6. 根据权利要求5所述的方法,其特征在于,还包括:The method according to claim 5, further comprising:
    响应于所述影像中的植物的部位为树干、芽、种子、花苞、果子、以及幼苗中的一种,确定所述分类层级为属;以及Determining that the taxonomic level is a genus in response to the part of the plant in the image being one of trunk, bud, seed, bud, fruit, and seedling; and
    响应于所述影像中的植物的部位为叶、花、茎、以及根中的一种,确定所述分类层级为种。In response to the part of the plant in the image being one of leaf, flower, stem, and root, the classification level is determined to be a species.
  7. 根据权利要求1所述的方法,其特征在于,在所述识别之前,还包括:The method according to claim 1, further comprising:
    基于已训练的质量分类模型确定所述影像的影像质量;determining an image quality of the image based on a trained quality classification model;
    响应于所述影像质量为清楚,则进行所述识别;以及in response to the image quality being clear, performing the identifying; and
    响应于所述影像质量为不清楚,则输出重新输入影像的提示信息。In response to the image quality being unclear, a prompt message to re-input the image is output.
  8. 根据权利要求1所述的方法,其特征在于,根据所述影像中的主体来进行所述识别,所述方法还包括:The method according to claim 1, wherein the identification is performed according to the subject in the image, the method further comprising:
    响应于所述影像中的主体不明确、主体为非植物、以及主体为整株植物的远景图,不进行所述识别,并输出重新输入影像的提示信息。In response to the subject in the image being unclear, the subject being a non-plant, and the subject being a distant view of a whole plant, the recognition is not performed, and a prompt message for re-inputting the image is output.
  9. 根据权利要求1所述的方法,其特征在于,基于已训练的生长地分类模型识别所述植物的生长地,所述生长地分类模型通过生长地的多个分类中的每个分类下的多个被标注的样本训练得到,其中,所述生长地的多个分类包括盆栽、非盆栽、以及鲜切花。The method according to claim 1, wherein the growth place of the plant is identified based on a trained growth place classification model, and the growth place classification model is based on multiple classifications under each classification of a plurality of growth place classifications. labeled samples are trained, wherein the multiple classifications of the growing places include potted plants, non-potted plants, and fresh-cut flowers.
  10. 根据权利要求1所述的方法,其特征在于,基于已训练的生长周期分类模型识别所述植物的生长周期,所述生长周期分类模型通过生长周期的多个分类中的每个分类下的多个被标注的样本训练得到,其中,所述生长周期的多个分类包括刚冒土苗、小苗、叶期、花期、果期、落叶期、以及休眠期。The method according to claim 1, wherein the growth cycle of the plant is identified based on a trained growth cycle classification model, and the growth cycle classification model passes multiple classifications under each of a plurality of classifications of the growth cycle. The labeled samples are trained, wherein the multiple classifications of the growth cycle include emerging seedlings, young seedlings, leaf stage, flowering stage, fruit stage, leaf falling stage, and dormancy stage.
  11. 根据权利要求1所述的方法,其特征在于,基于已训练的部位分类模型识别所述影像中的植物的部位,所述部位分类模型通过部位的多个分类中的每个分类下的多个被标注的样本训练得到,其中,所述部位的多个分类包括树干、芽、种子、花苞、果子、幼苗、叶、花、茎、以及根。The method according to claim 1, wherein the part of the plant in the image is identified based on a trained part classification model, the part classification model passing multiple Annotated samples are trained, wherein multiple classifications of parts include trunk, bud, seed, bud, fruit, seedling, leaf, flower, stem, and root.
  12. 一种用于植物识别的方法,其特征在于,包括:A method for plant identification, comprising:
    接收影像,其中所述影像包括植物的至少一个部位;receiving an image, wherein the image includes at least one part of a plant;
    根据所述影像,基于已训练的神经网络模型识别所述影像中的植物的分类、所述影像中的植物的部位、所述影像中的植物的生长地、所述影像中的植物的生长周期、以及所述影像的影像质量;以及According to the image, identify the classification of the plant in the image, the part of the plant in the image, the growth place of the plant in the image, and the growth cycle of the plant in the image based on the trained neural network model , and the image quality of said image; and
    根据用户的操作请求,在所识别出的各项内容中选取识别出的一项或多项内容进行所请求的操作。According to the user's operation request, one or more identified contents are selected from among the identified contents to perform the requested operation.
  13. 根据权利要求12所述的方法,其特征在于,所述操作请求包括针对识别出的信息的请求,所述方法还包括:The method of claim 12, wherein the operation request comprises a request for identified information, the method further comprising:
    输出所选取的一项或多项内容的信息。Output information about one or more items selected.
  14. 根据权利要求12所述的方法,其特征在于,所述操作请求包括针对植物的养护方案的请求,所述方法还包括:The method according to claim 12, wherein the operation request comprises a request for a plant maintenance program, and the method further comprises:
    选取所述影像中的植物的部位、所述影像中的植物的生长地、以及所述影像中的植物的生长周期中的至少一项以及所述影像中的植物的分类;Selecting at least one of the part of the plant in the image, the growth place of the plant in the image, and the growth cycle of the plant in the image, and the classification of the plant in the image;
    根据所选取的所述植物的分类和所述至少一项,确定所述植物的养护方案;以及According to the selected classification of the plant and the at least one item, determine the maintenance program for the plant; and
    输出所述植物的养护方案。A maintenance regimen for the plant is output.
  15. 根据权利要求12所述的方法,其特征在于,还包括将所识别出的各项内容与所述影像相关联地保存。The method according to claim 12, further comprising storing the identified items in association with the image.
  16. 一种用于植物识别的方法,其特征在于,包括:A method for plant identification, comprising:
    根据影像基于已训练的神经网络模型识别植物的分类,以及识别所述植物的生长地、生长周期和所述影像中的植物的部位中的至少两项,其中所述影像包括所述植物的至少一个部位;Identifying the classification of the plant based on the trained neural network model according to the image, and identifying at least two of the growth location of the plant, the growth cycle and the part of the plant in the image, wherein the image includes at least one of the plant a part;
    根据识别出的所述植物的分类,以及识别出的所述植物的生长地、生长周期和所述影像中的植物的部位中的所述至少两项,确定所述植物的养护方案;以及According to the identified classification of the plant, and at least two of the identified growth location, growth cycle, and plant part in the image, determine a maintenance plan for the plant; and
    输出所述植物的养护方案。A maintenance regimen for the plant is output.
  17. 一种用于植物识别的方法,其特征在于,包括:A method for plant identification, comprising:
    接收影像,其中所述影像包括所述植物的至少一个部位;receiving an image, wherein the image includes at least one part of the plant;
    根据所述影像,识别所述影像中的植物的部位、以及所述植物的分类;According to the image, identifying the parts of the plant in the image and the classification of the plant;
    根据识别出的所述影像中的植物的部位,确定输出的分类层级;以及determining an output classification level based on the identified parts of the plant in the image; and
    根据确定的所述分类层级输出所述植物的相应分类层级的分类。A classification of the corresponding classification level of the plant is output according to the determined classification level.
  18. 根据权利要求17所述的方法,其特征在于,还包括:The method according to claim 17, further comprising:
    响应于所述影像中的植物的部位为树干、芽、种子、花苞、果子、以及幼苗中的一种,确定输出的分类层级为属;以及In response to the part of the plant in the image being one of trunk, bud, seed, bud, fruit, and seedling, determining that the output classification level is genus; and
    响应于所述影像中的植物的部位为叶、花、茎、以及根中的一种,确定输出的分类层级为种。In response to the part of the plant in the image being one of leaf, flower, stem, and root, it is determined that the output classification level is species.
  19. 根据权利要求17所述的方法,其特征在于,根据所述影像中的主体来 进行所述识别。The method of claim 17, wherein said identifying is performed based on a subject in said image.
  20. 根据权利要求19所述的方法,其特征在于,还包括:The method according to claim 19, further comprising:
    响应于所述影像中的主体不明确、主体为非植物、以及主体为整株植物的远景图,不进行所述识别,并输出提示用户重新输入影像的信息。In response to the subject in the image being unclear, the subject being a non-plant, and the subject being a distant view of a whole plant, the recognition is not performed, and information prompting the user to re-input the image is output.
  21. 一种用于植物识别的计算机系统,其特征在于,包括:A computer system for plant identification, characterized in that it comprises:
    一个或多个处理器;以及one or more processors; and
    一个或多个存储器,所述一个或多个存储器被配置为存储一系列计算机可执行的指令以及与所述一系列计算机可执行的指令相关联的计算机可访问的数据,one or more memories configured to store a series of computer-executable instructions and computer-accessible data associated with the series of computer-executable instructions,
    其中,当所述一系列计算机可执行的指令被所述一个或多个处理器执行时,使得所述计算机系统进行如权利要求1-20中任一项所述的方法。Wherein, when the series of computer-executable instructions are executed by the one or more processors, the computer system is caused to perform the method according to any one of claims 1-20.
  22. 一种非临时性计算机可读存储介质,其特征在于,所述非临时性计算机可读存储介质上存储有一系列计算机可执行的指令,当所述一系列计算机可执行的指令被一个或多个计算机系统执行时,使得所述一个或多个计算机系统进行如权利要求1-20中任一项所述的方法。A non-transitory computer-readable storage medium, wherein a series of computer-executable instructions are stored on the non-transitory computer-readable storage medium, and when the series of computer-executable instructions are executed by one or more When the computer system is executed, the one or more computer systems are made to perform the method according to any one of claims 1-20.
PCT/CN2022/096706 2021-06-15 2022-06-01 Method for plant identification, computer system and computer-readable storage medium WO2022262586A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110658721.1 2021-06-15
CN202110658721.1A CN113298180A (en) 2021-06-15 2021-06-15 Method and computer system for plant identification

Publications (1)

Publication Number Publication Date
WO2022262586A1 true WO2022262586A1 (en) 2022-12-22

Family

ID=77328225

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/096706 WO2022262586A1 (en) 2021-06-15 2022-06-01 Method for plant identification, computer system and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN113298180A (en)
WO (1) WO2022262586A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113298180A (en) * 2021-06-15 2021-08-24 杭州睿胜软件有限公司 Method and computer system for plant identification
CN115203451A (en) * 2022-08-03 2022-10-18 杭州睿胜软件有限公司 Recognition processing method, system and storage medium for plant image

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109840549A (en) * 2019-01-07 2019-06-04 武汉南博网络科技有限公司 A kind of pest and disease damage recognition methods and device
CN110070101A (en) * 2019-03-12 2019-07-30 平安科技(深圳)有限公司 Floristic recognition methods and device, storage medium, computer equipment
CN111325240A (en) * 2020-01-23 2020-06-23 杭州睿琪软件有限公司 Weed-related computer-executable method and computer system
US20210027061A1 (en) * 2019-07-25 2021-01-28 Hangzhou Glority Software Limited Method and system for object identification
CN112784925A (en) * 2021-02-08 2021-05-11 杭州睿胜软件有限公司 Method, computer system and electronic equipment for object recognition
CN113298180A (en) * 2021-06-15 2021-08-24 杭州睿胜软件有限公司 Method and computer system for plant identification

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303434A (en) * 2016-08-23 2017-01-04 深圳前海弘稼科技有限公司 The control method of plantation equipment, server and plantation equipment
JP6307680B1 (en) * 2017-05-24 2018-04-11 節三 田中 Plant health diagnosis system
CN109522858A (en) * 2018-11-26 2019-03-26 Oppo广东移动通信有限公司 Plant disease detection method, device and terminal device
CN111513673B (en) * 2019-02-01 2023-10-31 百度在线网络技术(北京)有限公司 Image-based growth state monitoring method, device, equipment and storage medium
CN110619349A (en) * 2019-08-12 2019-12-27 深圳市识农智能科技有限公司 Plant image classification method and device
CN110555416B (en) * 2019-09-06 2021-09-03 杭州睿琪软件有限公司 Plant identification method and device
CN111191552A (en) * 2019-12-23 2020-05-22 合肥美的智能科技有限公司 Image recognition method based on visual terminal and visual terminal
CN111242178A (en) * 2020-01-02 2020-06-05 杭州睿琪软件有限公司 Object identification method, device and equipment
CN112287790A (en) * 2020-10-20 2021-01-29 北京字跳网络技术有限公司 Image processing method, image processing device, storage medium and electronic equipment
CN112270297B (en) * 2020-11-13 2024-05-31 杭州睿琪软件有限公司 Method and computer system for displaying recognition results
CN112673785B (en) * 2020-12-09 2022-05-20 珠海格力电器股份有限公司 Method, device and system for generating plant feeding strategy

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109840549A (en) * 2019-01-07 2019-06-04 武汉南博网络科技有限公司 A kind of pest and disease damage recognition methods and device
CN110070101A (en) * 2019-03-12 2019-07-30 平安科技(深圳)有限公司 Floristic recognition methods and device, storage medium, computer equipment
US20210027061A1 (en) * 2019-07-25 2021-01-28 Hangzhou Glority Software Limited Method and system for object identification
CN111325240A (en) * 2020-01-23 2020-06-23 杭州睿琪软件有限公司 Weed-related computer-executable method and computer system
CN112784925A (en) * 2021-02-08 2021-05-11 杭州睿胜软件有限公司 Method, computer system and electronic equipment for object recognition
CN113298180A (en) * 2021-06-15 2021-08-24 杭州睿胜软件有限公司 Method and computer system for plant identification

Also Published As

Publication number Publication date
CN113298180A (en) 2021-08-24

Similar Documents

Publication Publication Date Title
WO2022262586A1 (en) Method for plant identification, computer system and computer-readable storage medium
WO2021147528A1 (en) Computer-executable method relating to weeds and computer system
Chen et al. Detecting citrus in orchard environment by using improved YOLOv4
CN109583301B (en) Method and device for predicting optimal external planting conditions in crop growth process
Moupojou et al. FieldPlant: A dataset of field plant images for plant disease detection and classification with deep learning
US20230162466A1 (en) Method and computer system for displaying identification result
CN112784925B (en) Method for object recognition, computer system and electronic equipment
Mann et al. Automatic flower detection and phenology monitoring using time‐lapse cameras and deep learning
WO2022262585A1 (en) Plant picture recognition method, readable storage medium, and electronic device
CN107392238A (en) Outdoor knowledge of plants based on moving-vision search expands learning system
Latif et al. Deep learning based intelligence cognitive vision drone for automatic plant diseases identification and spraying
CN112633504A (en) Wisdom cloud knowledge service system and method for fruit tree diseases and insect pests based on knowledge graph
Sun et al. An integrated method for tracking and monitoring stomata dynamics from microscope videos
Hase et al. Detection, categorization and suggestion to cure infected plants of tomato and grapes by using OpenCV framework for andriod environment
Wang et al. Online recognition and yield estimation of tomato in plant factory based on YOLOv3
WO2024131526A1 (en) New plant care method and system, and readable storage medium
Anitha Disease prediction and knowledge extraction in banana crop cultivation using decision tree classifiers
Zhao et al. A dataset of pomegranate growth stages for machine learning-based monitoring and analysis
CN110852376B (en) Method and system for identifying biological species
WO2023071869A1 (en) Plant recommendation method, readable storage medium, and electronic device
WO2023088079A1 (en) Display method and display system for plant disease diagnosis information, and readable storage medium
Dinca et al. Halyomorpha halys detection in orchard from UAV images using convolutional neural networks
CN111814592B (en) Plant leaf identification method based on stackable capsule network
CN114841955A (en) Biological species identification method, device, equipment and storage medium
CN114937030A (en) Phenotypic parameter calculation method for intelligent agricultural planting of lettuce

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22824066

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22824066

Country of ref document: EP

Kind code of ref document: A1