Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 802 Bytes

File metadata and controls

19 lines (17 loc) · 802 Bytes

Multithreaded TCP Image-Processing Server

A concurrent TCP client-server application written in C that processes image requests using OpenCV. Clients submit images for face detection or face replacement, and the server returns processed output images using a defined binary communication protocol.

Key Features

  • TCP client-server communication
  • Multithreaded request handling
  • Face detection and face replacement using OpenCV
  • Custom binary communication protocol
  • Configurable concurrent connection limits
  • Maximum request-size validation
  • Synchronisation using semaphores and mutexes
  • Signal-based server statistics reporting
  • Defensive handling of invalid images and malformed requests

Technologies

C, TCP sockets, pthreads, semaphores, mutexes, signals, OpenCV, binary protocols