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.
Not yet supported in TCP mode
Anonymization of video files
Generation of metadata JSON files
Transfer images as JPEG
Transfer images in JPEG format over a TCP connection by using
Find a Python implementation of the client script here:
Add save-mask binary --mask-scale 20
as parameters to receive segmentation masks instead of an anonymized image. The received binary mask has to be saved as PNG.
Transfer images as NumPy arrays
Transfer images as NumPy arrays over a TCP connection by using
Find a Python implementation of the client script here:
FAQ
I'm transferring data over a VPN, does that work?
Yes, transferring data via TCP mode over a VPN works.
The maximum TCP frame size has to be lower than the one specified for your VPN, to avoid issues during data transfer.
Last updated