class documentation

class LensShadingModel(BaseModel): (source)

View In Hierarchy

A Pydantic model holding the lens shading tables.

Note this shouldn't be confused with the typehint for LensShadingTables in recalibrate utils which is for the arrays.

PiCamera needs three numpy arrays for lens shading correction. Each array is (12, 16) in size. The arrays are luminance, red-difference chroma (Cr), and blue-difference chroma (Cb).

This is a Pydantic model so that it can sent by FastAPI

Class Variable Cb Undocumented
Class Variable colour_temp Undocumented
Class Variable Cr Undocumented
Class Variable luminance Undocumented
Cb: list[list[float]] = (source)

Undocumented

colour_temp: int = (source)

Undocumented

Cr: list[list[float]] = (source)

Undocumented

luminance: list[list[float]] = (source)

Undocumented