Utilising GPU to perform real-time .JPG compression in Python

Hi,
For JPEG hardware encoding, we have nvjpegenc in gstreamer and NvJpegEncoder in jetson_multimedia_api. Possible solution is to launch gstreamer pipeline in python. The sample might be for reference: