---
title: "DistortionMode"
description: "API documentation for DistortionMode"
url: https://developer.disguise.one/python-api/docs/distortionmode/
---

# DistortionMode

specify what lens distortion coefficients should be used  
Can be used to specify the use of lens distortion coefficients during  
calibration or correction.  
Please also read comment in ‘lensdistortion.hpp’!

See also: [Calibration Guide](/plugins/guides/calibration)

Base class: _\_BlipEnum_

## Variables

#### **Off** = 0

#### **RadialK1** = 1

#### **RadialK12** = 2

#### **RadialK13** = 3

#### **RadialK16** = 4

#### **RadialK1\_Tangential** = 5

#### **RadialK12\_Tangential** = 6

#### **RadialK13\_Tangential** = 7

#### **RadialK16\_Tangential** = 8

## Constructors

#### **\_\_init\_\_**(self)

Default constructor for DistortionMode

#### **\_\_init\_\_**(self, other: _[DistortionMode](/python-api/docs/distortionmode#distortionmode)_)

Copy constructor for DistortionMode

## Methods

#### **toString**(self) -> _str_

The name of this enumerator, or an empty string if its value is not a named enumerator

## Static Methods

#### **fromInt**(arg0: _int_) -> _[DistortionMode](/python-api/docs/distortionmode#distortionmode)_

The enumerator with the given integer value, which need not be one of the named enumerators

## Special Methods

#### **\_\_index\_\_**(self) -> _int_

The integer value of this enumerator, for use as a list index

#### **\_\_int\_\_**(self) -> _int_

The integer value of this enumerator

#### **\_\_repr\_\_**(self) -> _str_

The enum and enumerator names, as ; str() and print give the same

#### **\_\_lt\_\_**(self, other: _Self | int_) -> _bool_

Orders by integer value; ordering against a different enum raises TypeError

#### **\_\_le\_\_**(self, other: _Self | int_) -> _bool_

Orders by integer value; ordering against a different enum raises TypeError

#### **\_\_gt\_\_**(self, other: _Self | int_) -> _bool_

Orders by integer value; ordering against a different enum raises TypeError

#### **\_\_ge\_\_**(self, other: _Self | int_) -> _bool_

Orders by integer value; ordering against a different enum raises TypeError
