ParsaVictor/pcb-component-classifier
Image Classification • Updated • 1
Error code: RowsPostProcessingError
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
1,120 individually photographed electronic components (resistors, capacitors, diodes, inductors, transistors, ICs), used to train an explainable Random-Forest classifier over 33 hand-engineered CV features.
Part of the PCB Inspection Suite. Pipeline, training code, and results: GitHub: pcb-component-classifier.
| Split | Images |
|---|---|
| train | 1,000 |
| holdout | 120 (never used in training or tuning) |
| Class | Description |
|---|---|
| Resistors | |
| Capacitors | |
| Diodes | |
| Inductors | |
| Transistors | |
| ICs |
Flat folders of <class>_<n>.png, one component per image, packaged as two archives:
train.zipholdout.zipfrom huggingface_hub import hf_hub_download
import zipfile
for split in ["train", "holdout"]:
zip_path = hf_hub_download(
repo_id="ParsaVictor/pcb-component-classifier",
repo_type="dataset",
filename=f"{split}.zip",
)
with zipfile.ZipFile(zip_path) as zf:
zf.extractall(split)
MIT.