MCPcopy Create free account
hub / github.com/DeepLabCut/DeepLabCut / __repr__

Method __repr__

deeplabcut/utils/auxfun_videos.py:55–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53 self._n_frames_robust = None
54
55 def __repr__(self):
56 string = "Video (duration={:0.2f}, fps={}, dimensions={}x{})"
57 return string.format(self.calc_duration(), self.fps, *self.dimensions)
58
59 def __len__(self):
60 return self._n_frames

Callers

nothing calls this directly

Calls 2

calc_durationMethod · 0.95
formatMethod · 0.80

Tested by

no test coverage detected