qubee.calibration.preprocess.CenterCrop Class Reference

qubee.calibration.preprocess.CenterCrop Class Reference#

Mobilint SDK qb Compiler: qubee.calibration.preprocess.CenterCrop Class Reference
Mobilint SDK qb Compiler v0.12.0.0
MCS002-EN
qubee.calibration.preprocess.CenterCrop Class Reference

Perform a centered crop on the image. More...

Public Member Functions

 __init__ (self, List[int] size)
 __call__ (self, np.ndarray img)

Public Attributes

int size = size * 2

Detailed Description

Perform a centered crop on the image.

Parameters
sizelist[int]. Target height and width.

Definition at line 562 of file preprocess.py.

Constructor & Destructor Documentation

◆ __init__()

qubee.calibration.preprocess.CenterCrop.__init__ ( self,
List[int] size )

Definition at line 569 of file preprocess.py.

Member Function Documentation

◆ __call__()

qubee.calibration.preprocess.CenterCrop.__call__ ( self,
np.ndarray img )

Definition at line 580 of file preprocess.py.

Member Data Documentation

◆ size

int qubee.calibration.preprocess.CenterCrop.size = size * 2

Definition at line 574 of file preprocess.py.


The documentation for this class was generated from the following file: