Container number recognition

Container ID recognition module recognizes the numbers of containers with international identification codes ISO 6346 with vertical or horizontal placement of identification marks.

The module works as an external process and can analyze video streams from multiple cameras simultaneously and does the following:

  • Connects video surveillance cameras via ONVIF and RTSP
  • Decompresses video streams for video analytics module
  • Recognizes horizontal or vertical container ID numbers and delivers results in JSON format:
  • container ID:
  • owner code – three letters;
  • equipment category identifier – one letter;
  • serial number – six Arabic numerals;
  • check digit – one Arabic numeral providing a means of validating the owner code and serial number.
  • timestamp for the frame with the best recognition result;
  • container number position at the image;
  • confidence – recognizer confidence level.
  • Provides video storage and receiving video and/or frames on timestamps of container number recognition.

Recognition algorithm mode can be controlled: in this case the integrating application can start and stop the algorithm when the container is in front of the camera, for example, on a railway flatcar or a car.

Managed mode (HTTP request)

In case of on-command recognition Viinex interacts with the algorithms via HTTP protocol. It allows to launch multiple recognition tasks simultaneously for a variety of reasons – with no need to serialize requests or take any other precautions usually necessary for multithreaded use of recognition libraries.

Request example:

GET http://servername:port/v1/svc/cidrCamN

Preprocess and postprocess parameters of time of recognition can be preset, like half a second before and after receiving this command.

Automated mode (WebScoket)

The algorithm of recognition in video stream can also work in fully automated mode (freeflow) – when there is no possibility to use additional information as to whether the container is in front of the camera and control the recognition process via HTTP requests. In this case it is possible to receive recognition results through the use of alert service via WebSocket interface. WebSocket subscription also works fine when it’s necessary to deliver results to multiple clients of the integration application, not only to the one controlling the recognition and sending HTTP requests.

For the purpose of hardware resources use optimization Viinex offers a capability to specify a ROI (range of interest) to analyze only a part of the image. Moreover, one can also adjust the parameters of video stream details – whether all frames or only key frames should be analyzed; can they be skipped; should the analysis process be stopped if the initial result has a necessary confidence rate. These settings help to save a lot on hardware resources.