started writing preprocessing

This commit is contained in:
2023-02-06 22:46:11 +00:00
parent 4ef1b82ac5
commit ac7d4c4321
9 changed files with 906 additions and 522 deletions
+14
View File
@@ -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)