Thanks, I got the way to do it and now it can be flipped before conv layer.
The order of the param should be
permute_param {
order: 0
order: 1
order: 3
order: 2
}
Thanks for your help, but I’m still wondering if there’s a way to directly preprocess on the image in case user needs to do some complex process steps.
I notice there’s a code snippet sort of similar with this: Deepstream sample code snippet
In this code, image can be extracted from a sink pad before pgie, but I didn’t quite understand the surface & opencv part and how does a image be inserted back to buffer after extracted to preprocess.