MCPcopy Create free account
hub / github.com/aigc3d/LHM / get_box

Method get_box

engine/SegmentAPI/base.py:112–113  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

110 return w * h
111
112 def get_box(self):
113 return list(map(int, self.box))
114
115 def scale(self, scale, width, height):
116 new_box = self.to_xywh()

Callers 2

scaleMethod · 0.45
_forwardMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected