MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / recover_func

Function recover_func

PATH/core/solvers/utils/peddet_tester_dev.py:737–741  ·  view source on GitHub ↗
(bboxes)

Source from the content-addressed store, hash-verified

735 return results
736
737def recover_func(bboxes):
738
739 assert bboxes.shape[1]>=4
740 bboxes[:, 2:4] += bboxes[:,:2]
741 return bboxes
742
743def clip_boundary(dtboxes,height,width):
744

Callers 1

workerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected