Turn off Heartbeat when using HTTP POST


#1

Hi,
As a newbee to OPENALPR software I am in the process of setting up the software.
I use HTTP POST to send the result to my webserver were I process the number plate scanned.

At the moment I receive a Heartbeat every now and then. Were can I turn this off if I do not need them??

Best Regards
Morten Wiingreen
GASA GROUP Denmark A/S


#2

I am not sure if you can turn them off.

I had need to use them but you can simply filter them since the “data_type” property is either “heartbeat”, “alpr_result” or “alpr_group”.

Both heartbeat data structure and lpr result share common fields, so it is easy with json deserialization to map them and filter them.

Also if you have the possibility for request scanning middleware you can filter them right at the start of the request.

Regards,
Martin.