TCP mode

You can run Celantur Container in TCP mode. This allows you to send and receive images (in JPEG format or as NumPy array) over a TCP socket connection, resulting in performance gains by reducing read/write and data conversion overhead.

Transfer images as JPEG

Transfer images in JPEG format over a TCP connection by using
bash celantur.sh --server 0.0.0.0:9999 -a face -a license-plate --format whole
Find a Python implementation of the client script here:

Transfer images as NumPy arrays

Transfer images as NumPy arrays over a TCP connection by using
bash celantur.sh --server-array 0.0.0.0:9999 -a face -a license-plate --format whole
Find a Python implementation of the client script here:
TCP mode does not support video files.