class documentation
class LensShadingModel(BaseModel): (source)
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 | |
Undocumented |
| Class Variable | colour |
Undocumented |
| Class Variable | |
Undocumented |
| Class Variable | luminance |
Undocumented |