File size: 500 Bytes
c3525c6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# DS-VISION

## defect classes
```python
defects_dict = {
    'Capacitor': {
        'scratch': 1, 'crush': 2, 'crack': 3
    },
    'Console': {
        'scratch': 1, 'bump': 2, 'dirty': 3, 'gap': 4
    },
    'Groove': {
        'scratch': 1, 'abrasion': 2
    },
    'Ring': {
        'friction': 1, 'scratch': 2, 'texture': 3, 'color': 4
    },
    'Screw': {
        'bump': 1, 'crush': 2, 'fiber': 3
    },
    'Wood': {
        'point': 1, 'friction': 2, 'scratch': 3, 'dirty': 4
    }
}


```