preprocess.py File Reference

preprocess.py File Reference#

Mobilint SDK qb Compiler: preprocess.py File Reference
Mobilint SDK qb Compiler v1.2
MCS002-EN
preprocess.py File Reference

Go to the source code of this file.

Classes

class  qbcompiler.calibration.preprocess.GetNpy
 Load NumPy data from an in-memory array or a .npy file. More...
class  qbcompiler.calibration.preprocess.NpyNormalize
class  qbcompiler.calibration.preprocess.NpyPad
 Pad NumPy arrays to a desired shape. More...
class  qbcompiler.calibration.preprocess.GetImage
 Retrieve an image tensor from a file path or NumPy array using OpenCV. More...
class  qbcompiler.calibration.preprocess.Pad
 Pad images to a target shape or to meet a size divisor. More...
class  qbcompiler.calibration.preprocess.Normalize
 Apply mean/std normalization to images. More...
class  qbcompiler.calibration.preprocess.ResizeTorch
class  qbcompiler.calibration.preprocess.Resize
 Resize images with optional aspect-ratio preservation. More...
class  qbcompiler.calibration.preprocess.CenterCrop
 Perform a centered crop on the image. More...
class  qbcompiler.calibration.preprocess.SetOrder
class  qbcompiler.calibration.preprocess.preproc_builder
 Build a calibration preprocessing pipeline from a YAML or dict configuration. More...

Functions

 qbcompiler.calibration.preprocess.preprocess_fnc (fnc, Datatype="Image")

Variables

dict qbcompiler.calibration.preprocess.DTYPE_GETDATA_MAP = {"Image": "GetImage", "Npy": "GetNpy", "LLM": "GetText"}