![]() |
IRSOL
C++ code implementing socket server for interacting with Baumer camera.
|
This example demonstrates a basic client-server architecture for camera image acquisition and distribution using the irsol
camera framework. It showcases how multiple clients can interact with a camera server by sending different image acquisition commands and receiving image data in response.
gi
(get image) commands to the server. Each gi
command requests a single image frame from the camera. The client receives and displays or processes each frame as it arrives.gis
(get images) commands to the server. Each gis
command requests a stream of images at a specified frame rate. The client receives a continuous stream of frames, which can be displayed after being all received.This example illustrates how the irsol
camera framework supports:
gi
for single images, gis
for streams) to control their interaction with the camera server.This example is representative of real-world scenarios where a central camera server must serve multiple consumers with different image acquisition needs—such as monitoring stations, analysis tools, or visualization clients. It demonstrates the flexibility and scalability of the irsol
camera framework's client-server model, as well as its ability to handle both on-demand and streaming image requests.