Skip to main content

Differentiating Crops from Soil Using VARI and Drones 🌾

Updated 4 min readMarkdown

A UAV-Based Approach to Assess Crop Health from Aerial Images

🌟 Hero Introduction

Healthy crops are the backbone of food security — but how do we detect problems before it’s too late?
In this project, our team from Agni College of Technology built a drone-based vegetation monitoring system that uses RGB imagery and the VARI (Visible Atmospherically Resistant Index) to identify stressed or diseased crops directly from the air.

Unlike traditional NDVI-based methods that require infrared sensors, our solution relies only on a standard RGB camera, making it affordable, scalable, and practical for farmers in real-world conditions.

1. Why Crop Health Detection Matters

Farmers often lose yield because parts of their fields experience stress — drought, nutrient deficiency, or disease — long before visible signs appear. Ground-level inspection is time-consuming and subjective.

Our objective was clear:

Use a UAV equipped with an RGB camera to automatically differentiate healthy crops from unhealthy ones by analyzing reflected light from the field.

This helps farmers act early — saving resources and improving yield.


2. The Core Idea: Vegetation Indices

A Vegetation Index (VI) is a mathematical way to emphasize vegetation in an image. It uses combinations of color bands to highlight where plants are thriving or struggling.

While there are several vegetation indices, we focused on VARI because it works perfectly with RGB imagery — no special sensors required.


3. What Is VARI?

VARI (Visible Atmospherically Resistant Index) estimates vegetation health using visible light (red, green, and blue). It’s resistant to changes in lighting conditions and haze, making it ideal for aerial crop analysis.

📘 Formula

VARI=(Green−Red)(Green+Red−Blue)\text{VARI} = \frac{(Green - Red)}{(Green + Red - Blue)}VARI=(Green+Red−Blue)(Green−Red)​

🌱 How It Works

  • Healthy crops reflect more green light than red.

  • Diseased or dry crops reflect more red or brownish tones.

  • Soil and background show minimal green reflectance.

By applying this formula pixel-by-pixel, we can build a “heatmap” of vegetation vigor.


4. Data Processing Workflow

Here’s how the system transforms drone images into actionable insights:

Step 1: Data Acquisition

Our UAV captures geo-tagged RGB images across the field. Each image carries GPS metadata, allowing precise spatial mapping.

Step 2: Preprocessing with Pix4D

The images are stitched together using Pix4D, producing an orthomosaic and separating color bands (Red, Green, Blue).

Step 3: VARI Computation in QGIS

We load the processed images into QGIS, then apply the formula:

(Green - Red) / (Green + Red - Blue)

The result is a VARI map — a new raster layer where each pixel corresponds to a vegetation health value.

Step 4: Visualization

  • High VARI (green) → healthy vegetation

  • Low VARI (red/brown) → stressed or unhealthy crops

  • Near-zero VARI → bare soil

Step 5: Field Insights

By overlaying the VARI map with GPS coordinates, farmers can identify exactly where intervention is needed.


5. Drone Fabrication and Setup

Our custom-built quadcopter served as the foundation of the project.

🧩 Flight Controller

An Arduino-compatible APM flight controller was used, featuring:

  • 3-axis gyro, accelerometer, and magnetometer

  • High-performance barometer for altitude hold

  • Data logging capability

  • GPS module (NEO-M8N) for precise geo-tagging (accuracy ≈ 0.9 m)

⚙️ Propulsion System

  • DYS D3536-9 910KV brushless motors

  • 30A ESCs (Electronic Speed Controllers)

  • 10-inch propellers

  • 3S LiPo 5200 mAh battery with XT60 connector

Each motor delivers ~1050 g thrust — more than enough for a stable flight with payload.

📡 Radio System

  • FlySky FS-i6 transmitter with FS-iA6B receiver

  • Control range: up to 800 m

🔧 Calibration and Firmware

We installed ArduCopter 3.2.1 firmware using Mission Planner, then:

  • Calibrated the compass, accelerometer, and radio controls.

  • Verified all channel inputs and outputs visually.

  • Configured the quadcopter “X” frame for balanced control.

After calibration, the drone was ready for test flights and image acquisition.


6. Results

The VARI map effectively differentiated between:

  • ✅ Healthy crops: bright green regions, high VARI values.

  • ⚠️ Stressed/diseased crops: reddish or brown areas, lower VARI.

  • 🟫 Soil or barren land: neutral or near-zero values.

This proved that VARI using RGB data is a reliable, low-cost method for crop health monitoring — even without infrared sensors.


7. Applications

  • 🚜 Precision Agriculture: Monitor field health and apply fertilizers or water precisely where needed.

  • 🛰️ Surveillance: Detect anomalies and prevent crop loss.

  • 🤖 Autonomous Operations: Enable fully automated drone flights for recurring health assessments.


8. Outcome

A working autonomous UAV capable of identifying crop health using RGB imagery and the VARI vegetation index.

This approach allows scalable, affordable, and data-driven crop monitoring suitable for small to medium-scale farms.


9. Future Enhancements

  • Flight Automation: Program repeatable missions for weekly or seasonal analysis.

  • Cloud Integration: Upload VARI results to a web dashboard for farmers to access remotely.

  • Time-Series Analysis: Compare VARI values over time to predict yield and growth trends.

10.Project images

No comments yet. Be the first to comment.