How can I use nvdspreprocess before secondary nvinfer to do some perspective job?

I intent to use LPRNet for Chinese Plate recognition.