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

Method width

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

Source from the content-addressed store, hash-verified

177
178 @property
179 def width(self):
180 x1, x2, _, _ = self.get_bbox(relative=False)
181 return x2 - x1
182
183 @property
184 def height(self):

Callers 5

CreateVideoFunction · 0.45
CreateVideoSlowFunction · 0.45
launch_dlcFunction · 0.45
__init__Method · 0.45

Calls 1

get_bboxMethod · 0.95

Tested by

no test coverage detected