Module grpc_vision_svc::service_impl
source · Expand description
This module provides the ComputerVisionSvc
struct and its associated methods for image processing.
The primary functionality includes handling single and batch image processing requests using gRPC.
The ComputerVisionSvc
utilizes an ImageProcessor
to perform the actual processing of images
and a semaphore to limit the number of concurrent requests for efficient resource management.
Structs§
- The
ComputerVisionSvc
struct provides methods for processing images. It holds anImageProcessor
instance and a semaphore for limiting concurrent requests.