Ensenso_GrabImage


Captures Images using Ensenso.

Syntax

C++
Python
 
def Ensenso_GrabImage(
	state: Ensenso_State,
	inDevices: list[EnsensoCameraInformation],
	outImage1: Image,
	/,
	*,
	inParametersFile: str | None = None
)
-> (
	outResult: bool,
	outImage2: Image | None
)

Parameters

Name Type Default Description
Input will be modified ioState Ensenso_State
Input value inDevices list[EnsensoCameraInformation] Structures identifying devices.
Input value inParametersFile str | None None Initial global parameters.
Output value outImage1 Image Image from the left camera of a dual camera sensor or the only image from a single camera sensor.
Output value outImage2 Image | None Image from the right camera of a dual camera sensor if exists.

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.