Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions RPI/ISP/arducam_mipicamera.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ class CAMERA_INTERFACE(Structure):
arducam_start_preview.restype = c_int

arducam_stop_preview = camera_lib.arducam_stop_preview
arducam_start_preview.argtypes = [c_void_p]
arducam_start_preview.restype = c_int
arducam_stop_preview.argtypes = [c_void_p]
arducam_stop_preview.restype = c_int

arducam_capture = camera_lib.arducam_capture
arducam_capture.argtypes = [c_void_p, POINTER(IMAGE_FORMAT), c_int]
Expand Down
6 changes: 3 additions & 3 deletions RPI/python/arducam_mipicamera.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ class CAMERA_INTERFACE(Structure):
arducam_start_preview.restype = c_int

arducam_stop_preview = camera_lib.arducam_stop_preview
arducam_start_preview.argtypes = [c_void_p]
arducam_start_preview.restype = c_int
arducam_stop_preview.argtypes = [c_void_p]
arducam_stop_preview.restype = c_int

arducam_capture = camera_lib.arducam_capture
arducam_capture.argtypes = [c_void_p, POINTER(IMAGE_FORMAT), c_int]
Expand Down Expand Up @@ -544,4 +544,4 @@ def remove_padding(data, width, height, bit_width):
buff = buff.reshape(align_height, align_width)
buff = buff[:height, :real_width]
buff = buff.reshape(height * real_width)
return buff
return buff
6 changes: 3 additions & 3 deletions RPI/stereo_depth_demo/arducam_mipicamera.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ class CAMERA_INTERFACE(Structure):
arducam_start_preview.restype = c_int

arducam_stop_preview = camera_lib.arducam_stop_preview
arducam_start_preview.argtypes = [c_void_p]
arducam_start_preview.restype = c_int
arducam_stop_preview.argtypes = [c_void_p]
arducam_stop_preview.restype = c_int

arducam_capture = camera_lib.arducam_capture
arducam_capture.argtypes = [c_void_p, POINTER(IMAGE_FORMAT), c_int]
Expand Down Expand Up @@ -537,4 +537,4 @@ def remove_padding(data, width, height, bit_width):
buff = buff.reshape(align_height, align_width)
buff = buff[:height, :real_width]
buff = buff.reshape(height * real_width)
return buff
return buff