/ Модель

Характеристики

Лицензия
Apache 2.0
Опубликована
26 авг 2026

agrivision-mobilenetv2-edge-tpu

Классификация изображенийИзображение → label3 профессии
22скачиваний за 30 дней0лайковвеса обновлены27 авг 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Компактная INT8-модель MobileNetV2 классифицирует изображения листьев как здоровые или проблемные для офлайн-демонстраций и прототипов на Raspberry Pi и Coral Edge TPU.

AgriVision AI — модель классификации изображений листьев, опубликованная PeachBot AI и разработанная Isis Saritha Swapin при участии Swapin Vidya. Это MobileNetV2 с шириной α=0,35, представленная в виде INT8-модели TensorFlow Lite и варианта, скомпилированного для Coral Edge TPU. Модель относит изображение к одному из двух классов: healthy или problem.

Она предназначена для локальных офлайн-демонстраций и учебных прототипов умного сельского хозяйства на Raspberry Pi 4 с Coral USB Accelerator. На отложенной выборке PlantVillage INT8-версия показала точность 98,58%; этот результат не подтверждает точность в полевых условиях. Лицензия — Apache-2.0.

Классификатор не определяет конкретную болезнь или её причину. Фон, освещение, ракурс, сорт растения и другие отличия реальных условий от PlantVillage могут снизить качество. Успешная компиляция для Edge TPU подтверждена, но работа на физическом Raspberry Pi с Coral ещё не проверена; модель не предназначена для профессиональной диагностики или принятия решений по обработке посевов.

Сценарии применения

  • классификация листа на здоровый или проблемный
  • офлайн-демонстрация компьютерного зрения на Raspberry Pi
  • учебный проект по умному сельскому хозяйству
  • эксперименты с INT8-квантизацией и Coral Edge TPU

Ограничения

Выход содержит только классы healthy и problem и не определяет болезнь или причину проблемы; результаты PlantVillage не гарантируют точность на реальных фермах. Запуск на физическом Raspberry Pi с Coral Edge TPU ещё не подтверждён.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

🌿 AgriVision AI

MobileNetV2 INT8 · Coral Edge TPU · Raspberry Pi

Offline binary plant-health classification for a Raspberry Pi 4 + Google Coral USB Accelerator school/research prototype

Task TFLite Coral Precision INT8 Accuracy License

Primary developer / project author: Isis Saritha Swapin
Contributor: Swapin Vidya · Publisher: PeachBot AI

Source code · PeachBot · Model files


Release at a glance

ItemRelease
TaskBinary plant-health classification
Labelshealthy, problem
ArchitectureMobileNetV2, α = 0.35
Input224 × 224 RGB
Training initializationScratch
DatasetPlantVillage Full
Dataset revisionv0.1.0
QuantizationFull-integer UINT8 TFLite
Deployment targetRaspberry Pi 4 + Coral USB Accelerator
Edge TPU compiler16.0.384591198
Compiler mapping69 / 69 operators mapped to Edge TPU
CPU fallback in compiler report0 operators
Hardware validationPending physical Raspberry Pi + Coral run

Important: the reported accuracy is held-out evaluation on PlantVillage imagery. It is not a field-accuracy claim and does not establish performance across real farms, lighting conditions, cultivars, camera positions, or all plant diseases/stressors.


What this model does

AgriVision AI classifies a leaf image into one of two exhibition-friendly categories:

  • healthy — the image resembles healthy PlantVillage examples.
  • problem — the image resembles a PlantVillage example containing a disease/problem class.

The binary design is intentional. It supports a simple, explainable school smart-agriculture demonstration while soil moisture is measured independently using a real sensor rather than inventing unsupported visual “water stress” labels.

This model is designed to be used inside the open-source AgriVision AI Raspberry Pi project, where it works alongside soil-moisture sensing, BME280 environmental sensing, safe low-voltage irrigation control, LEDs/buzzer and a local Flask dashboard.


Evaluation

Held-out test performance

ModelAccuracyBalanced accuracyMacro-F1
FLOAT98.66%98.24%98.31%
INT8 TFLite98.58%98.10%98.20%

The deployable INT8 model achieved:

98.58% held-out INT8 test accuracy on the PlantVillage dataset.

INT8 confusion matrix

Rows = true labels, columns = predicted labels.

Predicted healthyPredicted problem
True healthy2,89888
True problem687,894

The release gate also verified that both classes were predicted and that the classifier did not collapse to a single output class.


Edge TPU compilation

The INT8 model was compiled using:

Edge TPU Compiler version 16.0.384591198

Compiler operator mapping:

OperatorCountStatus
CONV_2D35Mapped to Edge TPU
DEPTHWISE_CONV_2D17Mapped to Edge TPU
ADD11Mapped to Edge TPU
QUANTIZE2Mapped to Edge TPU
SOFTMAX1Mapped to Edge TPU
MEAN1Mapped to Edge TPU
FULLY_CONNECTED1Mapped to Edge TPU
MUL1Mapped to Edge TPU
Total6969 mapped to Edge TPU

