Skip to content

Supported Crops

Reference list of crop types supported by the crop_type parameter.


How Crop Filtering Works

The crop_type parameter is optional. When provided:

  • The AI prioritizes diseases known to affect that specific crop
  • Results are more accurate and relevant
  • The response filters out unrelated diagnoses

When omitted, the AI attempts to identify the crop automatically from the image.


Crop List

Pass these values as-is to the crop_type form parameter. All values are lowercase snake_case.

Cereals & Grains

Value Crop Common Regions
maize Maize / Corn East Africa, West Africa, Southern Africa
rice Rice West Africa, Madagascar, East Africa
wheat Wheat North Africa, East Africa, Southern Africa
sorghum Sorghum Sahel, East Africa, Southern Africa
millet Millet West Africa, Sahel, India

Legumes & Oilseeds

Value Crop Common Regions
bean Common Bean East Africa, Central Africa
peanut Peanut / Groundnut West Africa, East Africa
soybean Soybean Southern Africa, West Africa
sunflower Sunflower East Africa, Southern Africa

Vegetables

Value Crop Common Regions
tomato Tomato All Africa, Mediterranean
pepper Pepper / Chili West Africa, East Africa
potato Potato East Africa, Southern Africa
sweetpotato Sweet Potato East Africa, West Africa
cabbage Cabbage East Africa, Southern Africa
onion Onion West Africa, East Africa
cucumber Cucumber East Africa, North Africa
eggplant Eggplant / Aubergine West Africa, East Africa
okra Okra West Africa, East Africa
pumpkin Pumpkin / Squash All Africa

Fruits

Value Crop Common Regions
banana Banana / Plantain East Africa, Central Africa
mango Mango West Africa, East Africa
citrus Citrus (orange, lemon, lime) North Africa, Southern Africa
papaya Papaya East Africa, West Africa
pineapple Pineapple West Africa, East Africa
watermelon Watermelon All Africa
grape Grape / Vine North Africa, Southern Africa

Cash Crops

Value Crop Common Regions
coffee Coffee East Africa (Ethiopia, Kenya, Uganda)
cotton Cotton West Africa, East Africa
sugarcane Sugarcane East Africa, Southern Africa
tobacco Tobacco Southern Africa, East Africa

Root Crops

Value Crop Common Regions
cassava Cassava / Manioc Central Africa, West Africa, East Africa

Request Example

curl -X POST "https://api.tajirifarm.com/diagnosis/" \
  -F "image=@leaf.jpg" \
  -F "crop_type=cassava" \
  -F "region=DRC"

Custom / Unlisted Crops

The AI works with any crop

The crop_type enum covers the most common crops for our target markets. If your crop is not listed, omit the parameter — the AI will identify it automatically from the image.

Need a specific crop added? Contact us at contact@tajiri.farm.


Crop-Specific Tips

Maize

Best results when capturing: leaf lesions (close-up), ear rot, stalk damage. Common diseases detected: Maize Streak Virus, Northern Leaf Blight, Fall Armyworm damage, Gray Leaf Spot.

Cassava

Best results when capturing: leaf mosaic patterns, stem damage, root cross-sections. Common diseases detected: Cassava Mosaic Disease, Cassava Brown Streak, Bacterial Blight.

Tomato

Best results when capturing: leaf spots, fruit damage, stem lesions. Common diseases detected: Early Blight, Late Blight, Bacterial Wilt, Leaf Curl Virus.

Coffee

Best results when capturing: leaf rust spots, cherry damage, branch dieback. Common diseases detected: Coffee Leaf Rust, Coffee Berry Disease, Antestia Bug damage.