Datasets:

Modalities:
Image
Text
Libraries:
Datasets
License:
Srija-Vanapalli commited on
Commit
5829e95
·
verified ·
1 Parent(s): f88c1c8

Added Documentation.

Browse files
CrossArmsTopCleatDefects_Dataset/README.md ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ ---
4
+
5
+ # Object Detection — CrossArms and TopCleat (Straight / Tilted)
6
+
7
+ - This dataset contains real-world images of electric line components (CrossArms, V-CrossArms and TopCleat (Straight / Tilted)) labeled as **'CrossArm_Straight', 'CrossArm_Tilted', 'TopCleat_Straight', 'TopCleat_Tilted', 'V-CrossArm_Straight' and, 'V-CrossArm_Tilted'**, It represents the initial stage in a broader effort to identify various defects in electric poles using machine learning.
8
+ - This module trains and evaluates a YOLOv12 model to detect **CrossArms, V-CrossArms and TopCleat** defects in field images.
9
+
10
+ ## Dataset Details
11
+
12
+ The dataset is organized into pre-split folders:
13
+ ```
14
+ ../CrossArmsTopCleatDefects_Dataset/
15
+ ├── train/
16
+ │ ├── images/
17
+ │ └── labels/
18
+ ├── valid/
19
+ │ ├── images/
20
+ │ └── labels/
21
+ ├── test/
22
+ │ ├── images/
23
+ │ └── labels/
24
+ ├── data.yaml
25
+ └── object_detection_dataset_bboxes.json
26
+ ```
27
+
28
+ ### Dataset Description
29
+
30
+ The dataset comprises **1350 real-world annotated images** of electric line components collected across **Visakhapatnam, Eluru, and Kakinada** districts in Andhra Pradesh, India.
31
+
32
+ Each image has been annotated in **YOLOv12 format** with the following labels:
33
+ - `CrossArm\_Straight`
34
+ - `CrossArm\_Tilted`
35
+ - `TopCleat\_Straight`
36
+ - `TopCleat\_Tilted`
37
+ - `V-CrossArm\_Straight`
38
+ - `V-CrossArm\_Tilted`
39
+
40
+ - **Curated by:** Sampath Balaji & team, at APEPDCL
41
+ - **Funded by:** Eastern Power Distribution Company of Andhra Pradesh Limited (APEPDCL)
42
+ - **Language(s) (NLP):** Not Applicable
43
+ - **License:** CC BY 4.0
44
+
45
+ ### Dataset Sources
46
+
47
+ - **GitHub Repository (code):** [Direct Link](https://github.com/EPDCL/Electrical-Lines-Defect-Detection/tree/main/CrossArms_TopCleat_TiltedStraight_Defect)
48
+
49
+
50
+ ## Uses
51
+
52
+ ### Direct Use
53
+
54
+ This dataset is intended to train, evaluate, and benchmark machine learning models for infrastructure monitoring, specifically for identifying CrossArms and TopCleat (Straight / Tilted) in real-world, diverse conditions.
55
+
56
+ ### Out-of-Scope Use
57
+
58
+ - Surveillance or facial recognition tasks
59
+ - Biometric identification
60
+ - Any use that violates personal rights or local laws
61
+
62
+ ## Dataset Structure
63
+
64
+ - **Total images:** 1350
65
+ - **Split:**
66
+ - Train: 946
67
+ - Validation: 202
68
+ - Test: 202
69
+ - **Labels:** 'CrossArm_Straight', 'CrossArm_Tilted', 'TopCleat_Straight', 'TopCleat_Tilted', 'V-CrossArm_Straight', 'V-CrossArm_Tilted'
70
+ - **Format:** JPEG images with annotations in YOLOv12 format
71
+ - **Augmentations:** None applied
72
+
73
+ ## Dataset Creation
74
+
75
+ ### Curation Rationale
76
+
77
+ This dataset was created to build an ML pipeline for real-time defect detection in utility poles, starting with identifying leaned poles as a foundational task and was further expanded to crossarms and top cleats. The aim is to build an electrical line quality monitoring system to revolutionize maintenance workflows.
78
+
79
+ ### Source Data
80
+
81
+ #### Data Collection and Processing
82
+
83
+ Initial data collection and setting up of the protocol by the annotators. Images were collected using mobile cameras by field linemen in Andhra Pradesh. All annotations were manually reviewed and labeled in YOLOv12 format.
84
+
85
+ #### Image Capture Protocol
86
+
87
+ To ensure high-quality and consistent images for pole lean classification, the following guidelines have been established, incorporating the use of the Open Camera app, which leverages the phone’s gyroscope sensor to auto-straighten images and minimize tilted horizons. These guidelines replace previous protocols and aim to reduce bias, improve accuracy, and streamline data collection.
88
+
89
+ - Capture the Entire Pole: Ensure both the top and bottom of the pole are fully visible in the photo to allow accurate lean assessment.
90
+ - Front View Only: Photograph the pole from the front, where the cross arm is clearly visible. Stand directly opposite the pole, facing it.
91
+ - No Obstructions: Verify that no objects (e.g., trees, wires, or other structures) block the view of the pole.
92
+ - Correct Distance: Stand at a distance equal to the height of the pole. Do not stand closer than ¾ of the pole’s height or farther than 1x its height to maintain consistent perspective.
93
+ - Good Lighting: Capture the photo in well-lit conditions, preferably during daylight, to ensure clear visibility of the pole.
94
+ - Clean the Lens: Wipe the camera lens with a clean cloth before taking the photo to avoid smudges or blurriness.
95
+ - Use Open Camera App: Use the Open Camera app (pre-installed by the IT team) to auto-straighten images using the phone’s gyroscope sensor. Do not use third-party apps or apply filters/enhancements.
96
+ - Portrait Orientation Only: Take the photo in portrait (vertical) orientation to ensure consistency and full pole visibility.
97
+ - Center the Pole: Position the pole in the center of the frame to maintain focus and alignment.
98
+ - Appropriate Framing: Ensure slight space is visible above the top and below the bottom of the pole in the frame for proper context.
99
+
100
+ ### Annotations
101
+
102
+ #### Annotation process
103
+
104
+ Manual bounding box annotations were created using image annotation tools and saved in YOLOv12 format. The team worked to maintain consistency, though **some labeling errors may persist due to the manual nature** of the task.
105
+
106
+ #### Who are the annotators?
107
+
108
+ The APEPDCL project team, under the direction of the team lead.
109
+
110
+ #### Personal and Sensitive Information
111
+
112
+ No personal or sensitive data was intentionally included. However, some images may contain **people or faces captured incidentally** in public areas, as the data was collected in outdoor settings.
113
+
114
+ ## Bias, Risks, and Limitations
115
+
116
+ - **Geographic bias:** All data comes from Andhra Pradesh, India — results may not generalize to other regions or environments.
117
+ - **Scene/perspective bias:** Variation in camera angles and distances may affect model training.
118
+ - **Privacy risk:** Images taken in public areas may contain identifiable people.
119
+
120
+ ### Recommendations
121
+
122
+ - Apply **image normalization or augmentation** techniques to improve generalization.
123
+ - Account for **perspective and camera angle** effects during training and evaluation.
124
+ - Use ethically and responsibly, especially in systems that affect public infrastructure.
125
+
126
+ <p align="center">
127
+ <img src="https://raw.githubusercontent.com/EPDCL/Electrical-Lines-Defect-Detection/refs/heads/main/CrossArms_TopCleat_TiltedStraight_Defect/assets/graphs.jpg" width="600"/>
128
+ </p>
129
+
130
+ ## Metrics on dataset:
131
+ ### Validation Set
132
+ | Class | Precision | Recall | mAP\@0.5 | mAP\@0.5:0.95 |
133
+ | -------------------- | --------- | --------- | --------- | ------------- |
134
+ | CrossArm\_Straight | 0.917 | 0.927 | 0.895 | 0.775 |
135
+ | CrossArm\_Tilted | 0.900 | 0.861 | 0.894 | 0.780 |
136
+ | TopCleat\_Straight | 0.980 | 0.980 | 0.918 | 0.764 |
137
+ | TopCleat\_Tilted | 0.948 | 0.937 | 0.919 | 0.774 |
138
+ | V-CrossArm\_Straight | 0.943 | 0.967 | 0.953 | 0.944 |
139
+ | V-CrossArm\_Tilted | 0.894 | 0.918 | 0.940 | 0.949 |
140
+ | **Overall** | **0.918** | **0.927** | **0.905** | **0.831** |
141
+
142
+ ##### Speed: 2.8ms/inference, 0.2ms/postprocess per image
143
+ ### Test Set
144
+ | Class | Precision | Recall | mAP\@0.5 | mAP\@0.5:0.95 |
145
+ | -------------------- | --------- | --------- | --------- | ------------- |
146
+ | CrossArm\_Straight | 0.917 | 0.957 | 0.953 | 0.811 |
147
+ | CrossArm\_Tilted | 0.963 | 0.940 | 0.968 | 0.837 |
148
+ | TopCleat\_Straight | 0.870 | 0.870 | 0.808 | 0.600 |
149
+ | TopCleat\_Tilted | 0.866 | 0.800 | 0.794 | 0.570 |
150
+ | V-CrossArm\_Straight | 0.950 | 0.983 | 0.978 | 0.952 |
151
+ | V-CrossArm\_Tilted | 0.894 | 0.917 | 0.955 | 0.914 |
152
+ | **Overall** | **0.910** | **0.911** | **0.909** | **0.781** |
153
+
154
+ ##### Speed: 2.7ms/inference, 0.2ms/postprocess per image
155
+
156
+ ## Sample predictions
157
+ <p align="center">
158
+ <img src="https://raw.githubusercontent.com/EPDCL/Electrical-Lines-Defect-Detection/refs/heads/main/CrossArms_TopCleat_TiltedStraight_Defect/assets/samplepredictions_crsarmTC.jpg" width="600"/>
159
+ </p>
160
+
161
+
162
+ ## More Information
163
+
164
+ Follow-up datasets in this series will include other electrical line and pole defects as part of APEPDCL's Line Quality monitoring project.
165
+
166
+ ## Dataset Card Authors
167
+
168
+ - [Srija Vanapalli](https://github.com/Srija-Vanapalli)
169
+
170
+ ## 📄 License
171
+ - [Code](https://github.com/EPDCL/Electrical-Lines-Defect-Detection/tree/main/CrossArms_TopCleat_TiltedStraight_Defect): MIT License
172
+ - [Dataset](https://huggingface.co/datasets/EPDCL/Electrical-Lines-Defect-Detection/tree/main/CrossArmsTopCleatDefects_Dataset): CC BY 4.0