Apply this transformer to rdd
how to generate crop roi
set the output key to store current transformed result if the key is not set, or same as default, then the transformed result will be overwritted by the following transformer
set the output key to store current transformed result if the key is not set, or same as default, then the transformed result will be overwritted by the following transformer
output key
transform feature
transform mat
transform mat
Random sample a bounding box given some constraints and crop the image This is used in SSD training augmentation