API FF Integration Events \ HTTP Multipart POST

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 ...
    • Simple PHP receiver for multipart post

      This simple receiver may be used with any HTTP server which supports PHP extension. ff_post.php <?php $uploaddir = 'log/'; echo "<pre>\n"; $uploadfile = $uploaddir . basename($_FILES['event']['name']); if ...
    • Real-time Events API (VAPIX or ONVIF)

      To receive real-time recognition events from the camera, you can utilize either the VAPIX or ONVIF protocol. These protocols allow you to access event data packets containing relevant information without the actual image. The packet structure for ...
    • 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 ...
    • Post-process logic

      These settings are designed for different scenarios in the camera setup, affecting how the application's recognition engine processes information in the frame. - High Traffic Flow: For scenarios with high traffic flow, we recommend using the default ...