SmartSpectra C++ SDK
Measure human vitals from video with SmartSpectra C++ SDK.
Loading...
Searching...
No Matches
hello_world_on_prem_client.HelloWorldOnPremClient Class Reference

Public Member Functions

 __init__ (self)
bool connect_to_server (self, int port=50051)
bool start_services (self)
bool setup_camera (self, int camera_index=0)
AsyncIterable[ps.FrameWithTimestamp] capture_frames (self)
None handle_metrics (self)
None cleanup (self)
None run (self)

Public Attributes

 physiology_client = None
 capture = None
bool continue_capture = True
bool recording = False
list tasks = []

Member Function Documentation

◆ capture_frames()

AsyncIterable[ps.FrameWithTimestamp] hello_world_on_prem_client.HelloWorldOnPremClient.capture_frames ( self)
Capture frames from camera and yield them for processing.

◆ cleanup()

None hello_world_on_prem_client.HelloWorldOnPremClient.cleanup ( self)
Clean up resources.

◆ connect_to_server()

bool hello_world_on_prem_client.HelloWorldOnPremClient.connect_to_server ( self,
int port = 50051 )
Connect to the Physiology Server and verify it's healthy.

◆ handle_metrics()

None hello_world_on_prem_client.HelloWorldOnPremClient.handle_metrics ( self)
Handle incoming metrics from the server.

◆ run()

None hello_world_on_prem_client.HelloWorldOnPremClient.run ( self)
Main application loop.

◆ setup_camera()

bool hello_world_on_prem_client.HelloWorldOnPremClient.setup_camera ( self,
int camera_index = 0 )
Initialize the camera capture.

◆ start_services()

bool hello_world_on_prem_client.HelloWorldOnPremClient.start_services ( self)
Start the Core and Edge processing services.

The documentation for this class was generated from the following file:
  • on_prem/samples/hello_world_on_prem_client.py