WO2021223607A1 - Method and system for evaluating state of plant, and computer readable storage medium - Google Patents
Method and system for evaluating state of plant, and computer readable storage medium Download PDFInfo
- Publication number
- WO2021223607A1 WO2021223607A1 PCT/CN2021/089485 CN2021089485W WO2021223607A1 WO 2021223607 A1 WO2021223607 A1 WO 2021223607A1 CN 2021089485 W CN2021089485 W CN 2021089485W WO 2021223607 A1 WO2021223607 A1 WO 2021223607A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- plant
- state
- growth
- image
- plants
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000012423 maintenance Methods 0.000 claims abstract description 21
- 238000012549 training Methods 0.000 claims description 80
- 241000607479 Yersinia pestis Species 0.000 claims description 58
- 230000003796 beauty Effects 0.000 claims description 30
- 238000003062 neural network model Methods 0.000 claims description 11
- 230000002159 abnormal effect Effects 0.000 claims description 10
- 241000894007 species Species 0.000 claims description 2
- 238000013473 artificial intelligence Methods 0.000 abstract description 4
- 241000196324 Embryophyta Species 0.000 description 353
- 238000012360 testing method Methods 0.000 description 45
- 201000010099 disease Diseases 0.000 description 21
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 21
- 241000238631 Hexapoda Species 0.000 description 16
- 238000013527 convolutional neural network Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 9
- 238000002372 labelling Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 241001464837 Viridiplantae Species 0.000 description 6
- FGUUSXIOTUKUDN-IBGZPJMESA-N C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 Chemical compound C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 FGUUSXIOTUKUDN-IBGZPJMESA-N 0.000 description 5
- 238000013507 mapping Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 239000002689 soil Substances 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 4
- 238000004383 yellowing Methods 0.000 description 4
- 241001237160 Kallima inachus Species 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 240000004111 Scaphochlamys sylvestris Species 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013077 scoring method Methods 0.000 description 2
- 208000024891 symptom Diseases 0.000 description 2
- 235000013619 trace mineral Nutrition 0.000 description 2
- 239000011573 trace mineral Substances 0.000 description 2
- 210000003462 vein Anatomy 0.000 description 2
- 241001116389 Aloe Species 0.000 description 1
- 244000003416 Asparagus officinalis Species 0.000 description 1
- 235000005340 Asparagus officinalis Nutrition 0.000 description 1
- 241000282376 Panthera tigris Species 0.000 description 1
- 235000011399 aloe vera Nutrition 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 208000003464 asthenopia Diseases 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000005056 compaction Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 239000000417 fungicide Substances 0.000 description 1
- 239000007789 gas Substances 0.000 description 1
- 230000036571 hydration Effects 0.000 description 1
- 238000006703 hydration reaction Methods 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000000877 morphologic effect Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 239000000618 nitrogen fertilizer Substances 0.000 description 1
- 230000027758 ovulation cycle Effects 0.000 description 1
- 239000000575 pesticide Substances 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 230000001932 seasonal effect Effects 0.000 description 1
- 239000007921 spray Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 230000001502 supplementing effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
Definitions
- the growth state of each part of the plant is determined.
- a pest identification model established by pre-training can also be called to identify the plant image, so as to determine whether the plant has pests, and whether there are pests or diseases.
- the at least one candidate disease and insect pest information is screened to determine the disease and insect pest information of the plant.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Evolutionary Computation (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computational Linguistics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Evolutionary Biology (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Image Analysis (AREA)
Abstract
Provided are a method and a system for evaluating the state of a plant, and a computer readable storage medium. Said method comprises: receiving a plant image, and recognizing a plant in the plant image so as to obtain the category of the plant; recognizing parts of the plant contained in the plant image; determining the growth state of the parts; and comprehensively evaluating the maintenance state of the plant according to the growth state of the parts. By means of artificial intelligence, the present invention can easily, quickly and accurately evaluate the maintenance state of a plant.
Description
本发明涉及人工智能技术领域,特别涉及一种植物状态评估方法、系统及计算机可读存储介质。The present invention relates to the field of artificial intelligence technology, in particular to a plant state assessment method, system and computer readable storage medium.
随着生活水平的提高,人们对生活环境的要求越来越高,室内室外总会通过种植绿植来调节生活的环境。绿植在办公场所还能够缓解视觉疲劳,增加生活情趣。现有的绿植需要精心打理培养,且尤其是文竹、芦荟以及多肉类植物,对其生长环境要求较高,经常出现旱死、涝死,只有绿萝能够顽强生长,其生长条件简单,定期补水就可存活,即便出现缺水情况,其也能够在藤茎侧生出根吸取空气中的水分,生命顽强,还能够吸附室内有害气体,被广泛培植在家居、办公等场所。With the improvement of living standards, people have higher and higher requirements for the living environment. Indoors and outdoors will always adjust the living environment by planting green plants. Green plants can also relieve visual fatigue and increase the interest of life in the office. The existing green plants need to be carefully managed and cultivated, and especially the asparagus, aloe, and succulent plants have high requirements for their growth environment, and often die from drought and waterlogging. Only the green plants can grow tenaciously and their growth conditions are simple. , It can survive with regular hydration. Even if there is a lack of water, it can grow roots on the side of the cane to absorb moisture from the air. It has a tenacious life and can absorb harmful indoor gases. It is widely cultivated in homes, offices and other places.
然而,人们在种植绿植时,养护方法不同,绿植所呈现出来的养护状态也不尽相同,因此人们通常希望能够了解自己的绿植的养护状态是否良好。However, when people plant green plants, the maintenance methods are different, and the maintenance state of green plants is different. Therefore, people usually want to know whether their green plants are in good maintenance state.
发明内容Summary of the invention
本发明的目的在于提供一种植物状态评估方法、系统及计算机可读存储介质,以简便、快速、准确地评估植物的养护状态。具体技术方案如下:The purpose of the present invention is to provide a plant state assessment method, system and computer-readable storage medium to easily, quickly and accurately assess the conservation state of plants. The specific technical solutions are as follows:
为达到上述目的,本发明提供一种植物状态评估方法,包括:In order to achieve the above objective, the present invention provides a plant state assessment method, which includes:
接收植物图像,识别所述植物图像中的植物以得到所述植物的种类;Receiving a plant image, and identifying plants in the plant image to obtain the type of the plant;
识别所述植物图像中所包含的植物的部位;Identifying the plant parts contained in the plant image;
确定所述植物的各个部位的生长状态;Determining the growth state of each part of the plant;
根据所述植物的各个部位的生长状态,综合评估所述植物的养护状态。According to the growth state of each part of the plant, the conservation state of the plant is comprehensively evaluated.
可选的,所述识别所述植物图像中所包含的所述植物的部位,包括:Optionally, the identifying the part of the plant included in the plant image includes:
利用预先训练建立的植物部位识别模型识别所述植物图像中的植物,以得到所包含的所述植物的部位,所述植物部位识别模型为神经网络模型。The plant part recognition model established by pre-training is used to recognize plants in the plant image to obtain the contained plant parts, and the plant part recognition model is a neural network model.
可选的,确定所述植物的各个部位的生长状态,包括:Optionally, determining the growth state of each part of the plant includes:
利用预先训练建立的植物状态识别模型对各个部位分别进行识别,以得到各个部位的生长状态,所述植物状态识别模型为神经网络模型。The plant state recognition model established by pre-training is used to separately recognize each part to obtain the growth state of each part, and the plant state recognition model is a neural network model.
可选的,当确定出一部位的生长状态异常时,所述方法还包括:Optionally, when it is determined that the growth state of a part is abnormal, the method further includes:
调用预先训练建立的病虫害识别模型对所述植物图像进行识别,以判断所述植物是否具有病虫害,以及在有病虫害的情况下得到至少一个候选病虫害信息;Calling a pre-trained pest identification model to identify the plant image, to determine whether the plant has a pest, and obtain at least one candidate pest information if there is a pest;
结合所述植物的种类,对所述至少一个候选病虫害信息进行筛选,以确定所述植物的病虫害信息。The at least one candidate pest information is screened in combination with the species of the plant to determine the pest information of the plant.
可选的,所述生长状态按照好坏程度从高到低分为多个等级,当确定出一部位的生长状态不高于预设等级时,输出该部位生长状态不高的可能原因以及应对方法。Optionally, the growth status is divided into multiple levels according to the degree of quality from high to low. When it is determined that the growth status of a part is not higher than a preset level, the possible reasons for the low growth status of the part and the countermeasures are output method.
可选的,确定所述植物的各个部位的生长状态,包括:Optionally, determining the growth state of each part of the plant includes:
结合所述植物的种类,确定所述植物的各个部位的生长状态。The growth state of each part of the plant is determined in combination with the type of the plant.
可选的,在识别所述植物图像中的植物以得到所述植物的种类时,识别所述植物当前的生长周期;Optionally, when identifying plants in the plant image to obtain the type of the plant, identifying the current growth cycle of the plant;
所述确定所述植物的各个部位的生长状态,包括:The determining the growth state of each part of the plant includes:
结合所述植物当前所处的生长周期,确定所述植物的各个部位的生长状态。Combining with the current growth cycle of the plant, the growth state of each part of the plant is determined.
可选的,若所述植物状态识别模型无法识别一部位的生长状态,所述确定所述植物的各个部位的生长状态,包括:Optionally, if the plant state recognition model cannot recognize the growth state of a part, the determining the growth state of each part of the plant includes:
向用户收集所述植物的养护信息,根据所述养护信息确定该部位的生长状态。Collect maintenance information of the plant from the user, and determine the growth state of the part according to the maintenance information.
可选的,通过问卷的形式向用户收集所述植物的养护信息,所述问卷中的题目是根据所述植物的种类确定的。Optionally, the conservation information of the plant is collected from the user in the form of a questionnaire, and the topic in the questionnaire is determined according to the type of the plant.
可选的,根据所述植物状态识别模型对所述植物的各个部位的识别结果,判断所述植物的养护状态是否属于优秀,如果是则将所述植物图像进行推荐分享。Optionally, according to the recognition result of each part of the plant by the plant state recognition model, it is determined whether the conservation state of the plant is excellent, and if so, the plant image is recommended for sharing.
可选的,利用预先训练建立的美感识别模型识别所述植物图像中的植物,以得到所述植物的美感程度,所述美感识别模型为神经网络模型。Optionally, a pre-trained aesthetic recognition model is used to identify plants in the plant image to obtain the degree of beauty of the plant, and the aesthetic recognition model is a neural network model.
可选的,所述美感程度从高到低分为多个等级,若所述植物的养护状态好且美感程度高,则将所述植物图像进行推荐分享。Optionally, the degree of beauty is divided into multiple levels from high to low, and if the plant has a good conservation state and a high degree of beauty, then the plant image is recommended for sharing.
基于同一发明构思,本发明还提供一种植物状态评估系统,所述系统包括处理器和存储器,所述存储器上存储有指令,当所述指令被所述处理器执行时,实现植物状态评估方法的步骤,所述方法包括:接收植物图像,识别所述植物图像中的植物以得到所述植物的种类;识别所述植物图像中所包含的植物的部位;确定各个部位的生长状态;根据各个部位的生长状态,综合评估所述植物的养护状态。Based on the same inventive concept, the present invention also provides a plant state assessment system. The system includes a processor and a memory. The memory stores instructions. When the instructions are executed by the processor, the plant state assessment method is implemented. The method includes: receiving a plant image, identifying plants in the plant image to obtain the type of the plant; identifying the plant parts contained in the plant image; determining the growth state of each part; The growth state of the part, the comprehensive evaluation of the conservation state of the plant.
基于同一发明构思,本发明还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有指令,当所述指令被执行时,实现植物状态评估方法的步骤,所述方法包括:接收植物图像,识别所述植物图像中的植物以得到所述植物的种类;识别所述植物图像中所包含的植物的部位;确定各个部位的生长状态;根据各个部位的生长状态,综合评估所述植物的养护状态。Based on the same inventive concept, the present invention also provides a computer-readable storage medium with instructions stored on the computer-readable storage medium. When the instructions are executed, the steps of the plant state assessment method are implemented, and the method includes : Receiving plant images, identifying plants in the plant images to obtain the types of plants; identifying the plant parts contained in the plant images; determining the growth status of each part; comprehensively assessing the growth status of each part The conservation status of the plant.
与现有技术相比,本发明提供的植物状态评估方法、系统及计算机可读存储介质具有以下优点:Compared with the prior art, the plant state assessment method, system and computer-readable storage medium provided by the present invention have the following advantages:
本发明在接收到用户上传的植物图像,识别所述植物图像中的植物以得到所述植物的种类,并识别所述植物图像中所包含的植物的部位,然后确定各个部位的生长状态,从而根据各个部位的生长状态,综合评估所述植物的养护状态。本发明通过人工智能的方式客观的确定植物各部位的生长状态并综合评估,从而能够可以简便、快速、准确地评估植物的养护状态。The present invention receives the plant image uploaded by the user, recognizes the plant in the plant image to obtain the type of the plant, and recognizes the plant parts contained in the plant image, and then determines the growth state of each part, thereby According to the growth state of each part, the maintenance state of the plant is comprehensively evaluated. The invention objectively determines the growth state of each part of the plant and comprehensively evaluates it through artificial intelligence, so that the conservation state of the plant can be easily, quickly and accurately evaluated.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1是本发明一实施例提供的植物状态评估系统的网络环境示意图;Fig. 1 is a schematic diagram of a network environment of a plant state assessment system provided by an embodiment of the present invention;
图2是本发明一实施例提供的植物状态评估方法的流程示意图;Fig. 2 is a schematic flow chart of a method for assessing the state of plants according to an embodiment of the present invention;
图3是本发明一实施例提供的植物状态评估系统的结构示意图。Fig. 3 is a schematic structural diagram of a plant state assessment system provided by an embodiment of the present invention.
以下结合附图和具体实施例对本发明提出的一种植物状态评估方法、系统及计算机可读存储介质作进一步详细说明。根据下面说明,本发明的优点和特征将更清楚。需说明的是,附图均采用非常简化的形式且均使用非精准的比例,仅用以方便、明晰地辅助说明本发明实施例的目的。须知,本说明书所附图式所绘示的结构、比例、大小等,均仅用以配合说明书所揭示的内容,以供熟悉此技术的人士了解与阅读,并非用以限定本发明实施的限定条件,故不具技术上的实质意义,任何结构的修饰、比例关系的改变或大小的调整,在不影响本发明所能产生的功效及所能达成的目的下,均应仍落在本发明所揭示的技术内容能涵盖的范围内。The method, system, and computer-readable storage medium for plant state evaluation proposed by the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. According to the following description, the advantages and features of the present invention will be clearer. It should be noted that the drawings all adopt a very simplified form and all use imprecise proportions, which are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention. It should be noted that the structure, ratio, size, etc. shown in the accompanying drawings in this specification are only used to match the content disclosed in the specification for the understanding and reading of those who are familiar with this technology, and are not intended to limit the implementation of the present invention. Conditions, so it has no technical significance. Any structural modification, proportional relationship change, or size adjustment should still fall within the scope of the present invention without affecting the effects and objectives that can be achieved by the present invention. The disclosed technical content can cover the range.
本申请的发明人深入研究了用于植物状态评估的方法及系统。图1示出了根据本发明实施例的植物状态评估系统的网络环境100的示意图。The inventor of the present application has conducted in-depth research on methods and systems for plant state assessment. Fig. 1 shows a schematic diagram of a network environment 100 of a plant state assessment system according to an embodiment of the present invention.
植物状态评估系统的网络环境100可以包括移动设备102、远程服务器103、训练设备104和数据库105,它们通过网络106彼此有线或无线地耦接。网络106可以体现为广域网(诸如移动电话网络、公共交换电话网络、卫星网络、互联网等)、局域网(诸如Wi-Fi、Wi-Max、ZigBeeTM、BluetoothTM等)和/或其它形式的联网功能。The network environment 100 of the plant state assessment system may include a mobile device 102, a remote server 103, a training device 104, and a database 105, which are wired or wirelessly coupled to each other through the network 106. The network 106 may be embodied as a wide area network (such as a mobile phone network, a public switched telephone network, a satellite network, the Internet, etc.), a local area network (such as Wi-Fi, Wi-Max, ZigBeeTM, BluetoothTM, etc.) and/or other forms of networking functions.
移动设备102可以包括移动电话、平板计算机、膝上型计算机、个人数字助理和/或被配置用于捕获、存储和/或传输诸如数字照片之类的图像的其它计算装置。因此,移动设备102可以包括诸如数字相机之类的图像捕获装置和/或可以被配置为从其它装置接收图像。移动设备102可以包括显示器。显示器可以被配置用于向用户101提供一个或多个用户界面,所述用户界面可以包括多个界面元素,用户101可以与界面元素进行交互等。例如,用户101可以使用移动设备102对某一植物进行拍摄并上传或存储图像。移动设备102可以向用户输出有关该植物的类别信息、养护状态等详细介绍等,或者可以向用户推送养护状态不好的原因和应对方法,以及推送养护优秀的植物、提示用户该植物可能存在的病虫害信息等。The mobile device 102 may include a mobile phone, a tablet computer, a laptop computer, a personal digital assistant, and/or other computing devices configured to capture, store, and/or transmit images such as digital photos. Therefore, the mobile device 102 may include an image capture device such as a digital camera and/or may be configured to receive images from other devices. The mobile device 102 may include a display. The display may be configured to provide one or more user interfaces to the user 101, the user interface may include multiple interface elements, the user 101 may interact with the interface elements, and so on. For example, the user 101 can use the mobile device 102 to photograph a certain plant and upload or store the image. The mobile device 102 can output to the user the detailed introduction of the plant’s category information, conservation status, etc., or can push the user the reasons for the poor conservation status and the countermeasures, as well as the excellent conservation of plants, and remind the user of the possible existence of the plant. Pest information, etc.
远程服务器103可以被配置为对经由网络106从移动设备102接收的图 像等进行分析以确定植物的种类,并识别该植物的部位以及各个部位的生长状态等详细信息,进而综合评估该植物的养护状态。远程服务器103还可以被配置为创建并训练本实施例的植物种类识别模型、植物部位识别模型、植物状态识别模型和美感识别模型。植物种类识别模型、植物部位识别模型、植物状态识别模型和美感识别模型的具体训练过程将在下文结合具体实施例进行描述。在其它实施例中,远程服务器103可以仅用于对上述各个识别模型进行训练,然后将训练好的各个识别模型直接部署在客户端移动设备102上,由客户端移动设备102对获取的植物图像进行后续识别处理,也还可以在必要时通过网络106对客户端移动设备102中的各个识别模型进行更新。The remote server 103 can be configured to analyze images received from the mobile device 102 via the network 106 to determine the type of plant, and to identify the plant's parts and detailed information such as the growth status of each part, and then comprehensively evaluate the conservation of the plant state. The remote server 103 may also be configured to create and train the plant species recognition model, plant part recognition model, plant state recognition model, and aesthetic recognition model of this embodiment. The specific training process of the plant species recognition model, the plant part recognition model, the plant state recognition model, and the beauty recognition model will be described below in conjunction with specific embodiments. In other embodiments, the remote server 103 may only be used to train each of the above-mentioned recognition models, and then deploy each of the trained recognition models directly on the client mobile device 102, and the client mobile device 102 can compare the acquired plant images For subsequent identification processing, it is also possible to update each identification model in the client mobile device 102 via the network 106 when necessary.
训练设备104可以耦合到网络106以促进植物种类识别模型、植物部位识别模型、植物状态识别模型和美感识别模型的训练。训练设备104可以具有多个CPU和/或GPU以辅助训练植物种类识别模型、植物部位识别模型、植物状态识别模型和美感识别模型。The training device 104 may be coupled to the network 106 to facilitate the training of the plant species recognition model, the plant part recognition model, the plant state recognition model, and the aesthetic recognition model. The training device 104 may have multiple CPUs and/or GPUs to assist in training the plant species recognition model, the plant part recognition model, the plant state recognition model, and the aesthetic recognition model.
数据库105可以耦合到网络106并提供远程服务器103进行相关计算所需的数据。例如,数据库105可以包括存储有大量的不同种类的植物的图像的样本库,以及同一种类下的多个品种的植物的图像的样本库。在一个实施例中,以绿萝为例,样本库可以包括大量不同位置、不同季节、不同时间天气和不同拍摄角度下的不同品种的绿萝的图像样本。在一个实施例中,还可以将用户所拍摄的选定植物照片存储到与该植物种类相对应的样本库中,同时,还可以在数据库中记录与该植物的位置信息、季节信息、时间信息、天气信息和拍摄角度信息中的一个或多个相对应的生理周期信息和形态信息。数据库可以采取本领域中已知的各种数据库技术来实现。远程服务器103可以根据需要访问数据库105以进行相关操作。The database 105 may be coupled to the network 106 and provide data required by the remote server 103 for relevant calculations. For example, the database 105 may include a sample library storing a large number of images of different types of plants, and a sample library of images of multiple varieties of plants under the same category. In one embodiment, taking S. sylvestris as an example, the sample library may include a large number of image samples of different varieties of S. sylvestris in different locations, different seasons, weather at different times, and different shooting angles. In one embodiment, the selected plant photos taken by the user can also be stored in a sample library corresponding to the plant species. At the same time, the location information, seasonal information, and time information of the plant can also be recorded in the database. One or more corresponding menstrual cycle information and morphological information among weather information and shooting angle information. The database can be implemented by various database technologies known in the art. The remote server 103 can access the database 105 to perform related operations as needed.
应该理解的是,本文的网络环境100仅仅是一个示例。本领域技术人员可以根据需要,增加更多的装置或删减一些装置,并且可以对一些装置的功能和配置进行修改。It should be understood that the network environment 100 herein is only an example. Those skilled in the art can add more devices or delete some devices as needed, and can modify the functions and configurations of some devices.
下面结合图2来介绍本发明一实施例提供的一种植物状态评估方法。如图2所示,本发明一实施例提供的植物状态评估方法包括如下步骤:The following describes a plant state assessment method provided by an embodiment of the present invention with reference to FIG. 2. As shown in FIG. 2, the method for assessing the state of plants provided by an embodiment of the present invention includes the following steps:
步骤S101,接收植物图像,识别所述植物图像中的植物以得到所述植物 的种类。Step S101, receiving a plant image, and identifying plants in the plant image to obtain the type of the plant.
如前所述,接收的植物图像可以是用户先前存储的或者是用户实时拍摄的。例如,所述植物图像可以是用户先前存储在移动设备102中或者是用户使用连接到移动设备102的外置摄像头或移动设备102内置的摄像头进行实时拍摄的。在一个实施例中,用户还可以通过网络实时获取所述植物图像。As mentioned earlier, the received plant image may be previously stored by the user or captured by the user in real time. For example, the plant image may be previously stored in the mobile device 102 by the user or captured in real time by the user using an external camera connected to the mobile device 102 or a built-in camera of the mobile device 102. In an embodiment, the user can also obtain the plant image in real time via the network.
在一个实施例中,可以利用预先训练建立的植物种类识别模型识别所述植物图像中的植物以得到所述植物的种类。所述植物种类识别模型的训练步骤可以包括:步骤a,获取训练样本集,所述训练样本集中的每一样本标注有植物的种类;步骤b,获取测试样本集,所述测试样本集中的每一样本也标注有植物的种类,其中,所述测试样本集不同于所述训练样本集;步骤c,基于所述训练样本集对所述植物种类识别模型进行训练;步骤d,基于所述测试样本集对所述植物种类识别模型进行测试;步骤e,在所述测试结果指示所述植物种类识别模型的识别准确率小于预设准确率时,增加所述训练样本集中的样本数量进行再次训练;以及步骤f,在所述测试结果指示所述植物种类识别模型的识别准确率大于或等于所述预设准确率时,完成训练。In one embodiment, a plant species recognition model established by pre-training may be used to identify plants in the plant image to obtain the plant species. The training step of the plant species recognition model may include: step a, obtaining a training sample set, each sample in the training sample set is labeled with the type of plant; step b, obtaining a test sample set, each of the test sample set The sample is also marked with the types of plants, where the test sample set is different from the training sample set; step c, training the plant species recognition model based on the training sample set; step d, based on the test The sample set tests the plant species recognition model; step e, when the test result indicates that the recognition accuracy rate of the plant species recognition model is less than the preset accuracy rate, increase the number of samples in the training sample set for re-training And step f, when the test result indicates that the recognition accuracy of the plant species recognition model is greater than or equal to the preset accuracy, the training is completed.
例如,为每个植物种类获取一定数量的标注有对应信息的图像样本,为每个植物种类准备的图像样本的数量可以相等也可以不等。为每个图像样本标注的对应信息可以包括图像样本中的植物种类、植物的各个部位、各个部位的养护状态等。为每个植物种类获取的图像样本可以尽可能包括该种类的植物的不同拍摄角度、不同光照条件、不同天气(例如同一植物在艳阳天和雨天的形态可能不同)、不同月份或季节(例如同一植物在不同月份或季节的形态可能不同)、不同时间(例如同一植物在每天的早晨和夜晚的形态可能不同)、不同生长环境(例如同一植物在室内和室外生长的形态可能不同)、不同地理位置(例如同一植物在不同的地理位置生长的形态可能不同)的图像。在这些情况下,为每个图像样本标注的对应信息还可以包括该图像样本的拍摄角度、光照、天气、季节、时间、生长环境或地理位置等信息。For example, a certain number of image samples labeled with corresponding information are acquired for each plant type, and the number of image samples prepared for each plant type may be equal or different. The corresponding information annotated for each image sample may include the type of plant in the image sample, each part of the plant, the conservation state of each part, and so on. The image samples obtained for each plant species can include as much as possible the different shooting angles, different lighting conditions, different weather (for example, the same plant may have different forms in sunny days and rainy days), different months or seasons (for example, the same The shape of plants may be different in different months or seasons), different times (for example, the shape of the same plant may be different in the morning and night of each day), different growth environments (for example, the shape of the same plant may be different indoors and outdoors), and different geographies An image of a location (for example, the same plant may grow differently in different geographic locations). In these cases, the corresponding information labeled for each image sample may also include information such as the shooting angle, illumination, weather, season, time, growth environment, or geographic location of the image sample.
可以将经过上述标注处理的图像样本划分为用于训练植物种类识别模型的训练样本集和用于对训练结果进行测试的测试样本集。通常训练样本集内的样本的数量明显大于测试样本集内的样本的数量,例如,测试样本集内的 样本的数量可以占总图像样本数量的5%到20%,而相应的训练样本集内的样本的数量可以占总图像样本数量的80%到95%。本领域技术人员应该理解的是,训练样本集和测试样本集内的样本数量可以根据需要来调整。The image samples that have undergone the above-mentioned annotation processing can be divided into a training sample set for training the plant species recognition model and a test sample set for testing the training result. Generally, the number of samples in the training sample set is significantly greater than the number of samples in the test sample set. For example, the number of samples in the test sample set can account for 5% to 20% of the total number of image samples, and the corresponding training sample set The number of samples can account for 80% to 95% of the total number of image samples. Those skilled in the art should understand that the number of samples in the training sample set and the test sample set can be adjusted as needed.
可以利用训练样本集对植物种类识别模型进行训练,并利用测试样本集对经过训练的植物种类识别模型的识别准确率进行测试。若识别准确率不满足要求,则增加训练样本集中的图像样本的数量,并利用更新的训练样本集重新对植物种类识别模型进行训练,直到经过训练的植物种类识别模型的识别准确率满足要求为止。若识别准确率满足要求,则训练结束。在一个实施例中,可以基于识别准确率是否小于预设准确率来判断训练是否可以结束。如此,输出准确率满足要求的经过训练的植物种类识别模型可以用于进行植物种类的识别。The training sample set can be used to train the plant species recognition model, and the test sample set can be used to test the recognition accuracy of the trained plant species recognition model. If the recognition accuracy does not meet the requirements, increase the number of image samples in the training sample set, and use the updated training sample set to retrain the plant species recognition model until the recognition accuracy of the trained plant species recognition model meets the requirements . If the recognition accuracy meets the requirements, the training ends. In one embodiment, it can be judged whether the training can end based on whether the recognition accuracy rate is less than the preset accuracy rate. In this way, the trained plant species recognition model whose output accuracy meets the requirements can be used for plant species recognition.
所述植物种类识别模型为神经网络模型,例如可以是深度卷积神经网络(CNN)或深度残差网络(Resnet)。其中,深度卷积神经网络为深度前馈神经网络,其利用卷积核扫描植物图像,提取出植物图像中待识别的特征,进而对植物待识别的特征进行识别。另外,在对植物图像进行识别的过程中,可以直接将原始植物图像输入深度卷积神经网络模型,而无需对植物图像进行预处理。深度卷积神经网络模型相比于其他的识别模型,具备更高的识别准确率以及识别效率。而深度残差网络模型相比于深度卷积神经网络模型增加了恒等映射层,可以避免随着网络深度(网络中叠层的数量)的增加,卷积神经网络造成的准确率饱和、甚至下降的现象。残差网络模型中恒等映射层的恒等映射函数需要满足:恒等映射函数与残差网络模型的输入之和等于残差网络模型的输出。引入恒等映射以后,残差网络模型对输出的变化更加明显,因此可以大大提高植物生理期识别的识别准确率和识别效率,进而提高植物的识别准确率和识别效率。The plant species recognition model is a neural network model, such as a deep convolutional neural network (CNN) or a deep residual network (Resnet). Among them, the deep convolutional neural network is a deep feedforward neural network, which uses the convolution kernel to scan the plant image, extracts the features to be recognized in the plant image, and then recognizes the features to be recognized in the plant. In addition, in the process of recognizing the plant image, the original plant image can be directly input to the deep convolutional neural network model without preprocessing the plant image. Compared with other recognition models, the deep convolutional neural network model has higher recognition accuracy and recognition efficiency. Compared with the deep convolutional neural network model, the deep residual network model adds an identity mapping layer, which can avoid the accuracy saturation or even saturation caused by the convolutional neural network as the network depth (the number of layers in the network) increases. The phenomenon of decline. The identity mapping function of the identity mapping layer in the residual network model needs to satisfy: the sum of the input of the identity mapping function and the residual network model is equal to the output of the residual network model. After the introduction of identity mapping, the residual network model changes the output more obviously, so it can greatly improve the recognition accuracy and recognition efficiency of plant physiological period recognition, and then improve the recognition accuracy and recognition efficiency of plants.
步骤S102,识别所述植物图像中所包含的植物的部位。Step S102: Identify the plant parts included in the plant image.
植物的部位例如可以包括根、茎、叶、花等部位,所述植物图像中所包含的植物的部位可以为一个或多个,本实施例中对此不做限定。举例而言,用户在采集所述植物图像时,可以对所述植物拍摄全景图片,如此所述植物图像中可包含所述植物的所有部位,也可以仅对所述植物拍摄局部图片,例 如仅拍摄叶、花等部位,如此所述植物图像中仅包含所述植物的局部部位。当所述植物图像中包含多个部位时,将所有部位均识别出来并对每个部位均进行后续处理。The parts of the plant may include roots, stems, leaves, flowers, etc., and the plant image may include one or more parts of the plant, which is not limited in this embodiment. For example, when the user collects the plant image, he can take a panoramic picture of the plant. In this way, the plant image may include all parts of the plant, or only a partial picture of the plant, for example, only Shooting parts such as leaves, flowers, etc., so that the plant image only includes the partial parts of the plant. When the plant image contains multiple parts, all parts are identified and subsequent processing is performed on each part.
具体的,可以利用预先训练建立的植物部位识别模型识别所述植物图像中的植物,以得到所包含的所述植物的部位。所述植物部位识别模型的训练步骤可以包括:步骤a,获取训练样本集,所述训练样本集中的每一样本标注有植物的各个部位;步骤b,获取测试样本集,所述测试样本集中的每一样本也标注有植物的各个部位,其中,所述测试样本集不同于所述训练样本集;步骤c,基于所述训练样本集对所述植物部位识别模型进行训练;步骤d,基于所述测试样本集对所述植物部位识别模型进行测试;步骤e,在所述测试结果指示所述植物部位识别模型的识别准确率小于预设准确率时,增加所述训练样本集中的样本数量进行再次训练;以及步骤f,在所述测试结果指示所述植物部位识别模型的识别准确率大于或等于所述预设准确率时,完成训练。所述植物部位识别模型为神经网络模型,例如可以是深度卷积神经网络(CNN)或深度残差网络(Resnet)。Specifically, a plant part recognition model established by pre-training may be used to recognize plants in the plant image, so as to obtain the contained plant parts. The training step of the plant part recognition model may include: step a, obtaining a training sample set, each sample in the training sample set is labeled with various parts of the plant; step b, obtaining a test sample set, the test sample set Each sample is also marked with various parts of the plant, wherein the test sample set is different from the training sample set; step c, training the plant part recognition model based on the training sample set; step d, based on the training sample set; The test sample set tests the plant part recognition model; step e, when the test result indicates that the recognition accuracy rate of the plant part recognition model is less than a preset accuracy rate, increase the number of samples in the training sample set to perform Training again; and step f, when the test result indicates that the recognition accuracy rate of the plant part recognition model is greater than or equal to the preset accuracy rate, the training is completed. The plant part recognition model is a neural network model, such as a deep convolutional neural network (CNN) or a deep residual network (Resnet).
在训练时,每个植物种类获取一定数量的标注有对应信息的图像样本,为每个植物种类准备的图像样本的数量可以相等也可以不等。为每个图像样本标注的对应信息可以包括图像样本中的植物的各个部位等。其中,训练样本集和测试样本集可以采用与上述植物种类识别模型相同的样本集,也可以采用不同的样本集,本实施例中对此不做限定。During training, each plant species acquires a certain number of image samples labeled with corresponding information, and the number of image samples prepared for each plant species can be equal or unequal. The corresponding information annotated for each image sample may include various parts of the plant in the image sample, and so on. Among them, the training sample set and the test sample set can be the same sample set as the above-mentioned plant species identification model, or different sample sets can be used, which is not limited in this embodiment.
步骤S103,确定各个部位的生长状态。Step S103: Determine the growth state of each part.
在识别出所述植物的各个部位后,可以将各个部位分别标注出来,以便于确定各个部位的生长状态。优选的,还可以将各个部位进行切片处理,得到各个部位的图片,再根据各个部位的图片分别确定生长状态。例如,对于植物的叶片部位,当出现黄叶、枯叶、叶斑、虫洞等异常状态时,表示该部位的生长状态不佳,需要调整养护方式。After the various parts of the plant are identified, each part can be marked out so as to determine the growth state of each part. Preferably, each part can be sliced to obtain pictures of each part, and then the growth state can be determined according to the pictures of each part. For example, for the leaf parts of plants, when abnormal conditions such as yellow leaves, dead leaves, leaf spots, wormholes, etc. appear, it means that the growth status of the part is not good, and the maintenance method needs to be adjusted.
具体的,生长状态可以按照好坏程度从高到低分为多个等级,例如分为优秀、良好、一般、较差四个等级,也可以对生长状态进行评分,按照分数段划分为多个等级。通过设置等级的方式可以直观的评价一部位的生长状态。 优选的,当确定出一部位的生长状态不高于预设等级时,输出该部位生长状态不高的可能原因以及应对方法。该预设等级例如可以是良好,则当识别出一部位的生长状态不高于良好,即生长状态一般或较差,此时输出部位生长状态不高的可能原因以及应对方法,以便于提醒用户该植物的养护状态存在不足,需要调整或加强养护方法,并给出具体建议。Specifically, the growth status can be divided into multiple levels according to the degree of quality from high to low, for example, it can be divided into four levels: excellent, good, fair, and poor. The growth status can also be scored and divided into multiple levels according to the score segment. grade. You can intuitively evaluate the growth status of a part by setting the level. Preferably, when it is determined that the growth state of a part is not higher than the preset level, the possible reasons for the low growth state of the part and the countermeasures are output. The preset level can be, for example, good. When it is recognized that the growth state of a part is not higher than good, that is, the growth state is average or poor, the possible reasons and countermeasures for the low growth state of the part are output at this time, so as to remind the user The conservation status of the plant is insufficient, and the conservation method needs to be adjusted or strengthened, and specific suggestions are given.
举例而言,当植物的叶片部位有黄叶时,可确定该植物的生长状态较差,此时向用户输出叶片出现黄叶的可能原因以及应对方法。例如,首先检查是否根部有腐烂,而根部腐烂很有可能是积水导致的,因此应对方法可以通过晾根或使用土壤杀菌剂进行处理,若平时浇水过多导致根部腐烂,需要改善浇水方式;其次,若根部没有腐烂,且叶片发黄的症状是叶脉绿色而叶脉间发黄,或者出现斑点状发黄,这可能是缺微量元素发黄,应对方法是补充微量元素或者氮肥;再次,若根部没有腐烂,但是叶片也没有上述症状,可能是根出现断痕,由于存在地下害虫危害到根部导致植物水分跟不上从而发黄的,或者可能是由于叶面害虫咬食叶柄或者茎导致叶片发黄,应对方法是浇泼或喷淋杀虫剂;最后,判断是否是因为缺水导致的,应对方法是通过松土和补充水分解决土壤板结问题。For example, when there are yellow leaves on the leaf part of a plant, it can be determined that the growth state of the plant is poor, and at this time, the possible reasons for the yellow leaves on the leaves and the countermeasures are output to the user. For example, first check whether there is rot at the roots, and the rot at the roots is likely to be caused by stagnant water, so the countermeasures can be to dry the roots or use soil fungicides for treatment. If the roots rot due to excessive watering, the watering needs to be improved. Method; Secondly, if the roots are not rotted, and the symptoms of yellowing leaves are green veins and yellowing between the veins, or spot-like yellowing, this may be yellowing due to lack of trace elements. The countermeasure is to supplement trace elements or nitrogen fertilizer; again; If the roots do not rot, but the leaves do not have the above symptoms, it may be that the roots are broken, because the roots are damaged by underground pests and the plant can't keep up with the moisture and turn yellow, or it may be because the leaf pests bite the petioles or stems. If the leaves turn yellow, the solution is to pour or spray pesticides. Finally, to determine whether it is caused by lack of water, the solution is to solve the problem of soil compaction by loosening the soil and supplementing water.
需要说明的是,由于对于一些特殊植物,例如虎皮兰,其叶片本身就具有斑纹,这是正常状态。因此,在确定各个部位的生长状态时,需要结合植物的种类来确定,例如当确定所述植物为虎皮兰时,若识别该植物的叶片上具有斑纹,由于叶片具有斑纹是该植物的正常状态,因此不应认为该植物叶片的生长状态不好。可见对于特殊植物应该进一步结合植物种类来确定生长状态,以避免造成误识别,提高识别准确率。具体的,可以将这些特殊植物进行统计并记录在数据库中,同时记录其具有的特殊的正常状态,例如,将虎皮兰记录在数据库中,并且记录其叶片斑纹是正常状态。如此,当识别出植物的种类时,可以在该数据库中进行搜索查找,判断其是否属于特殊植物,如果属于则获取该植物的特殊的正常状态,并在步骤S103中辅助确认其相应部位的生长状态有无异常。It should be noted that, for some special plants, such as Tiger Piran, the leaves themselves have markings, which is a normal state. Therefore, when determining the growth status of each part, it needs to be determined in conjunction with the type of plant. For example, when the plant is determined to be Tiger Piran, if it is recognized that the leaf of the plant has markings, it is normal for the plant to have markings on the leaves. Therefore, it should not be considered that the growth state of the leaves of the plant is not good. It can be seen that for special plants, the growth status should be further combined with plant species to avoid misidentification and improve the accuracy of identification. Specifically, these special plants can be counted and recorded in the database, and the special normal state they have can be recorded at the same time. For example, the tiger Piran can be recorded in the database and the leaf markings are recorded in the normal state. In this way, when the type of plant is identified, a search can be performed in the database to determine whether it belongs to a special plant, and if it belongs, the special normal state of the plant is obtained, and the growth of its corresponding part is assisted in confirming the growth in step S103 Whether the status is abnormal.
另外,由于植物的生长状态也与其所处的生长周期有关,例如当植物处于枯叶期时,该植物的叶片部位上具有黄叶、枯叶就是正常现象,因此,在 确定各个部位的生长状态时,还需要结合植物当前所处的生长周期来确定。具体的,在步骤S101识别植物图像中的植物以得到所述植物的种类时,同时还识别出所述植物当前的生长周期,进而在步骤S103中可以结合植物当前所处的生长周期来确定各个部位的生长状态。例如,当识别出该植物当前的生长周期为枯叶期,则即使识别出该植物的叶片部位存在黄叶、枯叶,也不会认为该植物的叶片部生长状态不佳。可见结合植物的生长周期来进一步确定生长状态,可避免造成误识别,提高识别准确率。In addition, because the growth state of a plant is also related to its growth cycle, for example, when the plant is in the dead leaf period, it is normal for the plant's leaf parts to have yellow leaves and dead leaves. Therefore, when determining the growth state of each part It also needs to be combined with the current growth cycle of the plant to determine. Specifically, when the plant in the plant image is identified in step S101 to obtain the type of the plant, the current growth cycle of the plant is also identified at the same time, and then in step S103, the current growth cycle of the plant can be combined to determine each The growth status of the site. For example, when it is recognized that the current growth cycle of the plant is the dead leaf stage, even if it is recognized that yellow leaves and dead leaves are present in the leaf parts of the plant, it will not be considered that the leaf part of the plant is in a poor growth state. It can be seen that combining the growth cycle of plants to further determine the growth state can avoid misidentification and improve the accuracy of identification.
具体的,可以利用预先训练建立的植物状态识别模型对各个部位分别进行识别,以得到各个部位的生长状态。所述植物状态识别模型的训练步骤可以包括:步骤a,获取训练样本集,所述训练样本集中的每一样本标注有植物的各个部位以及对应的生长状态;步骤b,获取测试样本集,所述测试样本集中的每一样本也标注有植物的各个部位以及对应的生长状态,其中,所述测试样本集不同于所述训练样本集;步骤c,基于所述训练样本集对所述植物状态识别模型进行训练;步骤d,基于所述测试样本集对所述植物状态识别模型进行测试;步骤e,在所述测试结果指示所述植物状态识别模型的识别准确率小于预设准确率时,增加所述训练样本集中的样本数量进行再次训练;以及步骤f,在所述测试结果指示所述植物状态识别模型的识别准确率大于或等于所述预设准确率时,完成训练。所述植物状态识别模型为神经网络模型,例如可以是深度卷积神经网络(CNN)或深度残差网络(Resnet)。Specifically, the plant state recognition model established by pre-training can be used to identify each part separately to obtain the growth state of each part. The training step of the plant state recognition model may include: step a, obtaining a training sample set, each sample in the training sample set is labeled with various parts of the plant and the corresponding growth state; step b, obtaining a test sample set, so Each sample in the test sample set is also marked with various parts of the plant and the corresponding growth state, wherein the test sample set is different from the training sample set; step c, the plant state is compared based on the training sample set. The recognition model is trained; step d, the plant state recognition model is tested based on the test sample set; step e, when the test result indicates that the recognition accuracy rate of the plant state recognition model is less than a preset accuracy rate, Increase the number of samples in the training sample set for re-training; and step f, when the test result indicates that the recognition accuracy of the plant state recognition model is greater than or equal to the preset accuracy, the training is completed. The plant state recognition model is a neural network model, such as a deep convolutional neural network (CNN) or a deep residual network (Resnet).
在训练时,每个植物种类获取一定数量的标注有对应信息的图像样本,为每个植物种类准备的图像样本的数量可以相等也可以不等。为每个图像样本标注的对应信息可以包括图像样本中的植物的各个部位以及对应的生长状态等。其中,训练样本集和测试样本集可以采用与上述植物种类识别模型或植物部位识别模型相同的样本集,也可以采用不同的样本集,本实施例对此不做限定。During training, each plant species acquires a certain number of image samples labeled with corresponding information, and the number of image samples prepared for each plant species can be equal or unequal. The corresponding information annotated for each image sample may include various parts of the plant in the image sample and the corresponding growth state. The training sample set and the test sample set may use the same sample set as the above-mentioned plant species recognition model or plant part recognition model, or different sample sets, which is not limited in this embodiment.
需要说明的是,在标注图像样本中植物各个部位的生长状态时,可以按照好坏程度从高到低将生长状态分为多个等级,例如优秀、良好、较差。然而对于特殊植物在标注时需要将正常生长状态与非正常生长状态进行区分。如前所述,虎皮兰是一种特殊植物,其叶片部位的斑纹是正常生长状态。因 此对于图像样本为虎皮兰时,由于其叶片部位的斑纹是正常状态,因此在标注生长状态时不能一律标注为较差,需要根据实际生长状况进行标注。如此,当训练完成的植物状态识别模型在识别虎皮兰时,可以根据植物的种类信息准确判断其叶片部位是枯叶还是正常叶片斑纹,从而避免造成误识别,提高识别准确率。It should be noted that when labeling the growth status of each part of the plant in the image sample, the growth status can be divided into multiple levels according to the degree of quality from high to low, such as excellent, good, and poor. However, it is necessary to distinguish between normal growth state and abnormal growth state when labeling special plants. As mentioned earlier, Tiger Piran is a special plant, and the markings on its leaf parts are normal growth conditions. Therefore, when the image sample is Tiger Piran, the markings on the leaf parts are normal, so when labeling the growth state, it cannot be labeled as poor, and it needs to be labeled according to the actual growth status. In this way, when the trained plant state recognition model is recognizing Tiger Piran, it can accurately determine whether its leaf part is a dead leaf or a normal leaf patch according to the plant species information, thereby avoiding misrecognition and improving the recognition accuracy.
实际应用中,针对不同植物,在训练时会获取大量养护优秀的样本图像,当利用训练完成的植物状态识别模型识别某一植物图像时,若该植物图像近似于某一养护优秀样本图像达到预设的阈值(例如80%)后即认定该植物图像为优秀,并根据特征值近似度对其进行评分,例如,若特征值近似度为98%,则将该植物图像作为优秀养护的植物图像,并且对其评分为98分。同样的,针对养护良好、一般或者较差的植物图像也进行相同处理。如此,通过评分的方式可以准确的表征植物的生长和养护情况。同时,当所述植物状态识别模型对所述植物的各个部位提取的植物图像特征都接近于优秀养护的标准时,可以判断所述植物的养护状态为优秀,从而可将该植物标识为养护优秀的植物,进而将该植物图像进行推荐分享。In practical applications, for different plants, a large number of well-maintained sample images will be obtained during training. When the trained plant state recognition model is used to identify a certain plant image, if the plant image is similar to a certain well-maintained sample image to reach the desired level Set a threshold (for example, 80%) to determine the plant image as excellent, and score it according to the similarity of the feature value. For example, if the similarity of the feature value is 98%, then the plant image is regarded as an excellent conservation plant image , And scored 98 points. In the same way, the same processing is performed for images of plants that are well maintained, average, or poor. In this way, the growth and maintenance of plants can be accurately characterized by scoring. At the same time, when the plant image features extracted by the plant state recognition model for each part of the plant are close to the standard of excellent conservation, the conservation state of the plant can be judged to be excellent, so that the plant can be marked as excellent conservation Plants, and then recommend and share the plant images.
进一步的,若所述植物状态识别模型无法准确识别一部位的生长状态,还可以向用户收集所述植物的养护信息,根据所述养护信息确定该部位的生长状态。养护信息例如包括浇水频率、水培还是土培、室内还是室外、选择叶片状态近似图片等,还可以包括其它能够反映植物生长状态的信息。通过所述养护信息可以判断植物的生长环境、养护方法是否适当,从而有助于从侧面推断植物的生长状态。具体而言,可以通过问卷的形式向用户收集所述植物的养护信息,在移动设备的界面上依次弹出问卷中的题目,并由用户选择选项或填写信息。由于不同类型植物的养护方法各有差异,因此所述问卷中的题目优选根据所述植物的种类确定。实际应用中,可以预先为每一植物种类设置一组题目并形成问卷,当所述植物状态识别模型无法识别生长状态时,根据当前植物的种类调用相应的问卷,并呈现给用户以便用户提供养护信息。Further, if the plant state recognition model cannot accurately identify the growth state of a part, the maintenance information of the plant can also be collected from the user, and the growth state of the part can be determined according to the maintenance information. The maintenance information includes, for example, watering frequency, hydroponic or soil culture, indoor or outdoor, selection of approximate leaf state pictures, etc., and may also include other information that can reflect the growth state of plants. According to the maintenance information, it can be judged whether the growth environment and the maintenance method of the plant are appropriate, thereby helping to infer the growth state of the plant from the side. Specifically, the conservation information of the plant can be collected from the user in the form of a questionnaire, and the questions in the questionnaire will pop up in sequence on the interface of the mobile device, and the user can select options or fill in information. Since the maintenance methods of different types of plants are different, the questions in the questionnaire are preferably determined according to the types of plants. In practical applications, you can set up a set of questions for each plant species in advance and form a questionnaire. When the plant state recognition model fails to identify the growth state, the corresponding questionnaire is called according to the current plant species and presented to the user for the user to provide maintenance. information.
另外,还可以利用预先训练建立的美感识别模型识别所述植物图像中的植物,以得到所述植物的美感程度。可以将所述美感程度从高到低划分为多 个等级,例如美观、较好、一般等,也可以按照分数段划分为多个等级。若所述植物的养护状态好且美感程度高,还可以将所述植物图像进行推荐分享。例如,通过二维评分的方式来综合评价所述植物的养护状态和美观程度,即分别为养护状态和美感程度设置权重,在获得所述植物的养护状态和美感程度的分数后,利用权重计算所述植物的综合评分,植物的分数高表示其养护状态好且美感程度高,因此,将分数较高的植物进行推荐分享。In addition, a pre-trained aesthetic recognition model can also be used to identify plants in the plant image, so as to obtain the degree of beauty of the plants. The degree of aesthetic feeling can be divided into multiple levels from high to low, such as beautiful, good, fair, etc., or can be divided into multiple levels according to score segments. If the plant is well maintained and has a high degree of beauty, the plant image can also be recommended for sharing. For example, a two-dimensional scoring method is used to comprehensively evaluate the conservation status and aesthetics of the plant, that is, to set weights for the conservation status and aesthetics respectively, and after obtaining the scores for the conservation and aesthetics of the plant, use the weights to calculate For the comprehensive score of the plant, a high plant score indicates a good conservation state and a high degree of beauty. Therefore, the plant with a higher score is recommended for sharing.
所述美感识别模型为神经网络模型,例如可以是深度卷积神经网络(CNN)或深度残差网络(Resnet)。所述美感识别模型的训练步骤可以包括:步骤a,获取训练样本集,所述训练样本集中的每一样本标注有植物的美感程度;步骤b,获取测试样本集,所述测试样本集中的每一样本也标注有植物的美感程度,其中,所述测试样本集不同于所述训练样本集;步骤c,基于所述训练样本集对所述美感识别模型进行训练;步骤d,基于所述测试样本集对所述美感识别模型进行测试;步骤e,在所述测试结果指示所述美感识别模型的识别准确率小于预设准确率时,增加所述训练样本集中的样本数量进行再次训练;以及步骤f,在所述测试结果指示所述美感识别模型的识别准确率大于或等于所述预设准确率时,完成训练。The aesthetic recognition model is a neural network model, such as a deep convolutional neural network (CNN) or a deep residual network (Resnet). The training step of the beauty recognition model may include: step a, obtaining a training sample set, each sample in the training sample set is labeled with the beauty degree of the plant; step b, obtaining a test sample set, each of the test sample set The sample is also marked with the degree of beauty of the plant, wherein the test sample set is different from the training sample set; step c, training the beauty recognition model based on the training sample set; step d, based on the test The sample set tests the beauty recognition model; step e, when the test result indicates that the recognition accuracy of the beauty recognition model is less than the preset accuracy, increase the number of samples in the training sample set for retraining; and Step f: When the test result indicates that the recognition accuracy of the aesthetic recognition model is greater than or equal to the preset accuracy, the training is completed.
在训练时,每个植物种类获取一定数量的标注有对应信息的图像样本,为每个植物种类准备的图像样本的数量可以相等也可以不等。为每个图像样本标注的对应信息可以包括图像样本中的植物的美感程度等。其中,训练样本集和测试样本集可以采用与上述植物种类识别模型或植物部位识别模型或植物状态识别模型相同的样本集,也可以采用不同的样本集,本实施例对此不做限定。During training, each plant species acquires a certain number of image samples labeled with corresponding information, and the number of image samples prepared for each plant species can be equal or unequal. The corresponding information annotated for each image sample may include the degree of beauty of the plants in the image sample, and the like. Among them, the training sample set and the test sample set may use the same sample set as the above-mentioned plant species recognition model, plant part recognition model, or plant state recognition model, or different sample sets, which are not limited in this embodiment.
需要说明的是,在标注图像样本中植物的美感程度时,可以按照好坏程度从高到低将美感程度分为多个等级,例如美观、较好、一般等。然而由于人对植物美感的判断具有很大的主观性,不同人对同一植物的美观程度判断可能不同。因此在标注图像样本中植物的美感程度时,可以由多人分别进行标注,然后根据多人的标注结果综合判断植物的美感程度。例如,由三人对图像样本进行标注,当至少有两人的标注结果相同时,才将该标注结果作为该图像样本的最终标注结果。如此,各个图像样本的美感标注结果更加准确, 训练得到的美感识别模型的识别准确率也更高,当利用训练完成的美感识别模型在进行植物美感识别时,可以避免造成误识别,提高识别准确率。It should be noted that when labeling the beauty of the plants in the image sample, the beauty can be divided into multiple levels according to the degree of quality from high to low, such as beautiful, good, and fair. However, because people's judgments on the beauty of plants are very subjective, different people may have different judgments on the beauty of the same plant. Therefore, when labeling the beauty of the plants in the image sample, multiple people can separately label, and then comprehensively judge the beauty of the plants based on the labeling results of multiple people. For example, an image sample is annotated by three persons, and when at least two have the same annotation result, the annotation result is used as the final annotation result of the image sample. In this way, the beauty labeling results of each image sample are more accurate, and the recognition accuracy of the trained beauty recognition model is also higher. When the trained beauty recognition model is used for plant beauty recognition, misrecognition can be avoided and the recognition accuracy can be improved. Rate.
实际应用中,针对不同植物,在训练时会获取大量美感为优秀的样本图像,当利用训练完成的美感识别模型识别某一植物图像时,若该植物图像近似于某一美感优秀样本图像达到预设的阈值(例如80%)后即认定该植物图像为优秀,并根据特征值近似度对其进行评分,例如,若特征值近似度为98%,则将该植物图像作为美感优秀的植物图像,并且对其评分为98分。同样的,针对美感良好、一般或者较差的植物图像也进行相同处理。如此,通过评分的方式可以准确的表征植物的美感程度。同时,当所述美感识别模型对所述植物提取的植物图像特征接近于美感优秀的标准时,可将该植物标识为美感优秀的植物,进而将该植物图像进行推荐分享。In practical applications, for different plants, a large number of sample images with excellent aesthetics will be obtained during training. When the trained aesthetic recognition model is used to identify a plant image, if the plant image is similar to a sample image with excellent aesthetics, it will reach the expected level. Set a threshold (for example, 80%) to determine the plant image as excellent, and score it according to the similarity of the feature value. For example, if the similarity of the feature value is 98%, the plant image is regarded as a plant image with excellent aesthetics. , And scored 98 points. In the same way, the same processing is applied to plant images with good, average, or poor aesthetics. In this way, the degree of beauty of plants can be accurately characterized by the way of scoring. At the same time, when the plant image features extracted from the plant by the aesthetic recognition model are close to the standard of excellent aesthetics, the plant can be identified as a plant with excellent aesthetics, and then the plant image can be recommended for sharing.
进一步的,当确定出一部位的生长状态异常时,例如存在虫洞,还可以调用预先训练建立的病虫害识别模型对所述植物图像进行识别,以判断所述植物是否具有病虫害,以及在有病虫害的情况下得到至少一个候选病虫害信息;同时,结合所述植物的种类,对所述至少一个候选病虫害信息进行筛选,以确定所述植物的病虫害信息。如前所述,确定某一部位生长状态异常,可以通过植物状态识别模型来判断,当采用所述植物状态识别模型识别该部位的生长状态,识别出的状态等级低于预设等级时则判定该部位的生长状态为异常。例如,预设等级可以设置为一般,当识别出的状态等级为一般或较差时判定该部位的生长状态为异常,此时需要进一步识别该部位生长状态异常是否是由于病虫害引起的。Further, when it is determined that the growth state of a part is abnormal, for example, there is a wormhole, a pest identification model established by pre-training can also be called to identify the plant image, so as to determine whether the plant has pests, and whether there are pests or diseases. In the case of obtaining at least one candidate disease and insect pest information; at the same time, in combination with the type of the plant, the at least one candidate disease and insect pest information is screened to determine the disease and insect pest information of the plant. As mentioned above, to determine that a certain part of the growth state is abnormal, it can be judged by the plant state recognition model. When the plant state recognition model is used to recognize the growth state of the part, and the recognized state level is lower than the preset level, it is determined The growth state of this part is abnormal. For example, the preset level can be set to fair. When the recognized state level is fair or poor, it is determined that the growth state of the part is abnormal. At this time, it is necessary to further identify whether the abnormal growth state of the part is caused by plant diseases and insect pests.
具体的,所述病虫害识别模型可以识别出所述植物图像中是否具有病虫害,如果有还可以输出至少一个可能的病虫害作为候选病虫害信息。然后可以结合识别出的所述植物的种类,对候选病虫害信息进行筛选,从中筛选出与植物种类相匹配的病虫害,从而避免输出不准确的病虫害信息给用户。例如,所述病虫害识别模型对某一植物图像进行识别,识别出四种病虫害信息A、B、C、D,若其中仅有病虫害信息A会出现在该种类的植物上,则可以确定病虫害信息A为该植物的病虫害。若其中的病虫害信息A、B均可能会出现在该种类的植物上,则可以根据这两种病虫害出现的概率以及模型的识别准 确率综合判断该植物的病虫害信息实际上是A还是B。优选的,若确定出所述植物的病虫害信息,还可以向用户输出具体的病虫害信息以及应对方法,以便提醒用户该植物存在病虫害,并给出具体建议以消除病虫害。另外,若所述病虫害识别模型无法识别出具体的病虫害信息,还可以引导用户另外上传图片进行病虫害识别,或者引导用户采用进行专家识别从而由人工诊断病虫害信息。Specifically, the pest identification model can identify whether there are pests and diseases in the plant image, and if so, it can also output at least one possible pest and disease as candidate pest information. Then, the candidate pest information can be screened in combination with the identified plant species, and the pests matching the plant species can be screened out, so as to avoid outputting inaccurate pest information to the user. For example, the disease and insect pest identification model recognizes a certain plant image and recognizes four kinds of pest information A, B, C, and D. If only the pest information A will appear on that kind of plant, the pest information can be determined A is the pests and diseases of the plant. If both of the pest information A and B may appear on the plant of this type, then it can be comprehensively judged whether the plant’s pest information is actually A or B based on the occurrence probability of these two pests and the recognition accuracy of the model. Preferably, if the plant disease and insect pest information is determined, the user can also output specific disease and insect pest information and countermeasures to remind the user that the plant has disease and insect pests and give specific suggestions to eliminate the plant diseases and insect pests. In addition, if the pest identification model fails to identify specific pest information, it can also guide users to upload additional pictures for pest identification, or guide users to use expert identification to manually diagnose pest information.
所述病虫害识别模型为神经网络模型,例如可以是深度卷积神经网络(CNN)或深度残差网络(Resnet)。其训练步骤可以包括:步骤a,获取训练样本集,所述训练样本集中的每一样本标注有植物是否存在病虫害以及病虫害信息;步骤b,获取测试样本集,所述测试样本集中的每一样本也标注有植物是否存在病虫害以及病虫害信息,其中,所述测试样本集不同于所述训练样本集;步骤c,基于所述训练样本集对所述病虫害识别模型进行训练;步骤d,基于所述测试样本集对所述病虫害识别模型进行测试;步骤e,在所述测试结果指示所述病虫害模型的识别准确率小于预设准确率时,增加所述训练样本集中的样本数量进行再次训练;以及步骤f,在所述测试结果指示所述病虫害识别模型的识别准确率大于或等于所述预设准确率时,完成训练。The pest identification model is a neural network model, for example, a deep convolutional neural network (CNN) or a deep residual network (Resnet). The training steps may include: step a, obtaining a training sample set, each sample in the training sample set is labeled with plant diseases and insect pests and disease and pest information; step b, obtaining a test sample set, each sample in the test sample set It is also marked whether there are plant diseases and insect pests and information on plant diseases and insect pests, wherein the test sample set is different from the training sample set; step c, training the pest identification model based on the training sample set; step d, based on the training sample set; The test sample set tests the disease and insect pest identification model; step e, when the test result indicates that the recognition accuracy rate of the disease and insect pest model is less than a preset accuracy rate, increase the number of samples in the training sample set for retraining; and Step f: When the test result indicates that the recognition accuracy rate of the pest identification model is greater than or equal to the preset accuracy rate, the training is completed.
在训练时,每个植物种类获取一定数量的标注有对应信息的图像样本,为每个植物种类准备的图像样本的数量可以相等也可以不等。为每个图像样本标注的对应信息可以包括图像样本中的植物是否存在病虫害以及病虫害信息等。其中,训练样本集和测试样本集可以采用与上述植物种类识别模型或植物部位识别模型或植物状态识别模型或美感识别模型相同的样本集,也可以采用不同的样本集,本实施例对此不做限定。During training, each plant species acquires a certain number of image samples labeled with corresponding information, and the number of image samples prepared for each plant species can be equal or unequal. The corresponding information annotated for each image sample may include whether the plants in the image sample have diseases and insect pests, and information on the diseases and insect pests. Among them, the training sample set and the test sample set can be the same sample set as the above-mentioned plant species recognition model, plant part recognition model, plant state recognition model, or aesthetic recognition model, or different sample sets can be used, which is not the case in this embodiment. Make a limit.
S104,根据各个部位的生长状态,综合评估所述植物的养护状态。S104: Comprehensively evaluate the conservation status of the plant according to the growth status of each part.
在步骤S103获得各个部位的生长状态后,可以综合评估植物的养护状态,例如,若各个部位的生长状态都是优秀,则可确定该植物的养护状态为优秀,若生长状态一般或较差的部位较多,则可确定该植物的养护状态一般或较差。另外,优选采用评分的方式来评估植物的养护状态。例如,如前所述在识别各个部位的生长状态时,为各个部位进行了评分,然后将各个部位的分值进行相加,若总分值超过一定阈值,则认为该植物的养护状态良好或优秀,反 之,若总分值低于一定阈值,则认为该植物的养护状态一般或较差。After obtaining the growth status of each part in step S103, the maintenance status of the plant can be comprehensively evaluated. For example, if the growth status of each part is excellent, it can be determined that the maintenance status of the plant is excellent, if the growth status is average or poor If there are more parts, it can be determined that the conservation status of the plant is average or poor. In addition, it is preferable to use a scoring method to evaluate the conservation status of plants. For example, when identifying the growth status of each part as mentioned above, each part is scored, and then the scores of each part are added up. If the total score exceeds a certain threshold, the plant is considered to be in good conservation status or Excellent, on the contrary, if the total score is lower than a certain threshold, it is considered that the conservation status of the plant is average or poor.
另外,在评估植物的养护状态时,还可以结合病虫害信息以及美感程度进行综合评估,即,当植物各部位的生长状态均良好或优秀,同时没有病虫害信息,且美感程度较高,则认为该植物的养护状态为良好或优秀。In addition, when assessing the conservation status of plants, it can also be combined with pest information and aesthetics for comprehensive assessment. That is, when the growth status of each part of the plant is good or excellent, and there is no pest information, and the aesthetics is high, it is considered The conservation status of the plant is good or excellent.
综上所述,本发明的植物状态评估方法,在接收到用户上传的植物图像,识别所述植物图像中的植物以得到所述植物的种类,并识别所述植物图像中所包含的植物的部位,然后确定各个部位的生长状态,从而根据各个部位的生长状态,综合评估所述植物的养护状态。本发明通过人工智能的方式客观的确定植物各部位的生长状态并综合评估,从而能够可以简便、快速、准确地评估植物的养护状态。To sum up, the plant state assessment method of the present invention, upon receiving a plant image uploaded by a user, recognizes the plant in the plant image to obtain the type of the plant, and recognizes the status of the plant contained in the plant image Parts, and then determine the growth status of each part, so as to comprehensively evaluate the conservation status of the plant according to the growth status of each part. The invention objectively determines the growth state of each part of the plant and comprehensively evaluates it through artificial intelligence, so that the conservation state of the plant can be easily, quickly and accurately evaluated.
基于同一发明构思,本发明还提供了一种植物状态评估系统。如图3所示,植物状态评估系统200可以包括处理器210和存储器220,存储器220上存储有指令,当指令被处理器210执行时,可以实现如上文所描述的植物状态评估方法中的步骤。Based on the same inventive concept, the present invention also provides a plant state assessment system. As shown in FIG. 3, the plant state assessment system 200 may include a processor 210 and a memory 220. The memory 220 stores instructions. When the instructions are executed by the processor 210, the steps in the plant state assessment method described above can be implemented. .
其中,处理器210可以根据存储在存储器220中的指令执行各种动作和处理。具体地,处理器210可以是一种集成电路芯片,具有信号的处理能力。上述处理器可以是通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中公开的各种方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,可以是X86架构或者是ARM架构等。The processor 210 may perform various actions and processing according to instructions stored in the memory 220. Specifically, the processor 210 may be an integrated circuit chip with signal processing capability. The above-mentioned processor may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, or discrete hardware components. Various methods, steps, and logical block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc., and may be an X86 architecture or an ARM architecture.
存储器220存储有可执行指令,该指令在被处理器210执行上文所述的植物状态评估方法。存储器220可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。非易失性存储器可以是只读存储器(ROM)、可编程只读存储器(PROM)、可擦除可编程只读存储器(EPROM)、电可擦除可编程只读存储器(EEPROM)或闪存。易失性存储器可以是随机存取存储器(RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、同步动态随机存取存储器(SDRAM)、双倍数据速率同步 动态随机存取存储器(DDRSDRAM)、增强型同步动态随机存取存储器(ESDRAM)、同步连接动态随机存取存储器(SLDRAM)和直接内存总线随机存取存储器(DR RAM)。应注意,本文描述的方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。The memory 220 stores executable instructions, which are executed by the processor 210 in the above-mentioned plant state assessment method. The memory 220 may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read only memory (ROM), programmable read only memory (PROM), erasable programmable read only memory (EPROM), electrically erasable programmable read only memory (EEPROM), or flash memory. Volatile memory may be random access memory (RAM), which acts as an external cache. By way of exemplary but not restrictive description, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic Random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous connection dynamic random access memory (SLDRAM), and direct memory bus random access memory (DR RAM). It should be noted that the memory of the method described herein is intended to include, but is not limited to, these and any other suitable types of memory.
基于同一发明构思,本发明还提供了一种计算机可读存储介质,计算机可读存储介质上存储有指令,当指令被执行时,可以实现上文所描述的植物状态评估方法中的步骤。Based on the same inventive concept, the present invention also provides a computer-readable storage medium with instructions stored on the computer-readable storage medium. When the instructions are executed, the steps in the above-described plant state assessment method can be implemented.
类似地,本发明实施例中的计算机可读存储介质可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。应注意,本文描述的计算机可读存储介质旨在包括但不限于这些和任意其它适合类型的存储器。Similarly, the computer-readable storage medium in the embodiment of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. It should be noted that the computer-readable storage media described herein are intended to include, but are not limited to, these and any other suitable types of memory.
需要说明的是,附图中的流程图和框图,图示了按照本发明各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,所述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。It should be noted that the flowcharts and block diagrams in the drawings illustrate the possible implementation architecture, functions, and operations of the system, method, and computer program product according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagram may represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more logic for implementing the specified Executable instructions for the function. It should also be noted that, in some alternative implementations, the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown one after another can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
一般而言,本发明的各种示例实施例可以在硬件或专用电路、软件、固件、逻辑,或其任何组合中实施。某些方面可以在硬件中实施,而其他方面可以在可以由控制器、微处理器或其他计算设备执行的固件或软件中实施。当本发明的实施例的各方面被图示或描述为框图、流程图或使用某些其他图形表示时,将理解此处描述的方框、装置、系统、技术或方法可以作为非限制性的示例在硬件、软件、固件、专用电路或逻辑、通用硬件或控制器或其他计算设备,或其某些组合中实施。Generally speaking, the various exemplary embodiments of the present invention may be implemented in hardware or special purpose circuits, software, firmware, logic, or any combination thereof. Certain aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor, or other computing device. When various aspects of the embodiments of the present invention are illustrated or described as block diagrams, flowcharts, or using some other graphical representation, it will be understood that the blocks, devices, systems, techniques, or methods described herein can be regarded as non-limiting Examples are implemented in hardware, software, firmware, dedicated circuits or logic, general-purpose hardware or controllers or other computing devices, or some combination thereof.
需要说明的是,本说明书中的各个实施例均采用相关的方式描述,各个 实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统、计算机可读存储介质而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。It should be noted that the various embodiments in this specification are described in a related manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. . In particular, as for the system and the computer-readable storage medium, since they are basically similar to the method embodiments, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiments.
在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。In this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such existence between these entities or operations. The actual relationship or order. Moreover, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes those that are not explicitly listed Other elements of, or also include elements inherent to this process, method, article or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or equipment that includes the element.
上述描述仅是对本发明较佳实施例的描述,并非对本发明范围的任何限定,本发明领域的普通技术人员根据上述揭示内容做的任何变更、修饰,均属于权利要求书的保护范围。The above description is only a description of the preferred embodiments of the present invention and does not limit the scope of the present invention in any way. Any changes or modifications made by a person of ordinary skill in the field of the present invention based on the above disclosure shall fall within the protection scope of the claims.
Claims (14)
- 一种植物状态评估方法,其特征在于,包括:A method for assessing the state of plants, characterized in that it comprises:接收植物图像,识别所述植物图像中的植物以得到所述植物的种类;Receiving a plant image, and identifying plants in the plant image to obtain the type of the plant;识别所述植物图像中所包含的植物的部位;Identifying the plant parts contained in the plant image;确定所述植物的各个部位的生长状态;Determining the growth state of each part of the plant;根据所述植物的各个部位的生长状态,综合评估所述植物的养护状态。According to the growth state of each part of the plant, the conservation state of the plant is comprehensively evaluated.
- 如权利要求1所述的植物状态评估方法,其特征在于,所述识别所述植物图像中所包含的所述植物的部位,包括:The method for evaluating the state of a plant according to claim 1, wherein said recognizing the part of said plant contained in said plant image comprises:利用预先训练建立的植物部位识别模型识别所述植物图像中的植物,以得到所包含的所述植物的部位,所述植物部位识别模型为神经网络模型。The plant part recognition model established by pre-training is used to recognize plants in the plant image to obtain the contained plant parts, and the plant part recognition model is a neural network model.
- 如权利要求1所述的植物状态评估方法,其特征在于,确定所述植物的各个部位的生长状态,包括:The method for evaluating plant state according to claim 1, wherein determining the growth state of each part of the plant comprises:利用预先训练建立的植物状态识别模型对所述植物的各个部位分别进行识别,以得到所述植物的各个部位的生长状态,所述植物状态识别模型为神经网络模型。The plant state recognition model established by pre-training is used to separately recognize each part of the plant to obtain the growth state of each part of the plant, and the plant state recognition model is a neural network model.
- 如权利要求1所述的植物状态评估方法,其特征在于,当确定出一部位的生长状态异常时,所述方法还包括:The method for evaluating plant state according to claim 1, wherein when it is determined that the growth state of a part is abnormal, the method further comprises:调用预先训练建立的病虫害识别模型对所述植物图像进行识别,以判断所述植物是否具有病虫害,以及在有病虫害的情况下得到至少一个候选病虫害信息;Calling a pre-trained pest identification model to identify the plant image, to determine whether the plant has a pest, and obtain at least one candidate pest information if there is a pest;结合所述植物的种类,对所述至少一个候选病虫害信息进行筛选,以确定所述植物的病虫害信息。The at least one candidate pest information is screened in combination with the species of the plant to determine the pest information of the plant.
- 如权利要求1所述的植物状态评估方法,其特征在于,所述生长状态按照好坏程度从高到低分为多个等级,当确定出一部位的生长状态不高于预设等级时,输出该部位生长状态不高的可能原因以及应对方法。The method for evaluating plant state according to claim 1, wherein the growth state is divided into a plurality of levels according to the degree of quality from high to low, and when it is determined that the growth state of a part is not higher than a preset level, The possible reasons and countermeasures for the low growth status of this part are output.
- 如权利要求1所述的植物状态评估方法,其特征在于,确定所述植物的各个部位的生长状态,包括:The method for evaluating plant state according to claim 1, wherein determining the growth state of each part of the plant comprises:结合所述植物的种类,确定所述植物的各个部位的生长状态。The growth state of each part of the plant is determined in combination with the type of the plant.
- 如权利要求1所述的植物状态评估方法,其特征在于,在识别所述植物图像中的植物以得到所述植物的种类时,识别所述植物当前的生长周期;4. The method for evaluating plant state according to claim 1, wherein when identifying plants in the plant image to obtain the type of the plants, identifying the current growth cycle of the plants;所述确定所述植物的各个部位的生长状态,包括:The determining the growth state of each part of the plant includes:结合所述植物当前所处的生长周期,确定所述植物的各个部位的生长状态。Combining with the current growth cycle of the plant, the growth state of each part of the plant is determined.
- 如权利要求3所述的植物状态评估方法,其特征在于,若所述植物状态识别模型无法识别一部位的生长状态,所述确定所述植物的各个部位的生长状态,包括:3. The plant state assessment method of claim 3, wherein if the plant state recognition model cannot identify the growth state of a part, the determining the growth state of each part of the plant comprises:向用户收集所述植物的养护信息,根据所述养护信息确定该部位的生长状态。Collect maintenance information of the plant from the user, and determine the growth state of the part according to the maintenance information.
- 如权利要求8所述的植物状态评估方法,其特征在于,通过问卷的形式向用户收集所述植物的养护信息,所述问卷中的题目是根据所述植物的种类确定的。8. The plant state assessment method according to claim 8, wherein the conservation information of the plant is collected from the user in the form of a questionnaire, and the questions in the questionnaire are determined according to the type of the plant.
- 如权利要求3所述的植物状态评估方法,其特征在于,根据所述植物状态识别模型对所述植物的各个部位的识别结果,判断所述植物的养护状态是否属于优秀,如果是,则将所述植物图像进行推荐分享。The plant state assessment method according to claim 3, characterized in that, according to the recognition result of each part of the plant by the plant state recognition model, it is judged whether the conservation state of the plant is excellent, and if it is, the The plant image is recommended for sharing.
- 如权利要求1所述的植物状态评估方法,其特征在于,利用预先训练建立的美感识别模型识别所述植物图像中的植物,以得到所述植物的美感程度,所述美感识别模型为神经网络模型。The plant state assessment method according to claim 1, wherein the beauty recognition model established by pre-training is used to recognize plants in the plant image to obtain the beauty degree of the plant, and the beauty recognition model is a neural network Model.
- 如权利要求11所述的植物状态评估方法,其特征在于,所述美感程度从高到低分为多个等级,若所述植物的养护状态好且美感程度高,则将所述植物图像进行推荐分享。The method for evaluating the state of plants according to claim 11, wherein the degree of beauty is divided into multiple levels from high to low, and if the state of conservation of the plant is good and the degree of beauty is high, the plant image is Recommend to share.
- 一种植物状态评估系统,其特征在于,所述系统包括处理器和存储器,所述存储器上存储有指令,当所述指令被所述处理器执行时,实现如权利要求1至12中任一项所述的植物状态评估方法的步骤。A plant state assessment system, characterized in that the system comprises a processor and a memory, and instructions are stored on the memory, and when the instructions are executed by the processor, the system can implement any one of claims 1 to 12 The steps of the method for assessing the state of plants described in the item.
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有指令,当所述指令被执行时,实现如权利要求1至12中任一项所述的植物状态评估方法的步骤。A computer-readable storage medium, characterized in that instructions are stored on the computer-readable storage medium, and when the instructions are executed, the plant state assessment method according to any one of claims 1 to 12 is realized A step of.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010378128.7A CN113627216B (en) | 2020-05-07 | 2020-05-07 | Plant state evaluation method, system and computer readable storage medium |
CN202010378128.7 | 2020-05-07 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021223607A1 true WO2021223607A1 (en) | 2021-11-11 |
Family
ID=78376873
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/089485 WO2021223607A1 (en) | 2020-05-07 | 2021-04-25 | Method and system for evaluating state of plant, and computer readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113627216B (en) |
WO (1) | WO2021223607A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116523352A (en) * | 2023-07-05 | 2023-08-01 | 浙江榧圣农业科技有限公司 | Forest resource information management method and system |
CN116997053A (en) * | 2023-09-26 | 2023-11-03 | 北京猫猫狗狗科技有限公司 | Plant lamp illumination control method |
CN117079140A (en) * | 2023-10-13 | 2023-11-17 | 金埔园林股份有限公司 | Landscape plant planting management method |
CN118211823A (en) * | 2024-02-18 | 2024-06-18 | 北京科百宏业科技有限公司 | Agricultural equipment wind control early warning method and system, electronic equipment and storage medium |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114565846A (en) * | 2022-02-24 | 2022-05-31 | 杭州睿胜软件有限公司 | Plant growing environment identification method and equipment and computer readable storage medium |
CN114663762A (en) * | 2022-03-28 | 2022-06-24 | 杭州睿胜软件有限公司 | Method and computer system for assisting user in plant maintenance |
CN114973001B (en) * | 2022-06-17 | 2023-02-03 | 东北林业大学 | Wetland plant growth information monitoring method |
CN115956486A (en) * | 2022-12-20 | 2023-04-14 | 杭州睿胜软件有限公司 | Method and system for maintaining new plants and readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101881726A (en) * | 2010-06-18 | 2010-11-10 | 北京农业智能装备技术研究中心 | Nondestructive detection method for comprehensive character living bodies of plant seedlings |
CN108694444A (en) * | 2018-05-15 | 2018-10-23 | 重庆科技学院 | A kind of plant cultivating method based on intelligent data acquisition Yu cloud service technology |
US10113910B2 (en) * | 2014-08-26 | 2018-10-30 | Digimarc Corporation | Sensor-synchronized spectrally-structured-light imaging |
CN109948652A (en) * | 2019-02-14 | 2019-06-28 | 天津科技大学 | A kind of plant species recognition methods of the local discriminant CCA based on leaf flower fusion |
CN109993228A (en) * | 2019-04-02 | 2019-07-09 | 南通科技职业学院 | Plant protection drone rice sheath blight disease recognition methods based on machine vision |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE4340096A1 (en) * | 1992-11-27 | 1994-06-01 | Basf Ag | Evaluation of plant fertilisation trials by infrared image analysis - is based on photographs taken and processed after allowance of time for growth to be enhanced by soil treatment |
WO2012063455A1 (en) * | 2010-11-08 | 2012-05-18 | 国立大学法人 愛媛大学 | Plant health diagnostic method and plant health diagnostic device |
CN106605530B (en) * | 2015-10-27 | 2020-11-06 | 上海中医药大学 | Automatic monitoring and cultivating method for potted plant and intelligent flowerpot |
CN106444378B (en) * | 2016-10-10 | 2019-07-12 | 重庆科技学院 | Plant cultivating method and system based on Internet of Things big data analysis |
CN107064470A (en) * | 2016-11-28 | 2017-08-18 | 青岛理工大学 | Plant growth characteristic index evaluation method for plant growth concrete |
CN109406412A (en) * | 2017-08-18 | 2019-03-01 | 广州极飞科技有限公司 | A kind of plant health method for monitoring state and device |
CN107734029A (en) * | 2017-10-12 | 2018-02-23 | 深圳市铁汉方环境科技有限公司 | The control method of the control system of greening system, the control system of greening system |
US10803312B2 (en) * | 2018-06-06 | 2020-10-13 | AgEYE Technologies, Inc. | AI-powered autonomous plant-growth optimization system that automatically adjusts input variables to yield desired harvest traits |
CN109541966A (en) * | 2018-07-09 | 2019-03-29 | 菏泽学院 | Plant physiology monitoring management system |
CN109635653A (en) * | 2018-11-09 | 2019-04-16 | 华南农业大学 | A kind of plants identification method |
CN109815846B (en) * | 2018-12-29 | 2021-08-27 | 腾讯科技(深圳)有限公司 | Image processing method, image processing apparatus, storage medium, and electronic apparatus |
CN109840549B (en) * | 2019-01-07 | 2021-04-27 | 武汉南博网络科技有限公司 | Method and device for identifying plant diseases and insect pests |
CN110070101B (en) * | 2019-03-12 | 2024-05-14 | 平安科技(深圳)有限公司 | Plant species identification method and device, storage medium and computer equipment |
CN110210434A (en) * | 2019-06-10 | 2019-09-06 | 四川大学 | Pest and disease damage recognition methods and device |
CN110555416B (en) * | 2019-09-06 | 2021-09-03 | 杭州睿琪软件有限公司 | Plant identification method and device |
-
2020
- 2020-05-07 CN CN202010378128.7A patent/CN113627216B/en active Active
-
2021
- 2021-04-25 WO PCT/CN2021/089485 patent/WO2021223607A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101881726A (en) * | 2010-06-18 | 2010-11-10 | 北京农业智能装备技术研究中心 | Nondestructive detection method for comprehensive character living bodies of plant seedlings |
US10113910B2 (en) * | 2014-08-26 | 2018-10-30 | Digimarc Corporation | Sensor-synchronized spectrally-structured-light imaging |
CN108694444A (en) * | 2018-05-15 | 2018-10-23 | 重庆科技学院 | A kind of plant cultivating method based on intelligent data acquisition Yu cloud service technology |
CN109948652A (en) * | 2019-02-14 | 2019-06-28 | 天津科技大学 | A kind of plant species recognition methods of the local discriminant CCA based on leaf flower fusion |
CN109993228A (en) * | 2019-04-02 | 2019-07-09 | 南通科技职业学院 | Plant protection drone rice sheath blight disease recognition methods based on machine vision |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116523352A (en) * | 2023-07-05 | 2023-08-01 | 浙江榧圣农业科技有限公司 | Forest resource information management method and system |
CN116523352B (en) * | 2023-07-05 | 2023-09-22 | 浙江榧圣农业科技有限公司 | Forest resource information management method and system |
CN116997053A (en) * | 2023-09-26 | 2023-11-03 | 北京猫猫狗狗科技有限公司 | Plant lamp illumination control method |
CN116997053B (en) * | 2023-09-26 | 2023-12-26 | 北京猫猫狗狗科技有限公司 | Plant lamp illumination control method |
CN117079140A (en) * | 2023-10-13 | 2023-11-17 | 金埔园林股份有限公司 | Landscape plant planting management method |
CN117079140B (en) * | 2023-10-13 | 2024-01-23 | 金埔园林股份有限公司 | Landscape plant planting management method |
CN118211823A (en) * | 2024-02-18 | 2024-06-18 | 北京科百宏业科技有限公司 | Agricultural equipment wind control early warning method and system, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113627216B (en) | 2024-02-27 |
CN113627216A (en) | 2021-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021223607A1 (en) | Method and system for evaluating state of plant, and computer readable storage medium | |
Farjon et al. | Detection and counting of flowers on apple trees for better chemical thinning decisions | |
Vance et al. | Temporal and spatial modelling of tropical deforestation: a survival analysis linking satellite and household survey data | |
CN111767802B (en) | Method and device for detecting abnormal state of object | |
US12026964B2 (en) | Plant blooming period broadcast method and system, and computer-readable storage medium | |
WO2021135828A1 (en) | Object identification method, apparatus and device | |
CN106355143A (en) | Seed maize field identification method and system based on multi-source and multi-temporal high resolution remote sensing data | |
EP4154159B1 (en) | System and method for estimating vegetation coverage in a real-world environment | |
WO2023098463A1 (en) | Plant identification method, plant identification device, and plant identification system | |
CN109344738A (en) | The recognition methods of crop diseases and pest crop smothering and device | |
Tumang | Pests and diseases identification in mango using MATLAB | |
CN112465038A (en) | Method and system for identifying disease and insect pest types of fruit trees | |
CN116300608A (en) | Intelligent agriculture remote monitoring system based on big data | |
CN111832448A (en) | Disease identification method and system for grape orchard | |
CN114758132B (en) | Fruit tree disease and pest identification method and system based on convolutional neural network | |
Singh et al. | Proposed CNN model for tea leaf disease classification | |
Mahmud et al. | Lychee tree disease classification and prediction using transfer learning | |
Rekha et al. | Disease Detection in Tomato Plants Using CNN | |
WO2024131526A1 (en) | New plant care method and system, and readable storage medium | |
WO2023179317A1 (en) | Allergenic species broadcasting method and system and readable storage medium | |
Peerbhay et al. | Can remote sensing detect, monitor and track baboon-damaged Pinus plantations located in South Africa? | |
KR20180133612A (en) | Insect pest image analyzing method for insect pest prediction system of cash crops | |
WO2023088079A1 (en) | Display method and display system for plant disease diagnosis information, and readable storage medium | |
Dahiya et al. | An effective detection of litchi disease using deep learning | |
CN115239378A (en) | Plant valuation method, system and storage medium |
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: 21800286 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: 21800286 Country of ref document: EP Kind code of ref document: A1 |