Free-Hand-Sketched Logic Circuit Detection Using Vision Transformers

This paper investigates the application of Vision Transformers (ViTs), specifically DETR (DEtection TRans-former), for the detection and classification of digital logic gates in hand-sketched digital logic circuits (DLC). A novel dataset of 295 hand-sketched DLC images was developed, capturing all seven fundamental gate types: AND, OR, NOT, NAND, NOR, XOR, and XNOR. The dataset introduces real-world complexities, such as variations in sketching styles, pen types, and paper textures, therefore addressing gaps in existing datasets. The performance of DETR is compared with the state-of-the-art YOLOv8 model under various preprocessing configurations, including grayscale conversion and image resizing. The results show that YOLO achieves higher overall detection accuracy, while DETR demon-strates strengths in capturing spatial relationships and complex patterns in abstract sketches. Additionally, the study analyses the effects of training duration and dataset structure on performance, highlighting the sensitivity of ViTs to preprocessing and spatial feature preservation. This work advances the understanding of transformer-based models for DLC recognition, advancing the way for more effective automated tools in engineering and education.

Authors

Institutions

Publication Details

Published
2025-04-08
DOI
https://doi.org/10.1109/reepe63962.2025.10970892
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Free-Hand-Sketched Logic Circuit Detection Using Vision Transformers

Mohamed Waleed Fakhr, Fahima A. Maghraby, Noha Aly EIMasry
Industrial Vision Systems and Defect Detection
article

Free-Hand-Sketched Logic Circuit Detection Using Vision Transformers

Mohamed Waleed Fakhr, Fahima A. Maghraby, Noha Aly EIMasry
article en

Abstract

This paper investigates the application of Vision Transformers (ViTs), specifically DETR (DEtection TRans-former), for the detection and classification of digital logic gates in hand-sketched digital logic circuits (DLC). A novel dataset of 295 hand-sketched DLC images was developed, capturing all seven fundamental gate types: AND, OR, NOT, NAND, NOR, XOR, and XNOR. The dataset introduces real-world complexities, such as variations in sketching styles, pen types, and paper textures, therefore addressing gaps in existing datasets. The performance of DETR is compared with the state-of-the-art YOLOv8 model under various preprocessing configurations, including grayscale conversion and image resizing. The results show that YOLO achieves higher overall detection accuracy, while DETR demon-strates strengths in capturing spatial relationships and complex patterns in abstract sketches. Additionally, the study analyses the effects of training duration and dataset structure on performance, highlighting the sensitivity of ViTs to preprocessing and spatial feature preservation. This work advances the understanding of transformer-based models for DLC recognition, advancing the way for more effective automated tools in engineering and education.

Arab Academy for Science, Technology, and Maritime Transport (EG)
Affordable and clean energy
Openalex Percentile: Top 86%
Industrial Vision Systems and Defect Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Free-Hand-Sketched Logic Circuit Detection Using Vision Transformers — Mohamed Waleed Fakhr, Fahima A. Maghraby, et al. · (2025) | TGRS Research Map | TGRS