Insect habitat seen from above with each insect detected and boxed by the machine-vision model

Prototypes & R&D / AgriTech

AgriTech

Insecto: Edge AI and Computer Vision for Insect Farming

Camera and sensor units for insect habitats, and the joint PhD that built on them to automate insect monitoring with machine vision on low-cost edge hardware

  • UK and Africa
  • 2021–2026
  • SciFlair R&D
UK + AfricaInsecto units deployed in Africa and on a UK insect farm
F1 0.98beetle detection in dense, real farm crates
Pi 5full vision pipeline running on low-cost edge hardware

System Life Cycle Delivered

  1. Concept – delivered
  2. Development – delivered
  3. Production
  4. Utilisation – delivered
  5. Support
  6. Retirement

The Challenge

Insects are a promising, sustainable source of protein for animal feed, but insect farms still depend on staff inspecting crates by eye. Checking numbers, health and deformities across thousands of densely packed insects is slow, inconsistent and hard to scale.

Bristol Robotics Lab was running a project to help small-scale insect farmers in Africa. It needed low-cost units that could monitor many habitats at once, capture images at regular intervals and send the data to the cloud for analysis.

Our Role

SciFlair designed and built the Insecto units: hardware, enclosure, firmware and cloud connection. SciFlair and the University of the West of England then co-funded a PhD at the Centre for Machine Vision, Bristol Robotics Lab, which built on the Insecto platform to automate insect monitoring.

What We Built

  • Insecto units: a high-resolution camera and environmental sensors in a compact, wall-mounted enclosure, one per habitat, sending images and data to a cloud server
  • Synthetic and real-farm image datasets of mealworm beetles, released publicly for other researchers
  • Beetle detection with YOLOv8 and a sliding-window method that finds small, densely packed beetles in cluttered rearing crates
  • A memory-efficient segmentation workflow using the Segment Anything Model, applied beetle by beetle, benchmarked against Mask R-CNN, SOLOv2 and YOLO segmentation models
  • Anomaly detection with an autoencoder trained only on healthy beetles, which flags deformed or abnormal insects without needing a large library of rare defects
  • The full detection, segmentation and anomaly pipeline running on a Raspberry Pi 5, low-cost hardware suited to farm use

How It Was Developed

  1. Concept

    Defined the stakeholder needs with Bristol Robotics Lab: low cost, modular, remote monitoring of many habitats, suitable for small farms.

  2. Design and build

    Designed the Insecto unit and its enclosure in CAD, then built and tested a batch of units in our lab in 2021.

  3. Deployment

    Units were shipped to the project in Africa. Further units ran for several months on a commercial insect farm in the UK, collecting the images and environmental data later used for AI analysis.

  4. Research

    The joint PhD used the images collected by the Insecto units on the UK farm, together with synthetic datasets, to develop and compare detection, segmentation and anomaly-detection models for mealworm beetles.

  5. Edge deployment

    Validated the complete machine-vision pipeline on a Raspberry Pi 5, showing it can run on the farm rather than in a data centre. The PhD completed in 2026.

Gallery

Next: Farm-Scale Trials

The next step is to extend the models to larvae and pupae and run field trials in operational insect farms, leading to modular, decentralised insect farming for small farmers. We are looking for partners and funders.

Related Work

See Also

Inside the aquaponics research greenhouse, with vertical towers, grow beds and plants 12 months on a commercial farm
AgriTech AI

IoT and AI Control of Aquaponic Farms

Joint PhD with UWE: an IoT sensing platform ran for 12 months on a commercial aquaponics farm, and AI models used its data to detect anomalies and cut grid heating energy by up to 27%

UK · 2022–2025

Read more
Axino family: SM01 radio modules, gateway boards and enclosure 75% faster
All sectors

Axino IoT Platform

Embedded hardware platform of plug-in WiFi, GSM, Ethernet, LoRa, mesh and SigFox modules that share one processor and one code base, with cloud management: the backbone of our projects, products and prototypes

2016 onwards

Read more
Sensor Magic hub and battery sensor node shown open beside their enclosures No programming needed
All sectors

Sensor Magic

Our own product development, from prototype to product: battery-powered sensor nodes that combine sensor, processor and radio in one small unit, ready to install out of the box with no programming

2021 onwards

Read more
Talk To Us