Saarthak Kamra
All projects

Computer vision · Raspberry Pi

Project Bhoomi

I wanted to spot signs of crop stress in aerial images and get a location for each detection.

Close-up of the Bhoomi quadcopter in flight
Vision
YOLOv5 and TensorFlow Lite
Onboard computer
Raspberry Pi
Output
Estimated GPS coordinates

From detection to coordinates

I built a synthetic dataset for crop-stress detection, then worked out how to turn an image detection into an estimated GPS location.

YOLOv5 tester showing an aerial image, detection marker and estimated GPS coordinates
The original test window in GPS mode.

Getting it to run on the Pi

The part I got stuck on the longest was getting the TensorFlow Lite model to actually run on the Raspberry Pi. I had to get the model exported first, then work through the dependency issues on the Pi.

Once that was running, I connected the Pi to the drone over UART so the Pi could send it commands. That was the bit where it finally felt like all the pieces were working together.

One of the first flight tests with the Raspberry Pi controlling the drone.