MCPcopy Create free account
hub / github.com/Pixel-Talk/EHM-Tracker / __init__

Method __init__

src/modules/pixie/utils/array_cropper.py:59–62  ·  view source on GitHub ↗
(self, crop_size, scale=[1,1], trans_scale = 0.)

Source from the content-addressed store, hash-verified

57
58class Cropper(object):
59 def __init__(self, crop_size, scale=[1,1], trans_scale = 0.):
60 self.crop_size = crop_size
61 self.scale = scale
62 self.trans_scale = trans_scale
63
64 def crop(self, image, points, points_scale=None):
65 # points to bbox

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected