Hi,
• Hardware Platform:Jetson TX2
• DeepStream Version: 5.1
• JetPack Version:4.5.1
I am altering the deepstream-test2 application with secondary classifiers for my project using face detection model and related secondary models like age,gender etc.
For the image cropping part I’ve referred deepstream-image-meta-test to crop faces and stored in a directory. The cropping of images is successful.

I want to convert the faces(images) in buffer to base64 before writing them to the disk.
How to encode image to base64 in deepstream?
Please help.