from idtrackerai import ListOfBlobs
list_of_blobs = ListOfBlobs.load("session_whatever/preprocessing/list_of_blobs.pickle")
# iterate over the main list
for frame, blobs_in_frame in enumerate(list_of_blobs.blobs_in_video):
for blob in blobs_in_frame:
do_something(frame, blob.contour)
# or iterate over a flattened view of the list
for blob in list_of_blobs.all_blobs:
do_something(blob.contour)