cabaret.camera.ConstantPixelDefect.introduce_pixel_defect# ConstantPixelDefect.introduce_pixel_defect(image, camera, **kwargs)[source]# Introduce the defect into the image. Parameters: image (np.ndarray) – The image to which the defect will be introduced. camera (Camera) – The camera to which the defect applies.