You can try using ITSAPI events, namely, create a server and receive events from the camera via a web hook, which you specified a server for in ITSAPI. It sends metadata about the car and a picture
On server it will be like:
@routes.post("/NotificationInfo/TollgateInfo")
def...