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

Method save_frame

deeplabcut/utils/video_processor.py:141–143  ·  view source on GitHub ↗
(self, frame)

Source from the content-addressed store, hash-verified

139 return np.flip(frame, 2)
140
141 def save_frame(self, frame):
142 if frame is not None:
143 self.svid.write(np.flip(frame, 2))
144
145 def close(self):
146 if hasattr(self, "svid") and self.svid is not None:

Callers

nothing calls this directly

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected