This repository provides an ONNX inference model for recognizing lily crops and surrounding weeds.
It is designed for use in precision agriculture settings, especially for complex terrain such as terraces, where large-scale machinery is inefficient or difficult to deploy.
🚜 Background
Due to the unique terrain and climatic conditions in regions such as Gansu, specialized agricultural equipment has substantial application potential.
This model is part of a broader research effort to:
Enable real-time visual perception in agricultural robotics
Support multi-agent coordination systems
Complement large-scale agricultural machinery in terraced farmland
📦 Model Overview
Item Description
Format ONNX
Task Binary image recognition
Classes Lily, Weed
Usage Direct inference, no conversion required
Intended Use Field monitoring / robotics / precision agriculture
⚠️ This model is intended for research and demonstration purposes.
🧠 Dataset
The training dataset was collected internally in real agricultural environments.
It includes multiple growth stages of both lilies and weeds, captured under natural light and environmental conditions.
Status: Private (not publicly released)
Content: crop & weed images across growth cycles
Labeling: human annotated
Dataset is not available due to internal collection protocol and field acquisition constraints.
🔧 Inference (ONNX Runtime)
Below is a minimal example using the CPU execution provider:
import onnxruntime as ort
import numpy as np
from PIL import Image