API Integration for FF Events with HTTP Multipart POST and TCP

API FF Integration Events \ HTTP Multipart POST


New Event: This event occurs when a vehicle is detected for the first time. The direction of the vehicle is undefined.

Update Event: This event occurs when there is a change in the data package. It can include updates to the recognized license plate, calculation and addition of direction, or changes in the recognition zone.

Lost Event: This event occurs when a detected vehicle has been absent from the recognition zone for more than 5 seconds.

HTTP Multipart POST: To send JSON data and images to a web service, the multipart POST HTTP(s) request method is used. The data transferred includes a JSON payload containing the event description and the associated image.

TCP Protocol: To send data to external applications, the TCP protocol is used. The camera establishes a TCP connection with the specified URL and sends data over the socket. The external application should open a TCP socket and listen for incoming data.

Transferred Data for TCP (Text):

The data transferred through TCP consists of a JSON payload containing the event description. No images are included in the TCP data, only text-based information is sent.


    • Related Articles

    • FF-Events Configuration

      To send the recognized data to other applications such as VMS (Video Management Systems) or Data Management Systems, you can utilize FF-Events in CAMMRA. Follow these steps to set up event sending: Go to the application's web page and select the ...
    • JSON Fields (Protocol 1.6) \ JSON example

      Token Type Format / Value Description packetCounter Unsigned int Counter of packets. Starts from “1”. Counter starts after successful connection or after start of device. It does not matter. datetime string YYYYMMDD HHMMSSFFF YYYY - year 4 digits MM ...
    • Settings for Stored Events

      To configure the storage settings for events in CAMMRA, follow these steps: Select the Type of Events to be Stored: Choose the type of events that should be stored based on your requirements: All: All events, including both whitelisted and ...
    • Events Request \ Request URL Examples

      To download event records from the on-camera database, you can make an HTTP GET request using the following target: http://<camera-IP-address>/local/fflprapp/search.cgi?<paramName1>=<value1>&<paramName2>=<value2> The request allows you to specify ...
    • Package Description for License Plate Recognition (LPR)

      Real-time recognition events are received from a camera using either the VAPIX or ONVIF protocol. These events provide relevant information related to license plate recognition, without including the actual image data. To learn more about the usage ...