stephanieysh's picture LoanMaikon's picture
Duplicate from DSBD-Research/MetaPKLot-Dataset
6378240
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