pysdic.Camera.internal_bypass#

property Camera.internal_bypass: bool#

Get and set the internal bypass mode status. When enabled, internal checks are skipped.

This is useful for testing purposes, but should not be used in production code. If this parameters is set to True, the user must manage the updates manually.

The updates must be call when an object Extrinsic, Distortion or Intrinsic is modified. Meaning that the parameters or constants of the transformation has been changed.

camera.internal_bypass = True
camera.extrinsic.parameters = <parameters>
camera.extrinsic_update()

If internal_bypass is set to False, the class stored a copy of the parameters and constants of the extrinsic, distortion and intrinsic transformations. If any changes are detected, the update methods are called automatically. This action impacts the memory usage of the class and time computation by comparing the stored values with the current values at each call.

By default, internal_bypass is set to False when the camera is created.

See also

The methods to update the camera’s transformations to call when internal_bypass is set to True.

The package pycvcam (Artezaru/pycvcam) to deal with camera transformations.

Parameters:

value (bool) – If True, internal checks are bypassed. If False, internal checks are performed.

Raises:

TypeError – If the value is not a boolean.