MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / load_frame

Method load_frame

deeplabcut/utils/video_processor.py:66–70  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

64 self.FPS = fps
65
66 def load_frame(self):
67 frame = self._read_frame()
68 if frame is not None:
69 self.i += 1
70 return frame
71
72 def height(self):
73 return self.h

Callers 3

CreateVideoFunction · 0.80
CreateVideoSlowFunction · 0.80

Calls 1

_read_frameMethod · 0.95

Tested by

no test coverage detected