Plant.id Health Assessment - flowerchecker/Plant-id-API Wiki

ℹ️ This is a beta version!

Plant.id Health Assessment is a feature of Plant.id API. Plant diseases identification API provides information about the plant's health and identifies specific problems.

Request

To get plant health information, be sure to include one of the following modifiers in your identification request:

🆕 To get additional information about the suggested diseases (like disease description and treatment), specify the required info in the following parameter in your request:

Use modifier disease_similar_images to get similar images of the plant health issue more info here.

requests.post(
    "https://api.plant.id/v2/identify",
    json={
        "images": images,
        "modifiers": ["health_all", "disease_similar_images"],
        # "modifiers": ["health_auto", "disease_similar_images"],
        # "modifiers": ["health_probability"],
        "plant_details": ["common_names", "url", "wiki_description", "taxonomy"],
        "disease_details": ["classification", "common_names", "description", "treatment", "url"]},
    headers={
        "Content-Type": "application/json",
        "Api-Key": "Ask for one: https://web.plant.id/api-access-request/"}
    ).json()

Response

You receive the following information in the JSON response:

You can find this JSON structure in the response of Plant.id API.

"health_assessment":{
   "is_healthy_probability":0.00021094099999996452,
   "is_healthy":false,
   "diseases":[
      {
         "classification":[],
         "entity_id":456,
         "name":"Abiotic",
         "probability":0.6114354365801562,
         "disease_details":{
            "common_names":["abiotic disorder", "physiological plant disorder"],
            "url":"https://en.wikipedia.org/wiki/Physiological_plant_disorder",
            "description":"Abiotic disorders are not induced by living organisms but by unsuitable environmental conditions, such as drought stress, freeze injury, nutrient deficiency, or improper watering or planting conditions.",
            "classification":[],
            "name":"abiotic"
         },
         "similar_images":[
            {
               "id":"bb4b9632432c48118d07bc984f958e70",
               "similarity":0.38302183330692746,
               "url":"https://plant-id.ams3.cdn.digitaloceanspaces.com/similar_images/images/bb4/b9632432c48118d07bc984f958e70.jpg",
               "url_small":"https://plant-id.ams3.cdn.digitaloceanspaces.com/similar_images/images/bb4/b9632432c48118d07bc984f958e70.small.jpg"
            },
            {
               "id":"7dfe6a23c11f466fb3a8d8c3fa7ec88a",
               "similarity":0.37183201856503256,
               "url":"https://plant-id.ams3.cdn.digitaloceanspaces.com/similar_images/images/7df/e6a23c11f466fb3a8d8c3fa7ec88a.jpg",
               "url_small":"https://plant-id.ams3.cdn.digitaloceanspaces.com/similar_images/images/7df/e6a23c11f466fb3a8d8c3fa7ec88a.small.jpg"
            }
         ]
      },
      {
         "classification":[
            "Abiotic",
            "Water-related issue"
         ],
         "entity_id":907,
         "name":"Water deficiency",
         "probability":0.5361948279537979,
         "disease_details":{
            "common_names":["drought"],
            "url":"https://www.missouribotanicalgarden.org/gardens-gardening/your-garden/help-for-the-home-gardener/advice-tips-resources/pests-and-problems/environmental/drought.aspx",
            "description":"Water deficiency is similar in its symptoms to over-watering and it is important to identify the cause. Symptoms include slow growth, wilting, discolored leaves and flowers, burning on edges of leaves. The affected plant can also suffer from disrupted nutrient uptake.",
            "classification":["abiotic", "water-related issue"],
            "name":"water deficiency"
         },
         "similar_images":[
            {
               "id":"294d2b7d5ed2429f9b0fcd27ddc04e39",
               "similarity":0.38147697204387565,
               "url":"https://plant-id.ams3.cdn.digitaloceanspaces.com/similar_images/images/294/d2b7d5ed2429f9b0fcd27ddc04e39.jpg",
               "url_small":"https://plant-id.ams3.cdn.digitaloceanspaces.com/similar_images/images/294/d2b7d5ed2429f9b0fcd27ddc04e39.small.jpg"
            },
            {
               "id":"646bc50b9c3e42d2a0982f52496c6a8a",
               "similarity":0.35747052366776955,
               "url":"https://plant-id.ams3.cdn.digitaloceanspaces.com/similar_images/images/646/bc50b9c3e42d2a0982f52496c6a8a.jpg",
               "url_small":"https://plant-id.ams3.cdn.digitaloceanspaces.com/similar_images/images/646/bc50b9c3e42d2a0982f52496c6a8a.small.jpg"
            }
         ]
      },
      {
         "classification":["Abiotic"],
         "entity_id":941,
         "name":"Water-related issue",
         "probability":0.4993904997761782,
         "disease_details":{
            "common_names":null,
            "url":"https://en.wikipedia.org/wiki/Houseplant_care#Water_requirement",
            "description":"Water-related abiotic issues refer to abiotic stresses caused by inadequate watering, including water excess, uneven watering, and water deficiency.",
            "classification":["abiotic"],
            "name":"water-related issue"
         },
         "similar_images":[
            {
               "id":"7f1b7a2caa7148d0945f06f7440f7d67",
               "similarity":0.39691319990649643,
               "url":"https://plant-id.ams3.cdn.digitaloceanspaces.com/similar_images/images/7f1/b7a2caa7148d0945f06f7440f7d67.jpg",
               "url_small":"https://plant-id.ams3.cdn.digitaloceanspaces.com/similar_images/images/7f1/b7a2caa7148d0945f06f7440f7d67.small.jpg"
            },
            {
               "id":"8c007dd487ef4faeaca5128afbe00a7e",
               "similarity":0.3482401716908786,
               "url":"https://plant-id.ams3.cdn.digitaloceanspaces.com/similar_images/images/8c0/07dd487ef4faeaca5128afbe00a7e.jpg",
               "url_small":"https://plant-id.ams3.cdn.digitaloceanspaces.com/similar_images/images/8c0/07dd487ef4faeaca5128afbe00a7e.small.jpg"
            }
         ]
      }
   ]
}

Diseases

If the plant is not healthy (is_healthy is false), the problems are listed in the diseases list. There are 8 root categories: Abiotic, Animalia, Bacteria, Canker, Chromista, Fungi, Senescence, and Viruses.

With Plant.id API you can recognize: