MCPcopy Create free account
hub / github.com/BertaBescos/DynaSLAM / resize_image

Function resize_image

src/python/utils.py:359–408  ·  view source on GitHub ↗

Resizes an image keeping the aspect ratio. min_dim: if provided, resizes the image such that it's smaller dimension == min_dim max_dim: if provided, ensures that the image longest side doesn't exceed this value. padding: If true, pads image with zeros so it's size i

(image, min_dim=None, max_dim=None, padding=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected