started writing preprocessing
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
|
||||
|
||||
class Frame:
|
||||
def __init__(self, id, frame_nr, garment):
|
||||
self.id = id
|
||||
self.frame_nr = frame_nr
|
||||
self.garment = garment
|
||||
|
||||
def __hash__(self):
|
||||
return hash((self.id, self.frame_nr))
|
||||
|
||||
def __eq__(self, other):
|
||||
return (self.id, self.frame_nr) == (other.id, other.frame_nr)
|
||||
|
||||
Reference in New Issue
Block a user