set_adaptive_roi#
- Client.set_adaptive_roi(size_x: int, size_y: int, offset_x: int = None, offset_y: int = None)#
Automatically choose the proper HW ROI and set SW ROI of the current camera on DE-Server.
If offset_x and offset_y are not provided, they will be centered on the camera.
- Parameters:
size_x (int) – The width of the ROI
size_y (int) – The height of the ROI
offset_x (int) – The x offset of the ROI. If None, the ROI will be centered on the camera.
offset_y (int) – The y offset of the ROI. If None, the ROI will be centered on the camera.