This repository contains a YOLO-based model for identifying weld symbols in engineering drawings. The model is trained to detect 16 distinct weld types commonly found in fabrication and drafting workflows. These weld types were taken from the document: Weld Symbols in Engineering Drawings
This model is intended to be used in conjunction with a weld symbol annotation tool, such as Label Studio. This is a base model that can be used to identify weld symbols in images, but it is not optimized for all use cases. The model was built using Ultralytics and YOLOv8.
The model detects the following weld symbols (code references in camelCase):
- Backing Spacer (
backingSpacer) - Bevel Groove Weld (
bevelGroove) - Callout Tail (
calloutTail) - Callout Tip (
calloutTip) - Convex/Concave Modifier (
convexConcave) - Field Weld Symbol (
fieldWeld) - Fillet Weld (
filletWeld) - Flare Bevel Groove Weld (
flareBevelGroove) - Flush/Flat Modifier (
flushFlat) - J-Groove Weld (
jGroove) - Melt-Through Symbol (
meltThrough) - Plug Weld (
plugWeld) - Square Groove Weld (
squareGroove) - V-Groove Weld (
vGroove) - Weld-All-Around Symbol (
weldAllAround)
Ensure Python 3.10+ is installed. Check version:
python --versionIf not installed, download from Python.org.
Make sure Git is available to clone the repository:
git --versionIf not, install from Git SCM.
Recommended for dependency isolation:
python -m venv weldCalloutEnvActivate it:
- Windows (PowerShell):
weldCalloutEnv\Scripts\Activate
- macOS/Linux:
source weldCalloutEnv/bin/activate
git clone https://github.com/RylanBosquez/weldCalloutIdentifier.git
cd weldCalloutIdentifierpip install --upgrade pip
pip install -r requirements.txtRun inference on example images:
python main.pyThe script will:
- Load each image from
./assets/weldExamples - Run YOLOv8 inference
- Apply non-maximum suppression to filter overlapping boxes
- Display the image with bounding boxes and weld type labels
Add your test images to the ./assets/weldExamples folder.
- Automated annotation in CAD workflows
- Symbol classification for engineering documentation
- Integration with Label Studio or other annotation tools




