Datasets:
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-sa-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-classification
|
| 5 |
+
- image-feature-extraction
|
| 6 |
+
- tabular-classification
|
| 7 |
+
- feature-extraction
|
| 8 |
+
language:
|
| 9 |
+
- ar
|
| 10 |
+
- en
|
| 11 |
+
pretty_name: 'HDL: Hand-drawn Digital Logic Gates Dataset'
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
π Dataset Summary
|
| 15 |
+
|
| 16 |
+
HDL (Hand-drawn Digital Logic Gates) is the first balanced image and tabular dataset dedicated to the classification of hand-drawn digital logic gates. The dataset is designed primarily for machine learning education, computer vision research, and AI-assisted electronics applications.
|
| 17 |
+
|
| 18 |
+
HDL contains 1,200 hand-drawn images covering the 8 fundamental digital logic gates (AND, OR, NOT (INVERTER), BUFFER, NAND, NOR, XOR, and XNOR), with 150 images per class, ensuring perfect class balance.
|
| 19 |
+
|
| 20 |
+
π§ Motivation
|
| 21 |
+
|
| 22 |
+
Most existing handwritten or hand-drawn datasets focus on:
|
| 23 |
+
|
| 24 |
+
* Digits (e.g., MNIST)
|
| 25 |
+
* Characters and scripts
|
| 26 |
+
|
| 27 |
+
However, no publicly available balanced dataset existed for hand-drawn digital logic gates, despite their importance in:
|
| 28 |
+
|
| 29 |
+
* Digital electronics education
|
| 30 |
+
* Circuit analysis
|
| 31 |
+
* AI-assisted schematic interpretation
|
| 32 |
+
|
| 33 |
+
HDL was created to fill this gap and to support:
|
| 34 |
+
|
| 35 |
+
* Teaching Machine Learning to engineering students
|
| 36 |
+
* No-code ML experimentation
|
| 37 |
+
* Benchmarking shallow and deep learning models
|
| 38 |
+
|
| 39 |
+
π Images Dataset Structure
|
| 40 |
+
|
| 41 |
+
```
|
| 42 |
+
HDL/
|
| 43 |
+
βββ AND/
|
| 44 |
+
βββ OR/
|
| 45 |
+
βββ NOT/
|
| 46 |
+
βββ BUFFER/
|
| 47 |
+
βββ NAND/
|
| 48 |
+
βββ NOR/
|
| 49 |
+
βββ XOR/
|
| 50 |
+
βββ XNOR/
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
* Image format: `.jpg` / `.jpeg`
|
| 54 |
+
* Image source: Hand-drawn on paper and photographed or scanned
|
| 55 |
+
* Contributors: Umm Al-Qura University students + logic gates drawn using Logisim-evolution
|
| 56 |
+
|
| 57 |
+
π Benchmark Results
|
| 58 |
+
|
| 59 |
+
The dataset has been extensively benchmarked using both no-code tools and deep learning models.
|
| 60 |
+
|
| 61 |
+
πΉ Best Result
|
| 62 |
+
|
| 63 |
+
* Model: EfficientNet with data augmentation
|
| 64 |
+
* Platform: Liner.ai
|
| 65 |
+
* Accuracy: 92.5%
|
| 66 |
+
* F1-score: 92.5%
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
πΉ Feature Extraction (Image Embedding) (Tabular Dataset)
|
| 70 |
+
|
| 71 |
+
Image embeddings were generated using:
|
| 72 |
+
|
| 73 |
+
* SqueezeNet
|
| 74 |
+
* Inception v3
|
| 75 |
+
* Google ViT
|
| 76 |
+
* Facebook DINOv2
|
| 77 |
+
* Nvidia MambaVision
|
| 78 |
+
|
| 79 |
+
Top-performing classifiers:
|
| 80 |
+
|
| 81 |
+
* Logistic Regression
|
| 82 |
+
* Neural Networks
|
| 83 |
+
|
| 84 |
+
π§ͺ Typical Use Cases
|
| 85 |
+
|
| 86 |
+
HDL is suitable for:
|
| 87 |
+
|
| 88 |
+
π Machine Learning Education
|
| 89 |
+
π§ TinyML & Edge AI
|
| 90 |
+
βοΈ OCR-like systems for circuit digitization
|
| 91 |
+
π§© Logic gate classification
|
| 92 |
+
πΌοΈ Image embedding & feature extraction experiments
|
| 93 |
+
π οΈ No-code ML platforms (Orange Data Mining, Liner.ai)
|
| 94 |
+
|
| 95 |
+
π Research Paper: To be published soon.
|
| 96 |
+
Please cite the dataset if used in academic work.
|