MCPcopy Create free account
hub / github.com/FoundationVision/ByteTrack / __init__

Method __init__

tutorials/motr/transforms.py:431–432  ·  view source on GitHub ↗
(self, size)

Source from the content-addressed store, hash-verified

429
430class CenterCrop(object):
431 def __init__(self, size):
432 self.size = size
433
434 def __call__(self, img, target):
435 image_width, image_height = img.size

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected