/ Модель

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

Лицензия
AGPL 3.0
Библиотека
ultralytics
Опубликована
18 ноя 2026

circuitcoach-yolo26n

Поиск объектовИзображение → bounding_boxes3 профессии
177скачиваний за 30 дней0лайковвеса обновлены18 ноя 2026

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

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

Компактный детектор YOLO26n распознаёт 61 тип электронных и робототехнических компонентов на фотографиях и отмечает их рамками.

JatheelMHD разработал CircuitCoach AI на базе Ultralytics YOLO26n — компактного детектора объектов с 2,4 млн параметров, дообученного на весах, предварительно обученных на COCO. Модель обнаруживает на фотографиях 61 тип электронных и робототехнических компонентов и возвращает ограничивающие рамки, названия классов и оценки уверенности. Она предназначена для распознавания деталей в учебных проектах, в том числе для помощника CircuitCoach AI; доступны форматы PyTorch, ONNX и LiteRT/TFLite, включая квантованный вариант w8a32 для Android.

На тестовом наборе из той же лаборатории модель показала mAP50 0,958. Эти результаты не гарантируют такую же точность на других рабочих местах: незнакомый фон и освещение, размытие, наклон деталей и похожие мелкие компоненты ухудшают распознавание. Модель не определяет номиналы и точные модели деталей, не отличает оригинальные платы от копий, не прослеживает соединения и не проверяет правильность или безопасность схемы. Она рассчитана на учебные низковольтные цепи до 5 В и не предназначена для работы с сетевой проводкой. Лицензия модели — AGPL-3.0; набор данных ElectroCom61 распространяется по CC BY 4.0.

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

  • поиск электронных компонентов на фотографии учебного проекта
  • распознавание плат Arduino, датчиков и модулей
  • обнаружение пассивных компонентов и переключателей на изображении
  • распознавание деталей для обучающего помощника по электронике

Ограничения

Точность может снижаться на незнакомых фонах и при другом освещении; размытые, наклонённые и похожие мелкие детали могут пропускаться или путаться. Модель не определяет номиналы и точные модели компонентов, не проверяет соединения и безопасность схем; предназначена только для учебных цепей до 5 В.

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

CircuitCoach AI — YOLO26n electronic component detector

Detects 61 kinds of electronic and robotics components (Arduino boards, sensors, modules, passive parts, switches, displays…) in a photo and returns a box, a class name and a confidence for each one. It is the detection model behind CircuitCoach AI, a learning assistant that tells beginners what a part is and what it does.

  • Model: Ultralytics YOLO26n (2.4 M parameters), fine-tuned from COCO-pretrained weights
  • Data: ElectroCom61 (CC BY 4.0), cleaned and re-split by the author of this model
  • Formats: PyTorch .pt, ONNX (used by the web demo), LiteRT float32 .tflite, LiteRT w8a32 .tflite (for Android)

Try it: CircuitCoach AI web demo — runs in your browser, photos never leave your device. Code: github.com/Jatheel/circuitcoach-ai

Safety: for low-voltage (5 V or less) learning circuits. Not a safety check. Never use on mains wiring. The model names parts; it does not check whether a circuit is correct or safe.

Results on the held-out test split

1294 boxes in 230 images that were never used for training or model selection.

MetricValue
Precision0.926
Recall0.940
mAP500.958
mAP50-950.649
Inference (NVIDIA T4, PyTorch)5.2 ms / image

At confidence 0.25 (IoU 0.5): 1208 of 1294 parts found with the right name, 14 wrong class, 72 missed, 97 extra boxes.

These are in-lab numbers. Test images come from the same lab as the training images. Expect lower accuracy on your own desk.

Phone test (real-world)

Not measured yet. A separate set of phone photos taken outside the original lab will be reported here.

Weakest classes

