cabaret.camera.RandomNoisePixelDefect.introduce_pixel_defect# RandomNoisePixelDefect.introduce_pixel_defect(image, camera, seed: int | None = None, **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.