This confirms successful compiler mapping. It does not by itself prove physical USB Accelerator execution; hardware validation remains pending until the model is run on the actual Raspberry Pi + Coral device.


Model artifacts

FilePurpose
plant_health_edgetpu.tfliteCoral Edge TPU compiled deployment model
plant_health_int8.tfliteFull-integer UINT8 TFLite model before Edge TPU compilation
labels.txtOutput label mapping
model_manifest.jsonTraining lineage, metrics and release metadata
training_history.jsonTraining history

Download for Raspberry Pi deployment

Using the Hugging Face CLI:

mkdir -p models

hf download peachbotAI/agrivision-mobilenetv2-edge-tpu \
  plant_health_edgetpu.tflite \
  plant_health_int8.tflite \
  labels.txt \
  model_manifest.json \
  --local-dir models

No Hugging Face token is required for this public repository.

For the complete application, use the project repository:

git clone https://github.com/swapins/agrivision-ai-pi.git
cd agrivision-ai-pi

The project deployment scripts place/use the Coral model at:

models/plant_health_edgetpu.tflite

Reproducible training lineage

The official release uses the following fixed lineage:

Dataset              geraldmc/plantvillage-full
Revision             v0.1.0
Dataset license      CC0-1.0
Task                  binary: healthy / problem
Architecture          MobileNetV2
Width multiplier      0.35
Input                 224 × 224 RGB
Initialization        scratch
Quantization          full-integer UINT8
Target                TensorFlow Lite / LiteRT
Accelerator target    Google Coral Edge TPU

Training and evaluation code is maintained in:

https://github.com/swapins/agrivision-ai-pi

The normal source repository does not store generated .tflite binaries; validated model artifacts are released here on Hugging Face.


Intended use

Appropriate uses include:

  • school science and technology exhibitions;
  • Raspberry Pi / Coral Edge TPU demonstrations;
  • edge-AI education;
  • local/offline image-classification experiments;
  • smart-agriculture prototypes;
  • learning about model quantization and accelerator deployment.

Not intended for

This release is not intended to provide:

  • professional agricultural diagnosis;
  • pesticide or treatment recommendations;
  • claims of general field accuracy;
  • safety-critical crop-management decisions;
  • replacement for agronomists, plant pathologists or laboratory testing.

Limitations

  1. Controlled-background dataset. PlantVillage imagery does not represent the full visual variability of farms and outdoor environments.
  2. Binary output. problem does not identify a specific disease or cause.
  3. Domain shift. Lighting, camera angle, blur, background clutter, cultivar and unseen conditions can reduce performance.
  4. Dataset grouping. Some PlantVillage classes use synthetic leaf identifiers; the release manifest records the split policy.
  5. Hardware validation pending. The Edge TPU compiler mapped all listed operators, but physical Raspberry Pi + Coral runtime validation must still be completed.
  6. Educational prototype. This model is part of a school/research system and should not be represented as a certified agricultural diagnostic product.

System context

Raspberry Pi Camera
        │
        ▼
Raspberry Pi 4 ─────────────► Coral USB Edge TPU
        │                         │
        │                         └─ AgriVision AI inference
        │
        ├─ ADS1115 ◄─ capacitive soil-moisture sensor
        ├─ BME280  ◄─ temperature / humidity
        ├─ MOSFET  ─► 5 V irrigation pump
        ├─ LEDs + buzzer
        └─ local Flask dashboard

After installation and model download, inference is designed to run locally without sending every leaf image to a cloud inference service.


Project authorship

Isis Saritha Swapin — Primary Developer / Project Author

AgriVision AI is developed as a student STEM project by Isis Saritha Swapin, with a focus on Raspberry Pi, edge AI and smart agriculture.

PeachBot author profile:
https://peachbot.in/people/4

Swapin Vidya — Contributor

Technical architecture, engineering review, documentation and implementation guidance.

PeachBot AI — Publisher

Model artifacts and project release infrastructure.


Citation

If you use the model or project in educational material, demonstrations or derivative work, please cite the source repository and this Hugging Face release.

@software{agrivision_ai_2026,
  title        = {AgriVision AI: MobileNetV2 INT8 + Coral Edge TPU Plant-Health Classifier},
  author       = {Isis Saritha Swapin and Swapin Vidya},
  year         = {2026},
  publisher    = {PeachBot AI},
  url          = {https://huggingface.co/peachbotAI/agrivision-mobilenetv2-edge-tpu}
}

License

Model repository: Apache-2.0
Training dataset: PlantVillage Full, CC0-1.0
Application source code: see the license in the AgriVision AI GitHub repository.


AgriVision AI

Edge AI for a practical student smart-agriculture working model

Raspberry Pi · Coral Edge TPU · TensorFlow Lite / LiteRT · PlantVillage · PeachBot AI

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Нельзя запустить

В репозитории нет весов в формате PyTorch/safetensors.

Ревизия весов
58330d9

0 моделей