MCPcopy Create free account
hub / github.com/Ropedia/SpatialBench / crop

Method crop

benchmark/utils/cropping.py:66–67  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

64 return ImageList(self._dispatch('resize', *args, **kwargs))
65
66 def crop(self, *args, **kwargs):
67 return ImageList(self._dispatch('crop', *args, **kwargs))
68
69 def _dispatch(self, func, *args, **kwargs):
70 return [getattr(im, func)(*args, **kwargs) for im in self.images]

Callers 1

crop_image_depthmapFunction · 0.95

Calls 2

_dispatchMethod · 0.95
ImageListClass · 0.70

Tested by

no test coverage detected