TRT Pose Model integration with a REST API in python

I want to integrate the trt_pose model with a REST API where I send an image and after running through the model, and send the result in the response in JSON. Can someone please guide me on how to move forward with the integration. I’m building the backend using nodejs and python

TensorRT Version :
Nvidia Driver Version : 520.61.05
CUDA Version : 11.8
CUDNN Version : 8.9.0
Operating System + Version : Linux Ubuntu 18.04
Python Version (if applicable) : 3.6


Please refer GitHub - NVIDIA-AI-IOT/trt_pose: Real-time pose estimation accelerated with NVIDIA TensorRT for using trt-pose.
You can try creating REST APIs using Python Flask or FASTAPI.

Thank you.