MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / crop

Method crop

mmdet/core/mask/structures.py:64–72  ·  view source on GitHub ↗

Crop each mask by the given bbox. Args: bbox (ndarray): Bbox in format [x1, y1, x2, y2], shape (4, ). Return: BaseInstanceMasks: The cropped masks.

(self, bbox)

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