MCPcopy Create free account
hub / github.com/MhLiao/TextBoxes_plusplus / crop

Method crop

python/caffe/detector.py:125–179  ·  view source on GitHub ↗

Crop a window from the image for detection. Include surrounding context according to the `context_pad` configuration. Parameters ---------- im: H x W x K image ndarray to crop. window: bounding box coordinates as ymin, xmin, ymax, xmax. Retu

(self, im, window)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

detect_windowsMethod · 0.95
resize_and_crop_imageMethod · 0.80

Calls 1

copyMethod · 0.80

Tested by

no test coverage detected