-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmisc.py
11 lines (9 loc) · 999 Bytes
/
misc.py
1
2
3
4
5
6
7
8
9
10
11
import pickle
def pickle_eye_labels():
lis = [[((204,152,27,16), (258,131,32,18))], [((79,80,18,7), (118,84,17,12)), ((171,125,9,4), (193,123,10,5)), ((315,113,17,8), (353,103,17,8))], [((121,70,15,8),(151,76,17,8))],
[((81,94,14,7), (111,95,15,7)), ((271,58,14,8), (301,57,16,7))], [((110,167,35,22), (170,170,35,18))], [((101,159,44,22), (176,154,44,20))], [((111,182,50,20),(201,186,44,22))],
[((118,67,16,6),(150,68,18,6))], [((102,94,25,13),(145,97,23,12)), ((251,83,20,12),(282,75,18,13))], [((198,102,22,10),(243,94,20,10))], [((183,119,25,13),(222,112,22,13))],
[((137,154,30,14),(196,147,34,16))], [((151,94,26,12),(196,92,25,11))], [((77,142,50,26),(168,136,47,25))], [((82,185,42,17),(161,172,42,18))], [((154,128,32,13),(205,131,27,13))],
[((102,111,27,12),(156,112,23,11))], [((186,95,16,10),(221,101,18,8))], [((113,95,23,15),(152,91,24,15))], [((114,112,23,12),(160,111,22,10))]]
with open('img/manual/eye_labels.pkl', 'wb') as f:
pickle.dump(lis, f)