I have two models ,primary GIE for detection and secondary GIE for identification.
I need to affine transform the result (irregular quadrilateral) detected by the primary GIE, and then crop it as the input of the secondary GIE. Can it be done?
My dynamic model batchsize is 1, but the size of width and height is not fixed, ranging from 64 to 1024. The size of each cropped image is different.In tensorrt, I can use context->setBindingDimensions(inputindex, dims4(1,C,H,W)) to set the dims for each run.