ClassTest boxesPRmAP50mAP50-95
Zener-Diode230.740.780.7300.371
Tact-Switch210.790.890.8160.349
Motor-Driver180.880.780.8250.658
Push-Switch260.780.810.8550.437
Buzzer260.820.810.8670.498
BJT-Transistor230.930.590.8780.441
Capacitor-10mf220.840.820.8820.526
Fuse180.970.780.9050.568
Servo-Motor170.890.920.9170.633
Keypad190.750.890.9250.681
ClassTest boxesPRmAP50mAP50-95
1-5-Volt-Battery220.971.000.9950.629
3-3-Volt-Battery210.960.950.9890.729
7-Segment-Display190.900.990.9460.626
9-Volt-Battery170.921.000.9430.712
Arduino-Mega180.950.990.9920.868
Arduino-Nano190.861.000.9330.661
Arduino-Uno200.981.000.9950.867
BJT-Transistor230.930.590.8780.441
Bluetooth-Module250.990.920.9780.729
Breadboard180.921.000.9950.873
Bridge-Rectifier220.950.940.9790.749
Buck-Converter171.000.970.9950.783
Buzzer260.820.810.8670.498
Capacitor-10mf220.840.820.8820.526
Capacitor-470mf220.950.910.9710.623
DC-Motor180.971.000.9950.591
Diode260.890.960.9450.572
ESP32190.981.000.9950.790
ESP32-CAM190.971.000.9950.741
FT-232-USB-Serial-Module170.971.000.9950.706
Film-Capacitor190.910.890.9360.691
Fuse180.970.780.9050.568
Fuse-Base181.000.990.9950.736
GSM-Module230.960.980.9650.679
Gas-Sensor230.960.960.9880.742
Heat-Sink180.971.000.9950.840
High-Voltage-Ceramic-Capacitor260.981.000.9950.569
Humidity-Sensor230.881.000.9920.748
IC-Base-14-Pin230.950.900.9420.615
IC-Base-28-Pin220.971.000.9950.745
IC-Chip330.930.910.9760.531
IGBT211.000.860.9910.619
IR-Sensor220.960.950.9550.556
Inductor290.961.000.9950.503
Keypad190.750.890.9250.681
LCD-Display170.851.000.9430.764
LDR-Sensor170.991.000.9950.640
LED-Light300.971.000.9950.627
Low-Voltage-Ceramic-Capacitor210.820.900.9660.480
MLC-Capacitor310.990.970.9870.546
MOSFET210.940.900.9520.499
Motion-Sensor230.941.000.9860.796
Motor-Driver180.880.780.8250.658
NTC-Thermistor220.870.860.9350.456
OLED-Display280.981.000.9950.759
Pin-Header180.880.830.9540.578
Push-Switch260.780.810.8550.437
RFID-Scanner160.871.000.9950.854
Raindrops-Module190.981.000.9950.822
Relay-Module220.841.000.9800.814
Resistor180.840.890.9250.611
Rocker-Switch180.971.000.9950.604
Servo-Motor170.890.920.9170.633
Soil-Moisture-Sensor191.000.980.9950.672
Sonar-Sensor220.931.000.9910.742
TCRT5000170.930.940.9450.485
Tact-Switch210.790.890.8160.349
Taper-Potentiometer181.000.990.9950.502
Trimmer-Potentiometer231.000.910.9530.533
Water-Sensor220.941.000.9950.808
Zener-Diode230.740.780.7300.371

Failure analysis

  1. Classification is reliable: at confidence 0.25, only 14 of 1294 test boxes received the wrong class; most errors are missed parts (72) or extra boxes (97).
  2. Look-alike small parts cause most errors: small dark round parts (buzzer, push switch, inductor) and two-lead parts (Zener diode, diode, resistor, small capacitors).
  3. Background objects: in photos with a room or floor behind the parts, the model can draw low-confidence boxes on furniture or people; the dataset has no component-free images.
  4. Blur and angle: out-of-focus parts get overlapping low-confidence boxes, steeply angled parts are missed, and small parts have the loosest boxes.
  5. Single-lab data: all images come from one lab, so accuracy on other desks and lighting is lower than the numbers below; see the phone-test section.

Files

FileFormatSizeTest mAP50Use
circuitcoach-yolo26n.ptPyTorch5.52 MB0.958Python
circuitcoach-yolo26n.onnxONNX, NMS embedded (output [1, 300, 6])9.94 MB0.920*Web demo (ONNX Runtime Web)
circuitcoach-yolo26n.tfliteLiteRT float329.95 MB0.945*Full-precision mobile reference
circuitcoach-yolo26n_w8a32.tfliteLiteRT int8 weights, float activations2.87 MB0.944*For Android (app planned)

