NotJoeMartinez / APDL_Quality_Control

Computer Vision Quality control for the Advanced Particle Detector Laboratory at Texas Tech University
0 stars 1 forks source link

Data set with new classifications for broken wires and cropping #35

Closed NotJoeMartinez closed 2 years ago

NotJoeMartinez commented 2 years ago

Many of the old labels were mislabeled with broken wires, label and augment the new data set.

NotJoeMartinez commented 2 years ago

def clockwise_rotation(image, fill_mode): angle = random.randint(0,180) return rotate(image, -angle, resize=False, cval=0, mode=fill_mode)

def h_flip(image, fill_mode): return np.fliplr(image)

def v_flip(image, fill_mode): return np.flipud(image)


- Manually removed the stretched images
- Cropped images to 480x480
- Removed duplicates from testing data set using `fdupes`
    - I cut down the other datasets to the minimum number after running `fdupes` which was 89 images per folder
    - Kept duplicates in training folder