Integrate nvinfer output and zbar plugin

Yea that issue solved,But I have one more doubt. When i save the image crops after nvinfer with the code mentioned in this link How to crop the image and save - #9 by iyaqoobi, i can’t able to save the original crops without padding because its scale the crops to the default image width and height mentioned in dsexample. But i want to save crops without padding, So How to save the detected object crops without padding in dsexample?