Celantur Documentation
celantur.com
  • Celantur Documentation
  • Container
    • Getting Started
    • Requirements and Installation
      • Requirements
      • Installation on Linux
      • Installation on Windows
      • Updates
    • Usage
      • Batch and Stream mode
      • REST API (v1) mode
      • TCP mode
      • Segmentation Masks and Metadata
      • Customize Blurring
      • Using CPU only
      • Object Tracking
    • Benchmarks
    • Release Notes
  • SDK/Edge
    • Getting Started
    • Requirements and Installation
      • Requirements
    • Benchmarks
    • Release Notes
  • Architecture
  • Troubleshooting
  • Cloud API
    • Getting Started
    • Concept
    • Authorization
    • Examples
    • API Endpoints
    • Webhooks
    • v1 (deprecated)
      • v1 API Endpoints (deprecated)
      • v1 Webhooks (deprecated)
      • v1 Examples (deprecated)
      • v1 Authorization (deprecated)
    • Release Notes
  • Tutorials
    • Image Anonymization in Esri ArcGIS Online
    • Image Anonymization in Esri ArcGIS Pro
    • Anonymization of ROS2 .mcap files
    • FARO Blurring Workflow
    • Anonymize Teledyne Flir PGR images
Powered by GitBook
On this page
  • Transfer images as JPEG
  • Transfer images as NumPy arrays
  • FAQ
  • I'm transferring data over a VPN, does that work?
  1. Container
  2. Usage

TCP mode

PreviousREST API (v1) modeNextSegmentation Masks and Metadata

Last updated 2 months ago

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

Blur faces/license plates
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
Get binary masks
bash celantur.sh --server-array 0.0.0.0:9999 -a face -a license-plate --format whole --save-mask binary --mask-scale 20

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.

Add save-mask binary --mask-scale 20 as to receive segmentation masks instead of an anonymized image. The received binary mask has to be saved as PNG.

Logocelantur-examples/celantur-jpeg-client.py at main · celantur/celantur-examplesGitHub
Implementation
Logocelantur-examples/celantur-numpy-client.py at main · celantur/celantur-examplesGitHub
Implementation
parameters