Warp Affine: custom post processing on pgie for face alignment

I have OpenCV code to warp the face images (which is in obj_meta) in deep stream.

Can nvdspreprocess be used to do warp affine operations on obj_meta data?

    tfm = cv2.getAffineTransform(src_pts[0:3], ref_pts[0:3])
    face_img = cv2.warpAffine(src_img, tfm, (crop_size[0], crop_size[1]))

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) jetson
• DeepStream Version 6.2
• JetPack Version (valid for Jetson only) 5.1.2
• TensorRT Version 8.2
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

Could you describe the specific processing requirements for the images?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.