Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FoundationVision/ByteTrack
/ __call__
Method
__call__
tutorials/motr/transforms.py:312–314 ·
view source on GitHub ↗
(self, img, target)
Source
from the content-addressed store, hash-verified
310
self.size = size
311
312
def
__call__(self, img, target):
313
region = T.RandomCrop.get_params(img, self.size)
314
return
crop(img, target, region)
315
316
317
class
MotRandomCrop(RandomCrop):
Callers
nothing calls this directly
Calls
1
crop
Function · 0.85
Tested by
no test coverage detected