* Validator mAP for exported files is lower than PyTorch because their built-in post-processing drops very-low-confidence boxes that mAP counts. At confidence 0.4, both the ONNX and float32 LiteRT models returned the same 160 of 160 boxes as PyTorch on 25 test images.

Export check: at confidence 0.4 the float32 LiteRT model returned the same boxes as PyTorch on 25 test images (160 of 160 boxes matched, mean IoU 1.000). The validator's LiteRT mAP50-95 (0.553 float32 / 0.557 w8a32) is lower than PyTorch's (0.649); this comes from how very-low-confidence boxes are handled during validation, not from different detections at working thresholds. w8a32 loses 0.07 mAP50 points against float32 and is about 3.5x smaller, so it is the file planned for the Android app.

Other files: data.yaml (class names), metrics/ (test metrics, per-class results, confusion matrix, export report), training/ (training arguments and curves), dataset/ (cleaning audit).

How to use

from ultralytics import YOLO
from huggingface_hub import hf_hub_download

path = hf_hub_download("JatheelMHD/circuitcoach-yolo26n", "circuitcoach-yolo26n.pt")
model = YOLO(path)
results = model.predict("my_parts.jpg", conf=0.4)
results[0].show()

A confidence of about 0.4 is recommended: it removes most low-confidence boxes on background objects while keeping confident detections.

Training data

ElectroCom61 — 2121 images of 61 component classes photographed in the Electronic Lab Support Room of United International University, Dhaka, with several smartphones, varied lighting, backgrounds and angles. Images were resized to 640×640 by the dataset authors, which stretches some of them. Licence: CC BY 4.0.

Changes made for this model (dataset not redistributed here; the scripts are in the project repository):

  1. Merged the original train/valid/test splits into one pool.
  2. Checked every image and label line (2121 images scanned; checks: {'near_duplicate_pairs': 17}).
  3. Grouped exact duplicates, near-duplicates (64-bit difference hash, distance ≤ 6) and copies of the same source photo, giving 2104 groups.
  4. Re-split 75/15/10 by group and stratified by class, so near-identical photos never sit on both sides of the train/test line: 1569 train / 322 val / 230 test images. Every class appears in all three splits.

Because of this grouped re-split, the numbers here are not directly comparable with the dataset paper's results on its random split.

Training

SettingValue
Base modelyolo26n.pt (pretrained)
Image size640
Epochs100 (early stopping off; best epoch selected on validation)
Batch size32
Optimizerauto (Ultralytics automatic choice)
Extra augmentationrotation ±10°, vertical flip p=0.5, plus Ultralytics defaults
Seed0, deterministic=True
HardwareKaggle, 1× NVIDIA Tesla T4
Ultralytics8.4.215

Limitations

  • Trained on photos from a single lab; accuracy drops on unfamiliar backgrounds and lighting.
  • Cannot read component values (resistor colour bands, capacitor ratings) or exact model numbers.
  • Cannot tell genuine boards from clones.
  • Look-alike parts (diode vs Zener diode, push vs tact switch, small capacitors) can be confused.
  • Does not trace wires or verify circuits.

Licence and credit

  • Model weights: AGPL-3.0 (models trained with Ultralytics code fall under AGPL-3.0).
  • Dataset: ElectroCom61 by Sayeedi et al., CC BY 4.0, used with the changes listed above. Original data: https://data.mendeley.com/datasets/6scy6h8sjz/2
@article{sayeedi2025electrocom61,
  title   = {ElectroCom61: A multiclass dataset for detection of electronic components},
  author  = {Sayeedi, Md. Faiyaz Abdullah and Osmani, Anas Mohammad Ishfaqul Muktadir and
             Rahman, Taimur and Deepti, Jannatul Ferdous and Rahman, Raiyan and Islam, Salekul},
  journal = {Data in Brief},
  volume  = {59},
  pages   = {111331},
  year    = {2025},
  doi     = {10.1016/j.dib.2025.111331}
}

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

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

GPU в ailist

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

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

Модели Ultralytics YOLO требуют отдельного рантайма.

Ревизия весов
3835cc6

0 моделей