MCPcopy Create free account
hub / github.com/alinlab/SelfPatch / read_frame_list

Function read_frame_list

eval_video_segmentation.py:191–194  ·  view source on GitHub ↗
(video_dir)

Source from the content-addressed store, hash-verified

189
190
191def read_frame_list(video_dir):
192 frame_list = [img for img in glob.glob(os.path.join(video_dir,"*.jpg"))]
193 frame_list = sorted(frame_list)
194 return frame_list
195
196
197def read_frame(frame_dir, scale_size=[480]):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected