diff --git a/RPI/ISP/arducam_mipicamera.py b/RPI/ISP/arducam_mipicamera.py index 8b6e0ad..2ccecd9 100644 --- a/RPI/ISP/arducam_mipicamera.py +++ b/RPI/ISP/arducam_mipicamera.py @@ -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] diff --git a/RPI/python/arducam_mipicamera.py b/RPI/python/arducam_mipicamera.py index d7d196d..11130d6 100644 --- a/RPI/python/arducam_mipicamera.py +++ b/RPI/python/arducam_mipicamera.py @@ -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] @@ -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 \ No newline at end of file + return buff diff --git a/RPI/stereo_depth_demo/arducam_mipicamera.py b/RPI/stereo_depth_demo/arducam_mipicamera.py index b2b0f3f..65c44de 100644 --- a/RPI/stereo_depth_demo/arducam_mipicamera.py +++ b/RPI/stereo_depth_demo/arducam_mipicamera.py @@ -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] @@ -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 \ No newline at end of file + return buff