LoanMaikon's picture
Add files using upload-large-folder tool
07444d1 verified
Raw
History Blame Contribute Delete
471 Bytes
import numpy as np
import cv2
class ImgLabels:
def __init__(self, masks = list(), occupiedRRs = list(), emptyRRs = list(), unknownRRs = list(), annotationsRectangleP1 = (0,0), annotationsRectangleP2 = (0,0)):
self.masks = masks
self.annotationsRectangleP1 = annotationsRectangleP1
self.annotationsRectangleP2 = annotationsRectangleP2
self.occupiedRRs = occupiedRRs
self.emptyRRs = emptyRRs
self.unknownRRs = unknownRRs