Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/pidng/camdefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,10 @@ def __settings__(self) -> None:
self.tags.set(Tag.ProfileEmbedPolicy, [profile_embed])

class RaspberryPiHqCamera(BaseCameraModel):
def __init__(self, sensor_mode : int, cfaPattern=CFAPattern.BGGR, orientation=Orientation.Horizontal) -> None:
def __init__(self, sensor_mode : int, fmt : dict, cfaPattern=CFAPattern.BGGR, orientation=Orientation.Horizontal) -> None:
super().__init__()
self.model = RaspberryPiCameraModels.Raspberry_Pi_High_Quality_Camera
self.fmt = fmt
self.mode = sensor_mode
self.orientation = orientation
self.cfaPattern = cfaPattern
Expand Down Expand Up @@ -160,6 +161,9 @@ def __settings__(self) -> None:
else:
bpp = 10

self.fmt['size']=(width,height)
self.fmt['bpp']=bpp

profile_name = "Repro 2_5D no LUT - D65 is really 5960K"
profile_embed = 3

Expand Down