Allows for frames with no detections (test on frame 9)
Corrected bug in image name (added zfill)