yes, from the error, you need to add the binding. please refer to NvDsVehicleObject’s binding binding.
for sending custom data, please refer to topic and /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test4. test4 can send jpeg file by UserMeta.