Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:31:05,143 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:31:05,846 - INFO - taking picture MAIN: 2026-09-07 06:31:05,846 - INFO - we take 1 photos in this while loop MAIN: 2026-09-07 06:31:05,846 - INFO - /home/pi/Desktop/images/07092026/06/30/image_07092026_06_31_05_60314.jpg MAIN: 2026-09-07 06:31:05,847 - INFO - duration: 1.0078431780002575 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:32:05,162 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:32:05,842 - INFO - taking picture MAIN: 2026-09-07 06:32:05,842 - INFO - we take 2 photos in this while loop MAIN: 2026-09-07 06:32:05,842 - INFO - /home/pi/Desktop/images/07092026/06/31/image_07092026_06_32_05_60046.jpg MAIN: 2026-09-07 06:32:05,843 - INFO - duration: 0.9572969680002643 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:33:05,008 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:33:05,691 - INFO - taking picture MAIN: 2026-09-07 06:33:05,691 - INFO - we take 3 photos in this while loop MAIN: 2026-09-07 06:33:05,692 - INFO - /home/pi/Desktop/images/07092026/06/32/image_07092026_06_33_05_59859.jpg MAIN: 2026-09-07 06:33:05,692 - INFO - duration: 0.9470077650003077 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:34:05,235 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:34:05,911 - INFO - taking picture MAIN: 2026-09-07 06:34:05,911 - INFO - we take 4 photos in this while loop MAIN: 2026-09-07 06:34:05,911 - INFO - /home/pi/Desktop/images/07092026/06/33/image_07092026_06_34_05_60214.jpg MAIN: 2026-09-07 06:34:05,911 - INFO - duration: 0.9523467549997804 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:35:05,090 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:35:05,770 - INFO - taking picture MAIN: 2026-09-07 06:35:05,770 - INFO - we take 5 photos in this while loop MAIN: 2026-09-07 06:35:05,770 - INFO - /home/pi/Desktop/images/07092026/06/34/image_07092026_06_35_05_59858.jpg MAIN: 2026-09-07 06:35:05,770 - INFO - duration: 0.9530294240003059 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:36:05,137 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:36:05,888 - INFO - taking picture MAIN: 2026-09-07 06:36:05,889 - INFO - we take 6 photos in this while loop MAIN: 2026-09-07 06:36:05,889 - INFO - /home/pi/Desktop/images/07092026/06/35/image_07092026_06_36_05_60044.jpg MAIN: 2026-09-07 06:36:05,889 - INFO - duration: 1.0267729950001012 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:37:05,304 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:37:05,980 - INFO - taking picture MAIN: 2026-09-07 06:37:05,981 - INFO - we take 7 photos in this while loop MAIN: 2026-09-07 06:37:05,981 - INFO - /home/pi/Desktop/images/07092026/06/36/image_07092026_06_37_05_60164.jpg MAIN: 2026-09-07 06:37:05,981 - INFO - duration: 0.9547440700007428 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:38:05,351 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:38:06,027 - INFO - taking picture MAIN: 2026-09-07 06:38:06,028 - INFO - we take 8 photos in this while loop MAIN: 2026-09-07 06:38:06,028 - INFO - /home/pi/Desktop/images/07092026/06/37/image_07092026_06_38_05_60073.jpg MAIN: 2026-09-07 06:38:06,028 - INFO - duration: 0.9281279779997931 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:39:05,267 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:39:05,944 - INFO - taking picture MAIN: 2026-09-07 06:39:05,944 - INFO - we take 9 photos in this while loop MAIN: 2026-09-07 06:39:05,945 - INFO - /home/pi/Desktop/images/07092026/06/38/image_07092026_06_39_05_59918.jpg MAIN: 2026-09-07 06:39:05,945 - INFO - duration: 0.9265706509995653 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:40:05,547 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:40:06,223 - INFO - taking picture MAIN: 2026-09-07 06:40:06,223 - INFO - we take 10 photos in this while loop MAIN: 2026-09-07 06:40:06,223 - INFO - /home/pi/Desktop/images/07092026/06/39/image_07092026_06_40_05_60301.jpg MAIN: 2026-09-07 06:40:06,223 - INFO - duration: 0.9034384420001516 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:41:05,470 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:41:06,148 - INFO - taking picture MAIN: 2026-09-07 06:41:06,148 - INFO - we take 11 photos in this while loop MAIN: 2026-09-07 06:41:06,148 - INFO - /home/pi/Desktop/images/07092026/06/40/image_07092026_06_41_05_59872.jpg MAIN: 2026-09-07 06:41:06,148 - INFO - duration: 0.9553177129992036 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:42:05,508 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:42:06,184 - INFO - taking picture MAIN: 2026-09-07 06:42:06,184 - INFO - we take 12 photos in this while loop MAIN: 2026-09-07 06:42:06,184 - INFO - /home/pi/Desktop/images/07092026/06/41/image_07092026_06_42_05_60042.jpg MAIN: 2026-09-07 06:42:06,185 - INFO - duration: 0.9488029229996755 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:43:05,277 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:43:05,954 - INFO - taking picture MAIN: 2026-09-07 06:43:05,955 - INFO - we take 13 photos in this while loop MAIN: 2026-09-07 06:43:05,955 - INFO - /home/pi/Desktop/images/07092026/06/42/image_07092026_06_43_05_59763.jpg MAIN: 2026-09-07 06:43:05,955 - INFO - duration: 0.9556287280001925 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:44:05,296 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:44:06,051 - INFO - taking picture MAIN: 2026-09-07 06:44:06,051 - INFO - we take 14 photos in this while loop MAIN: 2026-09-07 06:44:06,051 - INFO - /home/pi/Desktop/images/07092026/06/43/image_07092026_06_44_05_59999.jpg MAIN: 2026-09-07 06:44:06,051 - INFO - duration: 1.052214567000192 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:45:05,537 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:45:06,215 - INFO - taking picture MAIN: 2026-09-07 06:45:06,215 - INFO - we take 15 photos in this while loop MAIN: 2026-09-07 06:45:06,216 - INFO - /home/pi/Desktop/images/07092026/06/44/image_07092026_06_45_05_60304.jpg MAIN: 2026-09-07 06:45:06,216 - INFO - duration: 0.9123346189999211 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:46:05,666 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:46:06,342 - INFO - taking picture MAIN: 2026-09-07 06:46:06,342 - INFO - we take 16 photos in this while loop MAIN: 2026-09-07 06:46:06,342 - INFO - /home/pi/Desktop/images/07092026/06/45/image_07092026_06_46_05_60069.jpg MAIN: 2026-09-07 06:46:06,342 - INFO - duration: 0.969145292999201 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:47:05,904 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:47:06,658 - INFO - taking picture MAIN: 2026-09-07 06:47:06,658 - INFO - we take 17 photos in this while loop MAIN: 2026-09-07 06:47:06,658 - INFO - /home/pi/Desktop/images/07092026/06/46/image_07092026_06_47_05_60216.jpg MAIN: 2026-09-07 06:47:06,659 - INFO - duration: 1.0687644919999002 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:48:04,904 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:48:05,580 - INFO - taking picture MAIN: 2026-09-07 06:48:05,580 - INFO - we take 18 photos in this while loop MAIN: 2026-09-07 06:48:05,580 - INFO - /home/pi/Desktop/images/07092026/06/47/image_07092026_06_48_04_59055.jpg MAIN: 2026-09-07 06:48:05,580 - INFO - duration: 0.9353782449998107 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:49:04,909 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:49:05,659 - INFO - taking picture MAIN: 2026-09-07 06:49:05,659 - INFO - we take 19 photos in this while loop MAIN: 2026-09-07 06:49:05,659 - INFO - /home/pi/Desktop/images/07092026/06/48/image_07092026_06_49_04_59963.jpg MAIN: 2026-09-07 06:49:05,659 - INFO - duration: 1.0511326939995342 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:50:05,427 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:50:06,218 - INFO - taking picture MAIN: 2026-09-07 06:50:06,218 - INFO - we take 20 photos in this while loop MAIN: 2026-09-07 06:50:06,218 - INFO - /home/pi/Desktop/images/07092026/06/49/image_07092026_06_50_05_60554.jpg MAIN: 2026-09-07 06:50:06,218 - INFO - duration: 1.0554799159999675 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:51:05,385 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:51:06,136 - INFO - taking picture MAIN: 2026-09-07 06:51:06,137 - INFO - we take 21 photos in this while loop MAIN: 2026-09-07 06:51:06,137 - INFO - /home/pi/Desktop/images/07092026/06/50/image_07092026_06_51_05_59919.jpg MAIN: 2026-09-07 06:51:06,137 - INFO - duration: 1.0540714750004554 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:52:05,576 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:52:06,252 - INFO - taking picture MAIN: 2026-09-07 06:52:06,252 - INFO - we take 22 photos in this while loop MAIN: 2026-09-07 06:52:06,252 - INFO - /home/pi/Desktop/images/07092026/06/51/image_07092026_06_52_05_60223.jpg MAIN: 2026-09-07 06:52:06,252 - INFO - duration: 0.9466624779997801 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:53:05,546 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:53:06,223 - INFO - taking picture MAIN: 2026-09-07 06:53:06,223 - INFO - we take 23 photos in this while loop MAIN: 2026-09-07 06:53:06,223 - INFO - /home/pi/Desktop/images/07092026/06/52/image_07092026_06_53_05_59929.jpg MAIN: 2026-09-07 06:53:06,223 - INFO - duration: 0.9880674209998688 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:54:05,594 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:54:06,272 - INFO - taking picture MAIN: 2026-09-07 06:54:06,272 - INFO - we take 24 photos in this while loop MAIN: 2026-09-07 06:54:06,273 - INFO - /home/pi/Desktop/images/07092026/06/53/image_07092026_06_54_05_60097.jpg MAIN: 2026-09-07 06:54:06,273 - INFO - duration: 0.9395313879995228 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:55:05,654 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:55:06,365 - INFO - taking picture MAIN: 2026-09-07 06:55:06,365 - INFO - we take 25 photos in this while loop MAIN: 2026-09-07 06:55:06,365 - INFO - /home/pi/Desktop/images/07092026/06/54/image_07092026_06_55_05_60059.jpg MAIN: 2026-09-07 06:55:06,366 - INFO - duration: 0.9724743189999572 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:56:05,716 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:56:06,394 - INFO - taking picture MAIN: 2026-09-07 06:56:06,394 - INFO - we take 26 photos in this while loop MAIN: 2026-09-07 06:56:06,395 - INFO - /home/pi/Desktop/images/07092026/06/55/image_07092026_06_56_05_60055.jpg MAIN: 2026-09-07 06:56:06,395 - INFO - duration: 0.946419934000005 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:57:05,570 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:57:06,251 - INFO - taking picture MAIN: 2026-09-07 06:57:06,251 - INFO - we take 27 photos in this while loop MAIN: 2026-09-07 06:57:06,252 - INFO - /home/pi/Desktop/images/07092026/06/56/image_07092026_06_57_05_59861.jpg MAIN: 2026-09-07 06:57:06,252 - INFO - duration: 0.9422245980003936 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:58:05,686 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:58:06,362 - INFO - taking picture MAIN: 2026-09-07 06:58:06,363 - INFO - we take 28 photos in this while loop MAIN: 2026-09-07 06:58:06,363 - INFO - /home/pi/Desktop/images/07092026/06/57/image_07092026_06_58_05_60108.jpg MAIN: 2026-09-07 06:58:06,363 - INFO - duration: 0.9445005170000513 Will output and maybe also write in take_pic/pic_log.txt MAIN: 2026-09-07 06:59:05,750 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 06:59:06,502 - INFO - taking picture MAIN: 2026-09-07 06:59:06,502 - INFO - we take 29 photos in this while loop MAIN: 2026-09-07 06:59:06,503 - INFO - /home/pi/Desktop/images/07092026/06/58/image_07092026_06_59_05_60053.jpg MAIN: 2026-09-07 06:59:06,503 - INFO - duration: 1.030876282000463 [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:00:05,041 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:00:05,853 - INFO - taking picture MAIN: 2026-09-07 07:00:05,853 - INFO - we take 30 photos in this while loop MAIN: 2026-09-07 07:00:05,853 - INFO - /home/pi/Desktop/images/07092026/06/59/image_07092026_07_00_05_59286.jpg MAIN: 2026-09-07 07:00:05,854 - INFO - duration: 1.0950452060005773 MAIN: 2026-09-07 07:00:05,854 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/00' MAIN: 2026-09-07 07:00:06,001 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:01:05,193 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:01:05,452 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:01:05,882 - INFO - taking picture MAIN: 2026-09-07 07:01:05,882 - INFO - we take 31 photos in this while loop MAIN: 2026-09-07 07:01:05,882 - INFO - /home/pi/Desktop/images/07092026/07/00/image_07092026_07_01_05_60170.jpg MAIN: 2026-09-07 07:01:05,883 - INFO - duration: 0.95353598300062 MAIN: 2026-09-07 07:01:05,883 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/01' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:02:05,015 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:02:05,221 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:02:05,913 - INFO - taking picture MAIN: 2026-09-07 07:02:05,913 - INFO - we take 32 photos in this while loop MAIN: 2026-09-07 07:02:05,913 - INFO - /home/pi/Desktop/images/07092026/07/01/image_07092026_07_02_05_60011.jpg MAIN: 2026-09-07 07:02:05,913 - INFO - duration: 0.9727267759990355 MAIN: 2026-09-07 07:02:05,914 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/02' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:03:04,890 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:03:05,126 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:03:05,805 - INFO - taking picture MAIN: 2026-09-07 07:03:05,805 - INFO - we take 33 photos in this while loop MAIN: 2026-09-07 07:03:05,805 - INFO - /home/pi/Desktop/images/07092026/07/02/image_07092026_07_03_05_59901.jpg MAIN: 2026-09-07 07:03:05,805 - INFO - duration: 0.9631928790004167 MAIN: 2026-09-07 07:03:05,805 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/03' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:04:05,278 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:04:05,333 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:04:05,970 - INFO - taking picture MAIN: 2026-09-07 07:04:05,970 - INFO - we take 34 photos in this while loop MAIN: 2026-09-07 07:04:05,970 - INFO - /home/pi/Desktop/images/07092026/07/03/image_07092026_07_04_05_60154.jpg MAIN: 2026-09-07 07:04:05,970 - INFO - duration: 0.9732932549995894 MAIN: 2026-09-07 07:04:05,970 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/04' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:05:05,236 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:05:05,845 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:05:05,927 - INFO - taking picture MAIN: 2026-09-07 07:05:05,928 - INFO - we take 35 photos in this while loop MAIN: 2026-09-07 07:05:05,928 - INFO - /home/pi/Desktop/images/07092026/07/04/image_07092026_07_05_05_59998.jpg MAIN: 2026-09-07 07:05:05,928 - INFO - duration: 0.9323991060009575 MAIN: 2026-09-07 07:05:05,929 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/05' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:06:05,282 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:06:05,533 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:06:05,969 - INFO - taking picture MAIN: 2026-09-07 07:06:05,969 - INFO - we take 36 photos in this while loop MAIN: 2026-09-07 07:06:05,969 - INFO - /home/pi/Desktop/images/07092026/07/05/image_07092026_07_06_05_60001.jpg MAIN: 2026-09-07 07:06:05,970 - INFO - duration: 0.972298740000042 MAIN: 2026-09-07 07:06:05,970 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/06' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:07:05,291 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:07:05,633 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:07:06,005 - INFO - taking picture MAIN: 2026-09-07 07:07:06,006 - INFO - we take 37 photos in this while loop MAIN: 2026-09-07 07:07:06,006 - INFO - /home/pi/Desktop/images/07092026/07/06/image_07092026_07_07_05_60037.jpg MAIN: 2026-09-07 07:07:06,006 - INFO - duration: 0.9711070290013595 MAIN: 2026-09-07 07:07:06,006 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/07' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:08:05,172 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:08:05,548 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:08:06,226 - INFO - taking picture MAIN: 2026-09-07 07:08:06,226 - INFO - we take 38 photos in this while loop MAIN: 2026-09-07 07:08:06,226 - INFO - /home/pi/Desktop/images/07092026/07/07/image_07092026_07_08_05_60290.jpg MAIN: 2026-09-07 07:08:06,226 - INFO - duration: 0.9006920880001417 MAIN: 2026-09-07 07:08:06,226 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/08' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:09:04,856 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:09:05,323 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:09:06,002 - INFO - taking picture MAIN: 2026-09-07 07:09:06,002 - INFO - we take 39 photos in this while loop MAIN: 2026-09-07 07:09:06,002 - INFO - /home/pi/Desktop/images/07092026/07/08/image_07092026_07_09_05_59778.jpg MAIN: 2026-09-07 07:09:06,002 - INFO - duration: 0.8986390890004259 MAIN: 2026-09-07 07:09:06,002 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/09' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:10:05,424 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:10:05,501 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:10:06,179 - INFO - taking picture MAIN: 2026-09-07 07:10:06,180 - INFO - we take 40 photos in this while loop MAIN: 2026-09-07 07:10:06,180 - INFO - /home/pi/Desktop/images/07092026/07/09/image_07092026_07_10_05_60146.jpg MAIN: 2026-09-07 07:10:06,180 - INFO - duration: 0.9299524790003488 MAIN: 2026-09-07 07:10:06,180 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/10' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:11:05,410 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:11:05,478 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:11:06,160 - INFO - taking picture MAIN: 2026-09-07 07:11:06,160 - INFO - we take 41 photos in this while loop MAIN: 2026-09-07 07:11:06,160 - INFO - /home/pi/Desktop/images/07092026/07/10/image_07092026_07_11_05_59939.jpg MAIN: 2026-09-07 07:11:06,160 - INFO - duration: 0.9711031059996458 MAIN: 2026-09-07 07:11:06,161 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/11' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:12:05,504 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:12:05,588 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:12:06,256 - INFO - taking picture MAIN: 2026-09-07 07:12:06,257 - INFO - we take 42 photos in this while loop MAIN: 2026-09-07 07:12:06,257 - INFO - /home/pi/Desktop/images/07092026/07/11/image_07092026_07_12_05_60047.jpg MAIN: 2026-09-07 07:12:06,257 - INFO - duration: 1.0198738390008657 MAIN: 2026-09-07 07:12:06,257 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/12' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:13:05,447 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:13:05,785 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:13:06,135 - INFO - taking picture MAIN: 2026-09-07 07:13:06,136 - INFO - we take 43 photos in this while loop MAIN: 2026-09-07 07:13:06,136 - INFO - /home/pi/Desktop/images/07092026/07/12/image_07092026_07_13_05_59944.jpg MAIN: 2026-09-07 07:13:06,136 - INFO - duration: 0.9543807660011225 MAIN: 2026-09-07 07:13:06,136 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/13' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:14:04,896 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:14:05,532 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:14:06,208 - INFO - taking picture MAIN: 2026-09-07 07:14:06,209 - INFO - we take 44 photos in this while loop MAIN: 2026-09-07 07:14:06,209 - INFO - /home/pi/Desktop/images/07092026/07/13/image_07092026_07_14_05_60131.jpg MAIN: 2026-09-07 07:14:06,209 - INFO - duration: 0.8962058080014685 MAIN: 2026-09-07 07:14:06,209 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/14' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:15:05,070 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:15:05,746 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:15:06,426 - INFO - taking picture MAIN: 2026-09-07 07:15:06,427 - INFO - we take 45 photos in this while loop MAIN: 2026-09-07 07:15:06,427 - INFO - /home/pi/Desktop/images/07092026/07/14/image_07092026_07_15_05_60160.jpg MAIN: 2026-09-07 07:15:06,427 - INFO - duration: 0.9534825610007829 MAIN: 2026-09-07 07:15:06,427 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/15' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:16:05,290 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:16:05,832 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:16:06,547 - INFO - taking picture MAIN: 2026-09-07 07:16:06,548 - INFO - we take 46 photos in this while loop MAIN: 2026-09-07 07:16:06,548 - INFO - /home/pi/Desktop/images/07092026/07/15/image_07092026_07_16_05_60106.jpg MAIN: 2026-09-07 07:16:06,548 - INFO - duration: 0.9680928529996891 MAIN: 2026-09-07 07:16:06,548 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/16' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:17:05,265 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:17:05,941 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:17:06,620 - INFO - taking picture MAIN: 2026-09-07 07:17:06,620 - INFO - we take 47 photos in this while loop MAIN: 2026-09-07 07:17:06,620 - INFO - /home/pi/Desktop/images/07092026/07/16/image_07092026_07_17_05_60102.jpg MAIN: 2026-09-07 07:17:06,620 - INFO - duration: 0.9380564580005739 MAIN: 2026-09-07 07:17:06,621 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/17' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:18:04,967 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:18:05,646 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:18:05,667 - INFO - taking picture MAIN: 2026-09-07 07:18:05,667 - INFO - we take 48 photos in this while loop MAIN: 2026-09-07 07:18:05,668 - INFO - /home/pi/Desktop/images/07092026/07/17/image_07092026_07_18_04_58989.jpg MAIN: 2026-09-07 07:18:05,668 - INFO - duration: 0.9961559919993306 MAIN: 2026-09-07 07:18:05,668 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/18' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:19:05,019 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:19:05,697 - INFO - taking picture MAIN: 2026-09-07 07:19:05,697 - INFO - we take 49 photos in this while loop MAIN: 2026-09-07 07:19:05,697 - INFO - /home/pi/Desktop/images/07092026/07/18/image_07092026_07_19_05_60072.jpg MAIN: 2026-09-07 07:19:05,697 - INFO - duration: 0.9530272320007498 MAIN: 2026-09-07 07:19:05,698 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/19' MAIN: 2026-09-07 07:19:05,830 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:20:05,156 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:20:05,367 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:20:05,844 - INFO - taking picture MAIN: 2026-09-07 07:20:05,844 - INFO - we take 50 photos in this while loop MAIN: 2026-09-07 07:20:05,844 - INFO - /home/pi/Desktop/images/07092026/07/19/image_07092026_07_20_05_60190.jpg MAIN: 2026-09-07 07:20:05,845 - INFO - duration: 0.9097463740017702 MAIN: 2026-09-07 07:20:05,845 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/20' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:21:04,998 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:21:05,181 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:21:05,858 - INFO - taking picture MAIN: 2026-09-07 07:21:05,859 - INFO - we take 51 photos in this while loop MAIN: 2026-09-07 07:21:05,859 - INFO - /home/pi/Desktop/images/07092026/07/20/image_07092026_07_21_05_59941.jpg MAIN: 2026-09-07 07:21:05,859 - INFO - duration: 0.9829556409986253 MAIN: 2026-09-07 07:21:05,859 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/21' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:22:05,227 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:22:05,272 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:22:05,932 - INFO - taking picture MAIN: 2026-09-07 07:22:05,932 - INFO - we take 52 photos in this while loop MAIN: 2026-09-07 07:22:05,932 - INFO - /home/pi/Desktop/images/07092026/07/21/image_07092026_07_22_05_60092.jpg MAIN: 2026-09-07 07:22:05,933 - INFO - duration: 0.9639150029997836 MAIN: 2026-09-07 07:22:05,933 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/22' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:23:05,238 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:23:05,314 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:23:05,945 - INFO - taking picture MAIN: 2026-09-07 07:23:05,945 - INFO - we take 53 photos in this while loop MAIN: 2026-09-07 07:23:05,945 - INFO - /home/pi/Desktop/images/07092026/07/22/image_07092026_07_23_05_59990.jpg MAIN: 2026-09-07 07:23:05,945 - INFO - duration: 0.9859577759998501 MAIN: 2026-09-07 07:23:05,945 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/23' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:24:05,290 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:24:05,564 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:24:05,987 - INFO - taking picture MAIN: 2026-09-07 07:24:05,987 - INFO - we take 54 photos in this while loop MAIN: 2026-09-07 07:24:05,987 - INFO - /home/pi/Desktop/images/07092026/07/23/image_07092026_07_24_05_60058.jpg MAIN: 2026-09-07 07:24:05,987 - INFO - duration: 0.9696702509991155 MAIN: 2026-09-07 07:24:05,988 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/24' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:25:05,357 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:25:05,753 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:25:06,136 - INFO - taking picture MAIN: 2026-09-07 07:25:06,136 - INFO - we take 55 photos in this while loop MAIN: 2026-09-07 07:25:06,137 - INFO - /home/pi/Desktop/images/07092026/07/24/image_07092026_07_25_05_60098.jpg MAIN: 2026-09-07 07:25:06,137 - INFO - duration: 1.0209317690005264 MAIN: 2026-09-07 07:25:06,137 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/25' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:26:04,944 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:26:05,690 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:26:06,483 - INFO - taking picture MAIN: 2026-09-07 07:26:06,483 - INFO - we take 56 photos in this while loop MAIN: 2026-09-07 07:26:06,483 - INFO - /home/pi/Desktop/images/07092026/07/25/image_07092026_07_26_05_60344.jpg MAIN: 2026-09-07 07:26:06,483 - INFO - duration: 1.023636723000891 MAIN: 2026-09-07 07:26:06,484 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/26' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:27:04,943 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:27:06,051 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:27:06,731 - INFO - taking picture MAIN: 2026-09-07 07:27:06,732 - INFO - we take 57 photos in this while loop MAIN: 2026-09-07 07:27:06,732 - INFO - /home/pi/Desktop/images/07092026/07/26/image_07092026_07_27_06_60307.jpg MAIN: 2026-09-07 07:27:06,732 - INFO - duration: 0.9644742390009924 MAIN: 2026-09-07 07:27:06,732 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/27' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:28:04,821 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:28:05,123 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:28:05,510 - INFO - taking picture MAIN: 2026-09-07 07:28:05,511 - INFO - we take 58 photos in this while loop MAIN: 2026-09-07 07:28:05,511 - INFO - /home/pi/Desktop/images/07092026/07/27/image_07092026_07_28_04_58787.jpg MAIN: 2026-09-07 07:28:05,511 - INFO - duration: 0.9563625130012952 MAIN: 2026-09-07 07:28:05,511 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/28' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:29:05,449 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:29:06,038 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:29:06,789 - INFO - taking picture MAIN: 2026-09-07 07:29:06,790 - INFO - we take 59 photos in this while loop MAIN: 2026-09-07 07:29:06,790 - INFO - /home/pi/Desktop/images/07092026/07/28/image_07092026_07_29_06_61218.jpg MAIN: 2026-09-07 07:29:06,790 - INFO - duration: 1.0170989359994564 MAIN: 2026-09-07 07:29:06,790 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/29' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:30:05,227 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:30:05,940 - INFO - taking picture MAIN: 2026-09-07 07:30:05,940 - INFO - we take 60 photos in this while loop MAIN: 2026-09-07 07:30:05,941 - INFO - /home/pi/Desktop/images/07092026/07/29/image_07092026_07_30_05_59184.jpg MAIN: 2026-09-07 07:30:05,941 - INFO - duration: 0.983792775999973 MAIN: 2026-09-07 07:30:05,941 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/30' MAIN: 2026-09-07 07:30:06,204 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:31:05,280 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:31:05,509 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:31:05,989 - INFO - taking picture MAIN: 2026-09-07 07:31:05,989 - INFO - we take 61 photos in this while loop MAIN: 2026-09-07 07:31:05,990 - INFO - /home/pi/Desktop/images/07092026/07/30/image_07092026_07_31_05_60073.jpg MAIN: 2026-09-07 07:31:05,990 - INFO - duration: 0.9596953929994925 MAIN: 2026-09-07 07:31:05,990 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/31' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:32:05,061 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:32:05,493 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:32:06,170 - INFO - taking picture MAIN: 2026-09-07 07:32:06,171 - INFO - we take 62 photos in this while loop MAIN: 2026-09-07 07:32:06,171 - INFO - /home/pi/Desktop/images/07092026/07/31/image_07092026_07_32_05_60239.jpg MAIN: 2026-09-07 07:32:06,171 - INFO - duration: 0.9014563139990059 MAIN: 2026-09-07 07:32:06,171 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/32' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:33:04,845 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:33:05,587 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:33:06,264 - INFO - taking picture MAIN: 2026-09-07 07:33:06,265 - INFO - we take 63 photos in this while loop MAIN: 2026-09-07 07:33:06,265 - INFO - /home/pi/Desktop/images/07092026/07/32/image_07092026_07_33_05_60057.jpg MAIN: 2026-09-07 07:33:06,265 - INFO - duration: 0.9383650099989609 MAIN: 2026-09-07 07:33:06,265 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/33' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:34:05,255 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:34:05,625 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:34:06,302 - INFO - taking picture MAIN: 2026-09-07 07:34:06,302 - INFO - we take 64 photos in this while loop MAIN: 2026-09-07 07:34:06,302 - INFO - /home/pi/Desktop/images/07092026/07/33/image_07092026_07_34_05_60074.jpg MAIN: 2026-09-07 07:34:06,302 - INFO - duration: 0.9006096850007452 MAIN: 2026-09-07 07:34:06,303 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/34' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:35:05,631 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:35:05,820 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:35:06,349 - INFO - taking picture MAIN: 2026-09-07 07:35:06,349 - INFO - we take 65 photos in this while loop MAIN: 2026-09-07 07:35:06,349 - INFO - /home/pi/Desktop/images/07092026/07/34/image_07092026_07_35_05_60003.jpg MAIN: 2026-09-07 07:35:06,350 - INFO - duration: 0.9440306729993608 MAIN: 2026-09-07 07:35:06,350 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/35' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:36:05,623 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:36:05,682 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:36:06,363 - INFO - taking picture MAIN: 2026-09-07 07:36:06,363 - INFO - we take 66 photos in this while loop MAIN: 2026-09-07 07:36:06,364 - INFO - /home/pi/Desktop/images/07092026/07/35/image_07092026_07_36_05_59999.jpg MAIN: 2026-09-07 07:36:06,364 - INFO - duration: 0.9584050689991273 MAIN: 2026-09-07 07:36:06,364 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/36' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:37:04,735 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:37:05,970 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:37:06,726 - INFO - taking picture MAIN: 2026-09-07 07:37:06,726 - INFO - we take 67 photos in this while loop MAIN: 2026-09-07 07:37:06,726 - INFO - /home/pi/Desktop/images/07092026/07/36/image_07092026_07_37_05_60271.jpg MAIN: 2026-09-07 07:37:06,727 - INFO - duration: 1.0498085870003706 MAIN: 2026-09-07 07:37:06,727 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/37' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:38:05,045 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:38:05,329 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:38:05,807 - INFO - taking picture MAIN: 2026-09-07 07:38:05,807 - INFO - we take 68 photos in this while loop MAIN: 2026-09-07 07:38:05,807 - INFO - /home/pi/Desktop/images/07092026/07/37/image_07092026_07_38_05_59061.jpg MAIN: 2026-09-07 07:38:05,807 - INFO - duration: 1.0690432400006102 MAIN: 2026-09-07 07:38:05,808 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/38' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:39:04,911 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:39:05,525 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:39:05,598 - INFO - taking picture MAIN: 2026-09-07 07:39:05,599 - INFO - we take 69 photos in this while loop MAIN: 2026-09-07 07:39:05,599 - INFO - /home/pi/Desktop/images/07092026/07/38/image_07092026_07_39_04_59898.jpg MAIN: 2026-09-07 07:39:05,599 - INFO - duration: 0.9624840100004803 MAIN: 2026-09-07 07:39:05,600 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/39' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:40:05,106 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:40:05,825 - INFO - taking picture MAIN: 2026-09-07 07:40:05,825 - INFO - we take 70 photos in this while loop MAIN: 2026-09-07 07:40:05,826 - INFO - /home/pi/Desktop/images/07092026/07/39/image_07092026_07_40_05_60229.jpg MAIN: 2026-09-07 07:40:05,826 - INFO - duration: 0.9598927980005101 MAIN: 2026-09-07 07:40:05,826 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/40' MAIN: 2026-09-07 07:40:05,910 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:41:05,086 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:41:05,416 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:41:05,787 - INFO - taking picture MAIN: 2026-09-07 07:41:05,787 - INFO - we take 71 photos in this while loop MAIN: 2026-09-07 07:41:05,787 - INFO - /home/pi/Desktop/images/07092026/07/40/image_07092026_07_41_05_59956.jpg MAIN: 2026-09-07 07:41:05,787 - INFO - duration: 0.9651515840014326 MAIN: 2026-09-07 07:41:05,788 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/41' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:42:05,153 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:42:05,828 - INFO - taking picture MAIN: 2026-09-07 07:42:05,829 - INFO - we take 72 photos in this while loop MAIN: 2026-09-07 07:42:05,829 - INFO - /home/pi/Desktop/images/07092026/07/41/image_07092026_07_42_05_60061.jpg MAIN: 2026-09-07 07:42:05,829 - INFO - duration: 0.9456742820002546 MAIN: 2026-09-07 07:42:05,829 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/42' MAIN: 2026-09-07 07:42:06,046 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:43:05,332 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:43:05,644 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:43:06,023 - INFO - taking picture MAIN: 2026-09-07 07:43:06,024 - INFO - we take 73 photos in this while loop MAIN: 2026-09-07 07:43:06,024 - INFO - /home/pi/Desktop/images/07092026/07/42/image_07092026_07_43_05_60188.jpg MAIN: 2026-09-07 07:43:06,024 - INFO - duration: 0.9518850940003176 MAIN: 2026-09-07 07:43:06,024 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/43' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:44:05,013 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:44:05,572 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:44:06,249 - INFO - taking picture MAIN: 2026-09-07 07:44:06,250 - INFO - we take 74 photos in this while loop MAIN: 2026-09-07 07:44:06,250 - INFO - /home/pi/Desktop/images/07092026/07/43/image_07092026_07_44_05_60239.jpg MAIN: 2026-09-07 07:44:06,250 - INFO - duration: 0.9382643139997526 MAIN: 2026-09-07 07:44:06,250 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/44' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:45:05,430 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:45:05,914 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:45:06,665 - INFO - taking picture MAIN: 2026-09-07 07:45:06,665 - INFO - we take 75 photos in this while loop MAIN: 2026-09-07 07:45:06,665 - INFO - /home/pi/Desktop/images/07092026/07/44/image_07092026_07_45_05_60291.jpg MAIN: 2026-09-07 07:45:06,665 - INFO - duration: 1.0624639150009898 MAIN: 2026-09-07 07:45:06,666 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/45' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:46:05,145 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:46:05,156 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:46:05,842 - INFO - taking picture MAIN: 2026-09-07 07:46:05,842 - INFO - we take 76 photos in this while loop MAIN: 2026-09-07 07:46:05,842 - INFO - /home/pi/Desktop/images/07092026/07/45/image_07092026_07_46_05_59278.jpg MAIN: 2026-09-07 07:46:05,842 - INFO - duration: 0.960068731001229 MAIN: 2026-09-07 07:46:05,842 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/46' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:47:05,129 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:47:05,214 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:47:05,894 - INFO - taking picture MAIN: 2026-09-07 07:47:05,894 - INFO - we take 77 photos in this while loop MAIN: 2026-09-07 07:47:05,894 - INFO - /home/pi/Desktop/images/07092026/07/46/image_07092026_07_47_05_60052.jpg MAIN: 2026-09-07 07:47:05,894 - INFO - duration: 0.9602351350004028 MAIN: 2026-09-07 07:47:05,895 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/47' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:48:05,289 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:48:05,647 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:48:05,976 - INFO - taking picture MAIN: 2026-09-07 07:48:05,976 - INFO - we take 78 photos in this while loop MAIN: 2026-09-07 07:48:05,976 - INFO - /home/pi/Desktop/images/07092026/07/47/image_07092026_07_48_05_60106.jpg MAIN: 2026-09-07 07:48:05,976 - INFO - duration: 0.9351518839994242 MAIN: 2026-09-07 07:48:05,976 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/48' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:49:05,320 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:49:05,579 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:49:06,083 - INFO - taking picture MAIN: 2026-09-07 07:49:06,084 - INFO - we take 79 photos in this while loop MAIN: 2026-09-07 07:49:06,084 - INFO - /home/pi/Desktop/images/07092026/07/48/image_07092026_07_49_05_60007.jpg MAIN: 2026-09-07 07:49:06,084 - INFO - duration: 1.0349526339996373 MAIN: 2026-09-07 07:49:06,084 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/49' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:50:05,533 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:50:05,812 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:50:06,494 - INFO - taking picture MAIN: 2026-09-07 07:50:06,494 - INFO - we take 80 photos in this while loop MAIN: 2026-09-07 07:50:06,495 - INFO - /home/pi/Desktop/images/07092026/07/49/image_07092026_07_50_05_60535.jpg MAIN: 2026-09-07 07:50:06,495 - INFO - duration: 0.9102369070005807 MAIN: 2026-09-07 07:50:06,495 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/50' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:51:04,778 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:51:05,802 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:51:06,482 - INFO - taking picture MAIN: 2026-09-07 07:51:06,483 - INFO - we take 81 photos in this while loop MAIN: 2026-09-07 07:51:06,483 - INFO - /home/pi/Desktop/images/07092026/07/50/image_07092026_07_51_05_59937.jpg MAIN: 2026-09-07 07:51:06,483 - INFO - duration: 0.9613465450001968 MAIN: 2026-09-07 07:51:06,483 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/51' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:52:04,852 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:52:04,864 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:52:05,538 - INFO - taking picture MAIN: 2026-09-07 07:52:05,538 - INFO - we take 82 photos in this while loop MAIN: 2026-09-07 07:52:05,538 - INFO - /home/pi/Desktop/images/07092026/07/51/image_07092026_07_52_04_59046.jpg MAIN: 2026-09-07 07:52:05,538 - INFO - duration: 0.96980949600038 MAIN: 2026-09-07 07:52:05,538 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/52' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:53:04,986 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:53:05,273 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:53:05,674 - INFO - taking picture MAIN: 2026-09-07 07:53:05,674 - INFO - we take 83 photos in this while loop MAIN: 2026-09-07 07:53:05,674 - INFO - /home/pi/Desktop/images/07092026/07/52/image_07092026_07_53_04_60134.jpg MAIN: 2026-09-07 07:53:05,674 - INFO - duration: 0.9719041930002277 MAIN: 2026-09-07 07:53:05,675 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/53' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:54:05,066 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:54:05,524 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:54:05,755 - INFO - taking picture MAIN: 2026-09-07 07:54:05,755 - INFO - we take 84 photos in this while loop MAIN: 2026-09-07 07:54:05,755 - INFO - /home/pi/Desktop/images/07092026/07/53/image_07092026_07_54_05_60079.jpg MAIN: 2026-09-07 07:54:05,755 - INFO - duration: 0.9734550260000105 MAIN: 2026-09-07 07:54:05,755 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/54' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:55:05,163 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:55:05,577 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:55:05,926 - INFO - taking picture MAIN: 2026-09-07 07:55:05,927 - INFO - we take 85 photos in this while loop MAIN: 2026-09-07 07:55:05,927 - INFO - /home/pi/Desktop/images/07092026/07/54/image_07092026_07_55_05_60140.jpg MAIN: 2026-09-07 07:55:05,927 - INFO - duration: 1.0042470030002733 MAIN: 2026-09-07 07:55:05,927 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/55' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:56:05,391 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:56:05,697 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:56:06,110 - INFO - taking picture MAIN: 2026-09-07 07:56:06,110 - INFO - we take 86 photos in this while loop MAIN: 2026-09-07 07:56:06,110 - INFO - /home/pi/Desktop/images/07092026/07/55/image_07092026_07_56_05_60191.jpg MAIN: 2026-09-07 07:56:06,110 - INFO - duration: 0.9959837200003676 MAIN: 2026-09-07 07:56:06,110 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/56' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:57:04,736 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:57:05,278 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:57:05,957 - INFO - taking picture MAIN: 2026-09-07 07:57:05,958 - INFO - we take 87 photos in this while loop MAIN: 2026-09-07 07:57:05,958 - INFO - /home/pi/Desktop/images/07092026/07/56/image_07092026_07_57_05_59943.jpg MAIN: 2026-09-07 07:57:05,958 - INFO - duration: 0.9001785460004612 MAIN: 2026-09-07 07:57:05,958 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/57' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:58:05,141 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:58:05,458 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:58:06,135 - INFO - taking picture MAIN: 2026-09-07 07:58:06,135 - INFO - we take 88 photos in this while loop MAIN: 2026-09-07 07:58:06,135 - INFO - /home/pi/Desktop/images/07092026/07/57/image_07092026_07_58_05_60117.jpg MAIN: 2026-09-07 07:58:06,135 - INFO - duration: 0.9600639960008266 MAIN: 2026-09-07 07:58:06,136 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/58' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 07:59:05,128 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 07:59:05,523 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 07:59:06,200 - INFO - taking picture MAIN: 2026-09-07 07:59:06,201 - INFO - we take 89 photos in this while loop MAIN: 2026-09-07 07:59:06,201 - INFO - /home/pi/Desktop/images/07092026/07/58/image_07092026_07_59_05_60115.jpg MAIN: 2026-09-07 07:59:06,201 - INFO - duration: 0.9103475590000016 MAIN: 2026-09-07 07:59:06,201 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/07/59' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:00:05,524 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:00:05,914 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:00:06,256 - INFO - taking picture MAIN: 2026-09-07 08:00:06,256 - INFO - we take 90 photos in this while loop MAIN: 2026-09-07 08:00:06,257 - INFO - /home/pi/Desktop/images/07092026/07/59/image_07092026_08_00_05_59997.jpg MAIN: 2026-09-07 08:00:06,257 - INFO - duration: 0.968983881000895 MAIN: 2026-09-07 08:00:06,257 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/00' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:01:05,456 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:01:05,612 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:01:06,295 - INFO - taking picture MAIN: 2026-09-07 08:01:06,295 - INFO - we take 91 photos in this while loop MAIN: 2026-09-07 08:01:06,295 - INFO - /home/pi/Desktop/images/07092026/08/00/image_07092026_08_01_05_60036.jpg MAIN: 2026-09-07 08:01:06,295 - INFO - duration: 0.9704668849990412 MAIN: 2026-09-07 08:01:06,295 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/01' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:02:04,908 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:02:05,853 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:02:06,537 - INFO - taking picture MAIN: 2026-09-07 08:02:06,537 - INFO - we take 92 photos in this while loop MAIN: 2026-09-07 08:02:06,537 - INFO - /home/pi/Desktop/images/07092026/08/01/image_07092026_08_02_05_60267.jpg MAIN: 2026-09-07 08:02:06,537 - INFO - duration: 0.9452354009990813 MAIN: 2026-09-07 08:02:06,538 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/02' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:03:05,090 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:03:05,846 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:03:06,633 - INFO - taking picture MAIN: 2026-09-07 08:03:06,634 - INFO - we take 93 photos in this while loop MAIN: 2026-09-07 08:03:06,634 - INFO - /home/pi/Desktop/images/07092026/08/02/image_07092026_08_03_05_59999.jpg MAIN: 2026-09-07 08:03:06,634 - INFO - duration: 1.0426113579997036 MAIN: 2026-09-07 08:03:06,634 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/03' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:04:05,399 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:04:05,962 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:04:06,638 - INFO - taking picture MAIN: 2026-09-07 08:04:06,638 - INFO - we take 94 photos in this while loop MAIN: 2026-09-07 08:04:06,638 - INFO - /home/pi/Desktop/images/07092026/08/03/image_07092026_08_04_05_60150.jpg MAIN: 2026-09-07 08:04:06,638 - INFO - duration: 0.8962580990009883 MAIN: 2026-09-07 08:04:06,639 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/04' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:05:04,777 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:05:05,242 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:05:05,500 - INFO - taking picture MAIN: 2026-09-07 08:05:05,500 - INFO - we take 95 photos in this while loop MAIN: 2026-09-07 08:05:05,500 - INFO - /home/pi/Desktop/images/07092026/08/04/image_07092026_08_05_04_58799.jpg MAIN: 2026-09-07 08:05:05,500 - INFO - duration: 0.9586595960008708 MAIN: 2026-09-07 08:05:05,501 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/05' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:06:04,939 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:06:05,386 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:06:05,633 - INFO - taking picture MAIN: 2026-09-07 08:06:05,634 - INFO - we take 96 photos in this while loop MAIN: 2026-09-07 08:06:05,634 - INFO - /home/pi/Desktop/images/07092026/08/05/image_07092026_08_06_04_60117.jpg MAIN: 2026-09-07 08:06:05,634 - INFO - duration: 0.9751913070012961 MAIN: 2026-09-07 08:06:05,634 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/06' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:07:04,860 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:07:05,452 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:07:05,549 - INFO - taking picture MAIN: 2026-09-07 08:07:05,550 - INFO - we take 97 photos in this while loop MAIN: 2026-09-07 08:07:05,550 - INFO - /home/pi/Desktop/images/07092026/08/06/image_07092026_08_07_04_59929.jpg MAIN: 2026-09-07 08:07:05,550 - INFO - duration: 0.9614152579997608 MAIN: 2026-09-07 08:07:05,550 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/07' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:08:05,111 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:08:05,657 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:08:05,869 - INFO - taking picture MAIN: 2026-09-07 08:08:05,869 - INFO - we take 98 photos in this while loop MAIN: 2026-09-07 08:08:05,869 - INFO - /home/pi/Desktop/images/07092026/08/07/image_07092026_08_08_05_60217.jpg MAIN: 2026-09-07 08:08:05,869 - INFO - duration: 1.0634524799988867 MAIN: 2026-09-07 08:08:05,870 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/08' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:09:05,241 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:09:05,764 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:09:05,984 - INFO - taking picture MAIN: 2026-09-07 08:09:05,984 - INFO - we take 99 photos in this while loop MAIN: 2026-09-07 08:09:05,984 - INFO - /home/pi/Desktop/images/07092026/08/08/image_07092026_08_09_05_60186.jpg MAIN: 2026-09-07 08:09:05,985 - INFO - duration: 0.9928532440007984 MAIN: 2026-09-07 08:09:05,985 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/09' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:10:05,345 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:10:05,519 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:10:06,200 - INFO - taking picture MAIN: 2026-09-07 08:10:06,201 - INFO - we take 100 photos in this while loop MAIN: 2026-09-07 08:10:06,201 - INFO - /home/pi/Desktop/images/07092026/08/09/image_07092026_08_10_05_60288.jpg MAIN: 2026-09-07 08:10:06,201 - INFO - duration: 0.9206628100000671 MAIN: 2026-09-07 08:10:06,201 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/10' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:11:05,302 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:11:05,670 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:11:06,348 - INFO - taking picture MAIN: 2026-09-07 08:11:06,349 - INFO - we take 101 photos in this while loop MAIN: 2026-09-07 08:11:06,349 - INFO - /home/pi/Desktop/images/07092026/08/10/image_07092026_08_11_05_60162.jpg MAIN: 2026-09-07 08:11:06,349 - INFO - duration: 0.9063081809999858 MAIN: 2026-09-07 08:11:06,349 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/11' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:12:05,654 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:12:05,712 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:12:06,392 - INFO - taking picture MAIN: 2026-09-07 08:12:06,392 - INFO - we take 102 photos in this while loop MAIN: 2026-09-07 08:12:06,392 - INFO - /home/pi/Desktop/images/07092026/08/11/image_07092026_08_12_05_59986.jpg MAIN: 2026-09-07 08:12:06,392 - INFO - duration: 0.963185381000585 MAIN: 2026-09-07 08:12:06,393 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/12' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:13:05,543 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:13:05,574 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:13:06,290 - INFO - taking picture MAIN: 2026-09-07 08:13:06,290 - INFO - we take 103 photos in this while loop MAIN: 2026-09-07 08:13:06,291 - INFO - /home/pi/Desktop/images/07092026/08/12/image_07092026_08_13_05_59838.jpg MAIN: 2026-09-07 08:13:06,291 - INFO - duration: 1.0231732259999262 MAIN: 2026-09-07 08:13:06,291 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/13' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:14:04,824 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:14:05,685 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:14:06,364 - INFO - taking picture MAIN: 2026-09-07 08:14:06,364 - INFO - we take 104 photos in this while loop MAIN: 2026-09-07 08:14:06,364 - INFO - /home/pi/Desktop/images/07092026/08/13/image_07092026_08_14_05_60146.jpg MAIN: 2026-09-07 08:14:06,364 - INFO - duration: 0.9500683689984726 MAIN: 2026-09-07 08:14:06,364 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/14' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:15:05,362 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:15:05,788 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:15:06,469 - INFO - taking picture MAIN: 2026-09-07 08:15:06,470 - INFO - we take 105 photos in this while loop MAIN: 2026-09-07 08:15:06,470 - INFO - /home/pi/Desktop/images/07092026/08/14/image_07092026_08_15_05_60111.jpg MAIN: 2026-09-07 08:15:06,470 - INFO - duration: 0.9441205620005348 MAIN: 2026-09-07 08:15:06,470 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/15' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:16:05,296 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:16:05,794 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:16:06,549 - INFO - taking picture MAIN: 2026-09-07 08:16:06,549 - INFO - we take 106 photos in this while loop MAIN: 2026-09-07 08:16:06,549 - INFO - /home/pi/Desktop/images/07092026/08/15/image_07092026_08_16_05_60018.jpg MAIN: 2026-09-07 08:16:06,550 - INFO - duration: 1.0052064810006414 MAIN: 2026-09-07 08:16:06,550 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/16' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:17:04,942 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:17:05,296 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:17:05,633 - INFO - taking picture MAIN: 2026-09-07 08:17:05,633 - INFO - we take 107 photos in this while loop MAIN: 2026-09-07 08:17:05,634 - INFO - /home/pi/Desktop/images/07092026/08/16/image_07092026_08_17_04_59136.jpg MAIN: 2026-09-07 08:17:05,634 - INFO - duration: 0.9526385530007246 MAIN: 2026-09-07 08:17:05,634 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/17' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:18:05,010 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:18:05,559 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:18:05,702 - INFO - taking picture MAIN: 2026-09-07 08:18:05,702 - INFO - we take 108 photos in this while loop MAIN: 2026-09-07 08:18:05,703 - INFO - /home/pi/Desktop/images/07092026/08/17/image_07092026_08_18_05_60044.jpg MAIN: 2026-09-07 08:18:05,703 - INFO - duration: 0.9775306100000307 MAIN: 2026-09-07 08:18:05,703 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/18' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:19:04,945 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:19:05,701 - INFO - taking picture MAIN: 2026-09-07 08:19:05,701 - INFO - we take 109 photos in this while loop MAIN: 2026-09-07 08:19:05,701 - INFO - /home/pi/Desktop/images/07092026/08/18/image_07092026_08_19_04_59964.jpg MAIN: 2026-09-07 08:19:05,701 - INFO - duration: 1.0118175469997368 MAIN: 2026-09-07 08:19:05,702 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/19' MAIN: 2026-09-07 08:19:05,857 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:20:05,234 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:20:05,353 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:20:05,956 - INFO - taking picture MAIN: 2026-09-07 08:20:05,956 - INFO - we take 110 photos in this while loop MAIN: 2026-09-07 08:20:05,956 - INFO - /home/pi/Desktop/images/07092026/08/19/image_07092026_08_20_05_60323.jpg MAIN: 2026-09-07 08:20:05,956 - INFO - duration: 0.9433565890012687 MAIN: 2026-09-07 08:20:05,957 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/20' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:21:05,082 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:21:05,305 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:21:05,984 - INFO - taking picture MAIN: 2026-09-07 08:21:05,984 - INFO - we take 111 photos in this while loop MAIN: 2026-09-07 08:21:05,984 - INFO - /home/pi/Desktop/images/07092026/08/20/image_07092026_08_21_05_60012.jpg MAIN: 2026-09-07 08:21:05,984 - INFO - duration: 0.9589935530002549 MAIN: 2026-09-07 08:21:05,985 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/21' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:22:05,351 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:22:05,766 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:22:06,445 - INFO - taking picture MAIN: 2026-09-07 08:22:06,445 - INFO - we take 112 photos in this while loop MAIN: 2026-09-07 08:22:06,445 - INFO - /home/pi/Desktop/images/07092026/08/21/image_07092026_08_22_05_60510.jpg MAIN: 2026-09-07 08:22:06,445 - INFO - duration: 0.909563851000712 MAIN: 2026-09-07 08:22:06,445 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/22' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:23:05,395 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:23:05,735 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:23:06,413 - INFO - taking picture MAIN: 2026-09-07 08:23:06,413 - INFO - we take 113 photos in this while loop MAIN: 2026-09-07 08:23:06,413 - INFO - /home/pi/Desktop/images/07092026/08/22/image_07092026_08_23_05_59976.jpg MAIN: 2026-09-07 08:23:06,413 - INFO - duration: 0.9011744469989935 MAIN: 2026-09-07 08:23:06,414 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/23' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:24:05,716 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:24:05,853 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:24:06,399 - INFO - taking picture MAIN: 2026-09-07 08:24:06,399 - INFO - we take 114 photos in this while loop MAIN: 2026-09-07 08:24:06,400 - INFO - /home/pi/Desktop/images/07092026/08/23/image_07092026_08_24_05_59948.jpg MAIN: 2026-09-07 08:24:06,400 - INFO - duration: 0.938727115999427 MAIN: 2026-09-07 08:24:06,400 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/24' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:25:04,836 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:25:05,748 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:25:06,500 - INFO - taking picture MAIN: 2026-09-07 08:25:06,500 - INFO - we take 115 photos in this while loop MAIN: 2026-09-07 08:25:06,501 - INFO - /home/pi/Desktop/images/07092026/08/24/image_07092026_08_25_05_60011.jpg MAIN: 2026-09-07 08:25:06,501 - INFO - duration: 1.028313781000179 MAIN: 2026-09-07 08:25:06,501 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/25' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:26:04,940 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:26:05,291 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:26:05,627 - INFO - taking picture MAIN: 2026-09-07 08:26:05,627 - INFO - we take 116 photos in this while loop MAIN: 2026-09-07 08:26:05,627 - INFO - /home/pi/Desktop/images/07092026/08/25/image_07092026_08_26_04_59192.jpg MAIN: 2026-09-07 08:26:05,627 - INFO - duration: 0.9630812890009111 MAIN: 2026-09-07 08:26:05,628 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/26' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:27:04,917 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:27:05,220 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:27:05,607 - INFO - taking picture MAIN: 2026-09-07 08:27:05,607 - INFO - we take 117 photos in this while loop MAIN: 2026-09-07 08:27:05,607 - INFO - /home/pi/Desktop/images/07092026/08/26/image_07092026_08_27_04_59990.jpg MAIN: 2026-09-07 08:27:05,607 - INFO - duration: 0.9519378610002605 MAIN: 2026-09-07 08:27:05,607 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/27' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:28:04,989 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:28:05,468 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:28:05,710 - INFO - taking picture MAIN: 2026-09-07 08:28:05,710 - INFO - we take 118 photos in this while loop MAIN: 2026-09-07 08:28:05,711 - INFO - /home/pi/Desktop/images/07092026/08/27/image_07092026_08_28_04_60076.jpg MAIN: 2026-09-07 08:28:05,711 - INFO - duration: 0.9787820870005817 MAIN: 2026-09-07 08:28:05,711 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/28' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:29:05,112 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:29:05,184 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:29:05,797 - INFO - taking picture MAIN: 2026-09-07 08:29:05,797 - INFO - we take 119 photos in this while loop MAIN: 2026-09-07 08:29:05,797 - INFO - /home/pi/Desktop/images/07092026/08/28/image_07092026_08_29_05_60090.jpg MAIN: 2026-09-07 08:29:05,797 - INFO - duration: 0.9747349020017282 MAIN: 2026-09-07 08:29:05,797 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/29' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:30:05,246 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:30:05,850 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:30:05,960 - INFO - taking picture MAIN: 2026-09-07 08:30:05,961 - INFO - we take 120 photos in this while loop MAIN: 2026-09-07 08:30:05,961 - INFO - /home/pi/Desktop/images/07092026/08/29/image_07092026_08_30_05_60165.jpg MAIN: 2026-09-07 08:30:05,961 - INFO - duration: 0.9733673560003808 MAIN: 2026-09-07 08:30:05,961 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/30' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:31:04,858 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:31:05,195 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:31:05,945 - INFO - taking picture MAIN: 2026-09-07 08:31:05,945 - INFO - we take 121 photos in this while loop MAIN: 2026-09-07 08:31:05,946 - INFO - /home/pi/Desktop/images/07092026/08/30/image_07092026_08_31_05_59959.jpg MAIN: 2026-09-07 08:31:05,946 - INFO - duration: 0.9988463299996511 MAIN: 2026-09-07 08:31:05,946 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/31' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:32:05,135 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:32:05,423 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:32:06,101 - INFO - taking picture MAIN: 2026-09-07 08:32:06,102 - INFO - we take 122 photos in this while loop MAIN: 2026-09-07 08:32:06,102 - INFO - /home/pi/Desktop/images/07092026/08/31/image_07092026_08_32_05_60241.jpg MAIN: 2026-09-07 08:32:06,102 - INFO - duration: 0.9134974620010325 MAIN: 2026-09-07 08:32:06,102 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/32' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:33:05,124 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:33:05,173 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:33:05,856 - INFO - taking picture MAIN: 2026-09-07 08:33:05,856 - INFO - we take 123 photos in this while loop MAIN: 2026-09-07 08:33:05,856 - INFO - /home/pi/Desktop/images/07092026/08/32/image_07092026_08_33_05_59706.jpg MAIN: 2026-09-07 08:33:05,856 - INFO - duration: 0.9614086329984275 MAIN: 2026-09-07 08:33:05,857 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/33' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:34:05,315 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:34:05,685 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:34:06,363 - INFO - taking picture MAIN: 2026-09-07 08:34:06,363 - INFO - we take 124 photos in this while loop MAIN: 2026-09-07 08:34:06,363 - INFO - /home/pi/Desktop/images/07092026/08/33/image_07092026_08_34_05_60568.jpg MAIN: 2026-09-07 08:34:06,363 - INFO - duration: 0.8999590100011119 MAIN: 2026-09-07 08:34:06,363 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/34' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:35:05,804 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:35:05,809 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:35:06,612 - INFO - taking picture MAIN: 2026-09-07 08:35:06,613 - INFO - we take 125 photos in this while loop MAIN: 2026-09-07 08:35:06,613 - INFO - /home/pi/Desktop/images/07092026/08/34/image_07092026_08_35_05_60109.jpg MAIN: 2026-09-07 08:35:06,613 - INFO - duration: 1.0402014410010452 MAIN: 2026-09-07 08:35:06,613 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/35' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:36:05,993 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:36:06,008 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:36:06,687 - INFO - taking picture MAIN: 2026-09-07 08:36:06,687 - INFO - we take 126 photos in this while loop MAIN: 2026-09-07 08:36:06,687 - INFO - /home/pi/Desktop/images/07092026/08/35/image_07092026_08_36_05_60137.jpg MAIN: 2026-09-07 08:36:06,688 - INFO - duration: 0.977195646999462 MAIN: 2026-09-07 08:36:06,688 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/36' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:37:04,656 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:37:06,097 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:37:06,847 - INFO - taking picture MAIN: 2026-09-07 08:37:06,847 - INFO - we take 127 photos in this while loop MAIN: 2026-09-07 08:37:06,847 - INFO - /home/pi/Desktop/images/07092026/08/36/image_07092026_08_37_06_60084.jpg MAIN: 2026-09-07 08:37:06,847 - INFO - duration: 1.0525436099997023 MAIN: 2026-09-07 08:37:06,848 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/37' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:38:04,938 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:38:05,068 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:38:05,747 - INFO - taking picture MAIN: 2026-09-07 08:38:05,748 - INFO - we take 128 photos in this while loop MAIN: 2026-09-07 08:38:05,748 - INFO - /home/pi/Desktop/images/07092026/08/37/image_07092026_08_38_05_58994.jpg MAIN: 2026-09-07 08:38:05,748 - INFO - duration: 0.9591921220016957 MAIN: 2026-09-07 08:38:05,748 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/38' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:39:04,975 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:39:05,198 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:39:05,756 - INFO - taking picture MAIN: 2026-09-07 08:39:05,756 - INFO - we take 129 photos in this while loop MAIN: 2026-09-07 08:39:05,756 - INFO - /home/pi/Desktop/images/07092026/08/38/image_07092026_08_39_04_59917.jpg MAIN: 2026-09-07 08:39:05,757 - INFO - duration: 1.0502105300001858 MAIN: 2026-09-07 08:39:05,757 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/39' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:40:05,341 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:40:06,102 - INFO - taking picture MAIN: 2026-09-07 08:40:06,103 - INFO - we take 130 photos in this while loop MAIN: 2026-09-07 08:40:06,103 - INFO - /home/pi/Desktop/images/07092026/08/39/image_07092026_08_40_05_60349.jpg MAIN: 2026-09-07 08:40:06,103 - INFO - duration: 1.0473491079992527 MAIN: 2026-09-07 08:40:06,103 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/40' MAIN: 2026-09-07 08:40:06,300 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:41:05,231 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:41:05,364 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:41:06,042 - INFO - taking picture MAIN: 2026-09-07 08:41:06,042 - INFO - we take 131 photos in this while loop MAIN: 2026-09-07 08:41:06,042 - INFO - /home/pi/Desktop/images/07092026/08/40/image_07092026_08_41_05_60011.jpg MAIN: 2026-09-07 08:41:06,042 - INFO - duration: 0.9753868239986332 MAIN: 2026-09-07 08:41:06,043 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/41' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:42:05,483 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:42:05,623 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:42:06,191 - INFO - taking picture MAIN: 2026-09-07 08:42:06,191 - INFO - we take 132 photos in this while loop MAIN: 2026-09-07 08:42:06,191 - INFO - /home/pi/Desktop/images/07092026/08/41/image_07092026_08_42_05_60155.jpg MAIN: 2026-09-07 08:42:06,191 - INFO - duration: 0.968682439000986 MAIN: 2026-09-07 08:42:06,192 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/42' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:43:05,475 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:43:05,714 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:43:06,168 - INFO - taking picture MAIN: 2026-09-07 08:43:06,168 - INFO - we take 133 photos in this while loop MAIN: 2026-09-07 08:43:06,168 - INFO - /home/pi/Desktop/images/07092026/08/42/image_07092026_08_43_05_59986.jpg MAIN: 2026-09-07 08:43:06,168 - INFO - duration: 0.9591358499983471 MAIN: 2026-09-07 08:43:06,168 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/43' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:44:04,937 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:44:05,454 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:44:06,130 - INFO - taking picture MAIN: 2026-09-07 08:44:06,131 - INFO - we take 134 photos in this while loop MAIN: 2026-09-07 08:44:06,131 - INFO - /home/pi/Desktop/images/07092026/08/43/image_07092026_08_44_05_60026.jpg MAIN: 2026-09-07 08:44:06,131 - INFO - duration: 0.8957027910000761 MAIN: 2026-09-07 08:44:06,131 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/44' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:45:05,525 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:45:05,583 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:45:06,245 - INFO - taking picture MAIN: 2026-09-07 08:45:06,246 - INFO - we take 135 photos in this while loop MAIN: 2026-09-07 08:45:06,246 - INFO - /home/pi/Desktop/images/07092026/08/44/image_07092026_08_45_05_60069.jpg MAIN: 2026-09-07 08:45:06,246 - INFO - duration: 0.9415989030003402 MAIN: 2026-09-07 08:45:06,246 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/45' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:46:05,476 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:46:05,595 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:46:06,272 - INFO - taking picture MAIN: 2026-09-07 08:46:06,272 - INFO - we take 136 photos in this while loop MAIN: 2026-09-07 08:46:06,272 - INFO - /home/pi/Desktop/images/07092026/08/45/image_07092026_08_46_05_59994.jpg MAIN: 2026-09-07 08:46:06,273 - INFO - duration: 0.9738130499990802 MAIN: 2026-09-07 08:46:06,273 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/46' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:47:05,416 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:47:05,486 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:47:06,179 - INFO - taking picture MAIN: 2026-09-07 08:47:06,179 - INFO - we take 137 photos in this while loop MAIN: 2026-09-07 08:47:06,179 - INFO - /home/pi/Desktop/images/07092026/08/46/image_07092026_08_47_05_59925.jpg MAIN: 2026-09-07 08:47:06,180 - INFO - duration: 0.9552682279991132 MAIN: 2026-09-07 08:47:06,180 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/47' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:48:05,602 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:48:06,010 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:48:06,347 - INFO - taking picture MAIN: 2026-09-07 08:48:06,347 - INFO - we take 138 photos in this while loop MAIN: 2026-09-07 08:48:06,347 - INFO - /home/pi/Desktop/images/07092026/08/47/image_07092026_08_48_05_60076.jpg MAIN: 2026-09-07 08:48:06,347 - INFO - duration: 1.0462701039996318 MAIN: 2026-09-07 08:48:06,348 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/48' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:49:04,902 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:49:05,638 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:49:06,350 - INFO - taking picture MAIN: 2026-09-07 08:49:06,350 - INFO - we take 139 photos in this while loop MAIN: 2026-09-07 08:49:06,351 - INFO - /home/pi/Desktop/images/07092026/08/48/image_07092026_08_49_05_60115.jpg MAIN: 2026-09-07 08:49:06,351 - INFO - duration: 0.9337434900007793 MAIN: 2026-09-07 08:49:06,351 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/49' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:50:05,269 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:50:05,664 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:50:06,002 - INFO - taking picture MAIN: 2026-09-07 08:50:06,003 - INFO - we take 140 photos in this while loop MAIN: 2026-09-07 08:50:06,003 - INFO - /home/pi/Desktop/images/07092026/08/49/image_07092026_08_50_05_59604.jpg MAIN: 2026-09-07 08:50:06,003 - INFO - duration: 0.9814006569995399 MAIN: 2026-09-07 08:50:06,003 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/50' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:51:04,921 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:51:05,137 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:51:05,881 - INFO - taking picture MAIN: 2026-09-07 08:51:05,882 - INFO - we take 141 photos in this while loop MAIN: 2026-09-07 08:51:05,882 - INFO - /home/pi/Desktop/images/07092026/08/50/image_07092026_08_51_05_59831.jpg MAIN: 2026-09-07 08:51:05,882 - INFO - duration: 1.028638495999985 MAIN: 2026-09-07 08:51:05,882 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/51' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:52:05,239 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:52:05,472 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:52:05,956 - INFO - taking picture MAIN: 2026-09-07 08:52:05,956 - INFO - we take 142 photos in this while loop MAIN: 2026-09-07 08:52:05,956 - INFO - /home/pi/Desktop/images/07092026/08/51/image_07092026_08_52_05_60121.jpg MAIN: 2026-09-07 08:52:05,957 - INFO - duration: 0.982236855001247 MAIN: 2026-09-07 08:52:05,957 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/52' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:53:05,336 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:53:05,466 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:53:06,095 - INFO - taking picture MAIN: 2026-09-07 08:53:06,095 - INFO - we take 143 photos in this while loop MAIN: 2026-09-07 08:53:06,096 - INFO - /home/pi/Desktop/images/07092026/08/52/image_07092026_08_53_05_60059.jpg MAIN: 2026-09-07 08:53:06,096 - INFO - duration: 1.0622990140000184 MAIN: 2026-09-07 08:53:06,096 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/53' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:54:05,094 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:54:05,611 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:54:06,327 - INFO - taking picture MAIN: 2026-09-07 08:54:06,327 - INFO - we take 144 photos in this while loop MAIN: 2026-09-07 08:54:06,327 - INFO - /home/pi/Desktop/images/07092026/08/53/image_07092026_08_54_05_60350.jpg MAIN: 2026-09-07 08:54:06,327 - INFO - duration: 0.9430250100012927 MAIN: 2026-09-07 08:54:06,328 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/54' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:55:05,254 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:55:05,727 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:55:06,432 - INFO - taking picture MAIN: 2026-09-07 08:55:06,433 - INFO - we take 145 photos in this while loop MAIN: 2026-09-07 08:55:06,433 - INFO - /home/pi/Desktop/images/07092026/08/54/image_07092026_08_55_05_60103.jpg MAIN: 2026-09-07 08:55:06,433 - INFO - duration: 0.9447723729990685 MAIN: 2026-09-07 08:55:06,433 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/55' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:56:05,299 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:56:05,930 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:56:06,607 - INFO - taking picture MAIN: 2026-09-07 08:56:06,607 - INFO - we take 146 photos in this while loop MAIN: 2026-09-07 08:56:06,607 - INFO - /home/pi/Desktop/images/07092026/08/55/image_07092026_08_56_05_60216.jpg MAIN: 2026-09-07 08:56:06,608 - INFO - duration: 0.9025089429997024 MAIN: 2026-09-07 08:56:06,608 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/56' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:57:05,550 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:57:05,958 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:57:06,637 - INFO - taking picture MAIN: 2026-09-07 08:57:06,637 - INFO - we take 147 photos in this while loop MAIN: 2026-09-07 08:57:06,637 - INFO - /home/pi/Desktop/images/07092026/08/56/image_07092026_08_57_05_60022.jpg MAIN: 2026-09-07 08:57:06,637 - INFO - duration: 0.9099949769988598 MAIN: 2026-09-07 08:57:06,637 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/57' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:58:05,747 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:58:05,883 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:58:06,570 - INFO - taking picture MAIN: 2026-09-07 08:58:06,570 - INFO - we take 148 photos in this while loop MAIN: 2026-09-07 08:58:06,571 - INFO - /home/pi/Desktop/images/07092026/08/57/image_07092026_08_58_05_59887.jpg MAIN: 2026-09-07 08:58:06,571 - INFO - duration: 0.9562161280009605 MAIN: 2026-09-07 08:58:06,571 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/58' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 08:59:04,575 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 08:59:05,752 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 08:59:06,431 - INFO - taking picture MAIN: 2026-09-07 08:59:06,431 - INFO - we take 149 photos in this while loop MAIN: 2026-09-07 08:59:06,431 - INFO - /home/pi/Desktop/images/07092026/08/58/image_07092026_08_59_05_59854.jpg MAIN: 2026-09-07 08:59:06,432 - INFO - duration: 0.9629349679998995 MAIN: 2026-09-07 08:59:06,432 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/08/59' MAIN: 2026-09-07 09:00:04,889 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:00:05,607 - INFO - taking picture MAIN: 2026-09-07 09:00:05,608 - INFO - we take 150 photos in this while loop MAIN: 2026-09-07 09:00:05,608 - INFO - /home/pi/Desktop/images/07092026/08/59/image_07092026_09_00_04_59177.jpg MAIN: 2026-09-07 09:00:05,608 - INFO - duration: 0.9618150719998084 MAIN: 2026-09-07 09:00:05,608 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/00' MAIN: 2026-09-07 09:00:06,006 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:01:05,579 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:01:05,663 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:01:06,416 - INFO - taking picture MAIN: 2026-09-07 09:01:06,416 - INFO - we take 151 photos in this while loop MAIN: 2026-09-07 09:01:06,417 - INFO - /home/pi/Desktop/images/07092026/09/00/image_07092026_09_01_05_60710.jpg MAIN: 2026-09-07 09:01:06,417 - INFO - duration: 1.060662093999781 MAIN: 2026-09-07 09:01:06,417 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/01' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:02:05,837 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:02:05,896 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:02:06,520 - INFO - taking picture MAIN: 2026-09-07 09:02:06,520 - INFO - we take 152 photos in this while loop MAIN: 2026-09-07 09:02:06,520 - INFO - /home/pi/Desktop/images/07092026/09/01/image_07092026_09_02_05_60202.jpg MAIN: 2026-09-07 09:02:06,521 - INFO - duration: 0.9617666049998661 MAIN: 2026-09-07 09:02:06,521 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/02' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:03:04,980 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:03:05,708 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:03:06,427 - INFO - taking picture MAIN: 2026-09-07 09:03:06,427 - INFO - we take 153 photos in this while loop MAIN: 2026-09-07 09:03:06,427 - INFO - /home/pi/Desktop/images/07092026/09/02/image_07092026_09_03_05_59915.jpg MAIN: 2026-09-07 09:03:06,427 - INFO - duration: 0.9524054039993644 MAIN: 2026-09-07 09:03:06,427 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/03' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:04:05,015 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:04:05,789 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:04:06,509 - INFO - taking picture MAIN: 2026-09-07 09:04:06,509 - INFO - we take 154 photos in this while loop MAIN: 2026-09-07 09:04:06,509 - INFO - /home/pi/Desktop/images/07092026/09/03/image_07092026_09_04_05_60083.jpg MAIN: 2026-09-07 09:04:06,510 - INFO - duration: 0.9513584499982244 MAIN: 2026-09-07 09:04:06,510 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/04' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:05:04,890 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:05:05,618 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:05:05,661 - INFO - taking picture MAIN: 2026-09-07 09:05:05,662 - INFO - we take 155 photos in this while loop MAIN: 2026-09-07 09:05:05,662 - INFO - /home/pi/Desktop/images/07092026/09/04/image_07092026_09_05_04_59061.jpg MAIN: 2026-09-07 09:05:05,662 - INFO - duration: 1.0428167280006164 MAIN: 2026-09-07 09:05:05,663 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/05' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:06:05,132 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:06:05,339 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:06:05,826 - INFO - taking picture MAIN: 2026-09-07 09:06:05,826 - INFO - we take 156 photos in this while loop MAIN: 2026-09-07 09:06:05,826 - INFO - /home/pi/Desktop/images/07092026/09/05/image_07092026_09_06_05_60208.jpg MAIN: 2026-09-07 09:06:05,826 - INFO - duration: 0.9981099780015938 MAIN: 2026-09-07 09:06:05,827 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/06' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:07:05,192 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:07:05,400 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:07:05,882 - INFO - taking picture MAIN: 2026-09-07 09:07:05,882 - INFO - we take 157 photos in this while loop MAIN: 2026-09-07 09:07:05,882 - INFO - /home/pi/Desktop/images/07092026/09/06/image_07092026_09_07_05_60080.jpg MAIN: 2026-09-07 09:07:05,882 - INFO - duration: 0.9737142609992588 MAIN: 2026-09-07 09:07:05,883 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/07' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:08:05,272 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:08:05,766 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:08:05,959 - INFO - taking picture MAIN: 2026-09-07 09:08:05,959 - INFO - we take 158 photos in this while loop MAIN: 2026-09-07 09:08:05,959 - INFO - /home/pi/Desktop/images/07092026/09/07/image_07092026_09_08_05_60128.jpg MAIN: 2026-09-07 09:08:05,959 - INFO - duration: 0.9217326200014213 MAIN: 2026-09-07 09:08:05,960 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/08' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:09:04,760 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:09:05,304 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:09:06,018 - INFO - taking picture MAIN: 2026-09-07 09:09:06,018 - INFO - we take 159 photos in this while loop MAIN: 2026-09-07 09:09:06,018 - INFO - /home/pi/Desktop/images/07092026/09/08/image_07092026_09_09_05_60045.jpg MAIN: 2026-09-07 09:09:06,018 - INFO - duration: 0.9353135839992319 MAIN: 2026-09-07 09:09:06,018 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/09' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:10:05,367 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:10:05,701 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:10:06,378 - INFO - taking picture MAIN: 2026-09-07 09:10:06,379 - INFO - we take 160 photos in this while loop MAIN: 2026-09-07 09:10:06,379 - INFO - /home/pi/Desktop/images/07092026/09/09/image_07092026_09_10_05_60365.jpg MAIN: 2026-09-07 09:10:06,379 - INFO - duration: 0.9309293570004229 MAIN: 2026-09-07 09:10:06,379 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/10' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:11:05,036 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:11:05,587 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:11:06,305 - INFO - taking picture MAIN: 2026-09-07 09:11:06,306 - INFO - we take 161 photos in this while loop MAIN: 2026-09-07 09:11:06,306 - INFO - /home/pi/Desktop/images/07092026/09/10/image_07092026_09_11_05_59916.jpg MAIN: 2026-09-07 09:11:06,306 - INFO - duration: 0.9413343289998011 MAIN: 2026-09-07 09:11:06,306 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/11' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:12:05,492 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:12:05,597 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:12:06,274 - INFO - taking picture MAIN: 2026-09-07 09:12:06,275 - INFO - we take 162 photos in this while loop MAIN: 2026-09-07 09:12:06,275 - INFO - /home/pi/Desktop/images/07092026/09/11/image_07092026_09_12_05_59957.jpg MAIN: 2026-09-07 09:12:06,275 - INFO - duration: 0.9525301840003522 MAIN: 2026-09-07 09:12:06,275 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/12' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:13:05,194 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:13:05,581 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:13:06,259 - INFO - taking picture MAIN: 2026-09-07 09:13:06,259 - INFO - we take 163 photos in this while loop MAIN: 2026-09-07 09:13:06,259 - INFO - /home/pi/Desktop/images/07092026/09/12/image_07092026_09_13_05_59983.jpg MAIN: 2026-09-07 09:13:06,259 - INFO - duration: 0.9530481510009849 MAIN: 2026-09-07 09:13:06,260 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/13' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:14:05,699 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:14:05,706 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:14:06,401 - INFO - taking picture MAIN: 2026-09-07 09:14:06,401 - INFO - we take 164 photos in this while loop MAIN: 2026-09-07 09:14:06,401 - INFO - /home/pi/Desktop/images/07092026/09/13/image_07092026_09_14_05_60123.jpg MAIN: 2026-09-07 09:14:06,401 - INFO - duration: 0.9721837110009801 MAIN: 2026-09-07 09:14:06,402 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/14' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:15:05,069 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:15:05,746 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:15:06,424 - INFO - taking picture MAIN: 2026-09-07 09:15:06,425 - INFO - we take 165 photos in this while loop MAIN: 2026-09-07 09:15:06,425 - INFO - /home/pi/Desktop/images/07092026/09/14/image_07092026_09_15_05_60044.jpg MAIN: 2026-09-07 09:15:06,425 - INFO - duration: 0.9516534909998882 MAIN: 2026-09-07 09:15:06,425 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/15' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:16:05,305 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:16:05,764 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:16:06,440 - INFO - taking picture MAIN: 2026-09-07 09:16:06,440 - INFO - we take 166 photos in this while loop MAIN: 2026-09-07 09:16:06,441 - INFO - /home/pi/Desktop/images/07092026/09/15/image_07092026_09_16_05_60071.jpg MAIN: 2026-09-07 09:16:06,441 - INFO - duration: 0.8958842169995478 MAIN: 2026-09-07 09:16:06,441 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/16' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:17:05,687 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:17:05,858 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:17:06,468 - INFO - taking picture MAIN: 2026-09-07 09:17:06,468 - INFO - we take 167 photos in this while loop MAIN: 2026-09-07 09:17:06,468 - INFO - /home/pi/Desktop/images/07092026/09/16/image_07092026_09_17_05_59907.jpg MAIN: 2026-09-07 09:17:06,468 - INFO - duration: 1.0159313849981118 MAIN: 2026-09-07 09:17:06,468 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/17' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:18:05,407 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:18:06,004 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:18:06,681 - INFO - taking picture MAIN: 2026-09-07 09:18:06,681 - INFO - we take 168 photos in this while loop MAIN: 2026-09-07 09:18:06,681 - INFO - /home/pi/Desktop/images/07092026/09/17/image_07092026_09_18_06_60331.jpg MAIN: 2026-09-07 09:18:06,681 - INFO - duration: 0.8974994269992749 MAIN: 2026-09-07 09:18:06,682 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/18' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:19:05,520 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:19:05,961 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:19:06,640 - INFO - taking picture MAIN: 2026-09-07 09:19:06,640 - INFO - we take 169 photos in this while loop MAIN: 2026-09-07 09:19:06,640 - INFO - /home/pi/Desktop/images/07092026/09/18/image_07092026_09_19_05_59957.jpg MAIN: 2026-09-07 09:19:06,640 - INFO - duration: 0.899359633000131 MAIN: 2026-09-07 09:19:06,640 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/19' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:20:05,089 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:20:05,812 - INFO - taking picture MAIN: 2026-09-07 09:20:05,812 - INFO - we take 170 photos in this while loop MAIN: 2026-09-07 09:20:05,812 - INFO - /home/pi/Desktop/images/07092026/09/19/image_07092026_09_20_05_59101.jpg MAIN: 2026-09-07 09:20:05,812 - INFO - duration: 0.9701563390008232 MAIN: 2026-09-07 09:20:05,813 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/20' MAIN: 2026-09-07 09:20:06,057 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:21:04,871 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:21:05,073 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:21:05,754 - INFO - taking picture MAIN: 2026-09-07 09:21:05,754 - INFO - we take 171 photos in this while loop MAIN: 2026-09-07 09:21:05,754 - INFO - /home/pi/Desktop/images/07092026/09/20/image_07092026_09_21_05_59947.jpg MAIN: 2026-09-07 09:21:05,754 - INFO - duration: 0.9645574330024829 MAIN: 2026-09-07 09:21:05,755 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/21' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:22:05,067 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:22:05,143 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:22:05,771 - INFO - taking picture MAIN: 2026-09-07 09:22:05,771 - INFO - we take 172 photos in this while loop MAIN: 2026-09-07 09:22:05,771 - INFO - /home/pi/Desktop/images/07092026/09/21/image_07092026_09_22_05_60001.jpg MAIN: 2026-09-07 09:22:05,771 - INFO - duration: 0.9799482929993246 MAIN: 2026-09-07 09:22:05,772 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/22' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:23:04,961 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:23:05,040 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:23:05,794 - INFO - taking picture MAIN: 2026-09-07 09:23:05,795 - INFO - we take 173 photos in this while loop MAIN: 2026-09-07 09:23:05,795 - INFO - /home/pi/Desktop/images/07092026/09/22/image_07092026_09_23_05_59939.jpg MAIN: 2026-09-07 09:23:05,795 - INFO - duration: 1.0636575099997572 MAIN: 2026-09-07 09:23:05,795 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/23' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:24:05,215 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:24:05,549 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:24:05,902 - INFO - taking picture MAIN: 2026-09-07 09:24:05,902 - INFO - we take 174 photos in this while loop MAIN: 2026-09-07 09:24:05,902 - INFO - /home/pi/Desktop/images/07092026/09/23/image_07092026_09_24_05_60207.jpg MAIN: 2026-09-07 09:24:05,902 - INFO - duration: 0.9632892000008724 MAIN: 2026-09-07 09:24:05,903 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/24' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:25:05,204 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:25:05,625 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:25:05,929 - INFO - taking picture MAIN: 2026-09-07 09:25:05,930 - INFO - we take 175 photos in this while loop MAIN: 2026-09-07 09:25:05,930 - INFO - /home/pi/Desktop/images/07092026/09/24/image_07092026_09_25_05_60035.jpg MAIN: 2026-09-07 09:25:05,930 - INFO - duration: 0.9558568770007696 MAIN: 2026-09-07 09:25:05,930 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/25' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:26:05,214 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:26:05,613 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:26:05,901 - INFO - taking picture MAIN: 2026-09-07 09:26:05,901 - INFO - we take 176 photos in this while loop MAIN: 2026-09-07 09:26:05,901 - INFO - /home/pi/Desktop/images/07092026/09/25/image_07092026_09_26_05_60017.jpg MAIN: 2026-09-07 09:26:05,902 - INFO - duration: 0.9099507800019637 MAIN: 2026-09-07 09:26:05,902 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/26' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:27:04,632 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:27:05,444 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:27:06,122 - INFO - taking picture MAIN: 2026-09-07 09:27:06,122 - INFO - we take 177 photos in this while loop MAIN: 2026-09-07 09:27:06,122 - INFO - /home/pi/Desktop/images/07092026/09/26/image_07092026_09_27_05_60158.jpg MAIN: 2026-09-07 09:27:06,122 - INFO - duration: 0.9718682450002234 MAIN: 2026-09-07 09:27:06,123 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/27' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:28:05,005 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:28:05,488 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:28:06,165 - INFO - taking picture MAIN: 2026-09-07 09:28:06,166 - INFO - we take 178 photos in this while loop MAIN: 2026-09-07 09:28:06,166 - INFO - /home/pi/Desktop/images/07092026/09/27/image_07092026_09_28_05_60117.jpg MAIN: 2026-09-07 09:28:06,166 - INFO - duration: 0.8983156709982723 MAIN: 2026-09-07 09:28:06,166 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/28' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:29:05,059 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:29:05,710 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:29:06,463 - INFO - taking picture MAIN: 2026-09-07 09:29:06,463 - INFO - we take 179 photos in this while loop MAIN: 2026-09-07 09:29:06,463 - INFO - /home/pi/Desktop/images/07092026/09/28/image_07092026_09_29_05_60174.jpg MAIN: 2026-09-07 09:29:06,463 - INFO - duration: 1.0215973160011345 MAIN: 2026-09-07 09:29:06,464 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/29' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:30:05,109 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:30:05,724 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:30:05,818 - INFO - taking picture MAIN: 2026-09-07 09:30:05,818 - INFO - we take 180 photos in this while loop MAIN: 2026-09-07 09:30:05,818 - INFO - /home/pi/Desktop/images/07092026/09/29/image_07092026_09_30_05_59427.jpg MAIN: 2026-09-07 09:30:05,819 - INFO - duration: 0.9490035290000378 MAIN: 2026-09-07 09:30:05,819 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/30' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:31:05,137 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:31:05,388 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:31:05,922 - INFO - taking picture MAIN: 2026-09-07 09:31:05,922 - INFO - we take 181 photos in this while loop MAIN: 2026-09-07 09:31:05,922 - INFO - /home/pi/Desktop/images/07092026/09/30/image_07092026_09_31_05_60015.jpg MAIN: 2026-09-07 09:31:05,922 - INFO - duration: 1.0374467260007805 MAIN: 2026-09-07 09:31:05,923 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/31' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:32:05,438 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:32:05,784 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:32:06,169 - INFO - taking picture MAIN: 2026-09-07 09:32:06,169 - INFO - we take 182 photos in this while loop MAIN: 2026-09-07 09:32:06,169 - INFO - /home/pi/Desktop/images/07092026/09/31/image_07092026_09_32_05_60332.jpg MAIN: 2026-09-07 09:32:06,170 - INFO - duration: 0.9524501470004907 MAIN: 2026-09-07 09:32:06,170 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/32' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:33:05,404 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:33:05,428 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:33:06,090 - INFO - taking picture MAIN: 2026-09-07 09:33:06,091 - INFO - we take 183 photos in this while loop MAIN: 2026-09-07 09:33:06,091 - INFO - /home/pi/Desktop/images/07092026/09/32/image_07092026_09_33_05_59920.jpg MAIN: 2026-09-07 09:33:06,091 - INFO - duration: 0.9527599180000834 MAIN: 2026-09-07 09:33:06,091 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/33' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:34:04,903 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:34:05,515 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:34:06,271 - INFO - taking picture MAIN: 2026-09-07 09:34:06,271 - INFO - we take 184 photos in this while loop MAIN: 2026-09-07 09:34:06,271 - INFO - /home/pi/Desktop/images/07092026/09/33/image_07092026_09_34_05_60123.jpg MAIN: 2026-09-07 09:34:06,272 - INFO - duration: 1.0094428740012518 MAIN: 2026-09-07 09:34:06,272 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/34' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:35:05,436 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:35:05,747 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:35:06,506 - INFO - taking picture MAIN: 2026-09-07 09:35:06,506 - INFO - we take 185 photos in this while loop MAIN: 2026-09-07 09:35:06,506 - INFO - /home/pi/Desktop/images/07092026/09/34/image_07092026_09_35_05_60216.jpg MAIN: 2026-09-07 09:35:06,507 - INFO - duration: 1.028515639998659 MAIN: 2026-09-07 09:35:06,507 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/35' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:36:05,356 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:36:05,832 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:36:06,588 - INFO - taking picture MAIN: 2026-09-07 09:36:06,588 - INFO - we take 186 photos in this while loop MAIN: 2026-09-07 09:36:06,588 - INFO - /home/pi/Desktop/images/07092026/09/35/image_07092026_09_36_05_60132.jpg MAIN: 2026-09-07 09:36:06,588 - INFO - duration: 0.9779991050017998 MAIN: 2026-09-07 09:36:06,589 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/36' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:37:04,995 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:37:05,098 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:37:05,692 - INFO - taking picture MAIN: 2026-09-07 09:37:05,693 - INFO - we take 187 photos in this while loop MAIN: 2026-09-07 09:37:05,693 - INFO - /home/pi/Desktop/images/07092026/09/36/image_07092026_09_37_04_59109.jpg MAIN: 2026-09-07 09:37:05,693 - INFO - duration: 0.972932275999483 MAIN: 2026-09-07 09:37:05,693 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/37' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:38:04,991 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:38:05,570 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:38:05,676 - INFO - taking picture MAIN: 2026-09-07 09:38:05,677 - INFO - we take 188 photos in this while loop MAIN: 2026-09-07 09:38:05,677 - INFO - /home/pi/Desktop/images/07092026/09/37/image_07092026_09_38_04_60024.jpg MAIN: 2026-09-07 09:38:05,677 - INFO - duration: 0.9324610399999074 MAIN: 2026-09-07 09:38:05,677 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/38' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:39:04,978 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:39:05,458 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:39:05,717 - INFO - taking picture MAIN: 2026-09-07 09:39:05,717 - INFO - we take 189 photos in this while loop MAIN: 2026-09-07 09:39:05,717 - INFO - /home/pi/Desktop/images/07092026/09/38/image_07092026_09_39_04_59938.jpg MAIN: 2026-09-07 09:39:05,718 - INFO - duration: 1.0347078339982545 MAIN: 2026-09-07 09:39:05,718 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/39' MAIN: 2026-09-07 09:40:05,340 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:40:06,063 - INFO - taking picture MAIN: 2026-09-07 09:40:06,064 - INFO - we take 190 photos in this while loop MAIN: 2026-09-07 09:40:06,064 - INFO - /home/pi/Desktop/images/07092026/09/39/image_07092026_09_40_05_60412.jpg MAIN: 2026-09-07 09:40:06,064 - INFO - duration: 0.9682345529981831 MAIN: 2026-09-07 09:40:06,064 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/40' MAIN: 2026-09-07 09:40:06,363 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:41:04,745 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:41:05,657 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:41:06,338 - INFO - taking picture MAIN: 2026-09-07 09:41:06,338 - INFO - we take 191 photos in this while loop MAIN: 2026-09-07 09:41:06,338 - INFO - /home/pi/Desktop/images/07092026/09/40/image_07092026_09_41_05_60305.jpg MAIN: 2026-09-07 09:41:06,338 - INFO - duration: 0.9374212190014077 MAIN: 2026-09-07 09:41:06,339 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/41' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:42:05,014 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:42:05,660 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:42:06,379 - INFO - taking picture MAIN: 2026-09-07 09:42:06,379 - INFO - we take 192 photos in this while loop MAIN: 2026-09-07 09:42:06,379 - INFO - /home/pi/Desktop/images/07092026/09/41/image_07092026_09_42_05_60034.jpg MAIN: 2026-09-07 09:42:06,379 - INFO - duration: 0.9437059390002105 MAIN: 2026-09-07 09:42:06,380 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/42' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:43:04,976 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:43:05,691 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:43:06,421 - INFO - taking picture MAIN: 2026-09-07 09:43:06,421 - INFO - we take 193 photos in this while loop MAIN: 2026-09-07 09:43:06,421 - INFO - /home/pi/Desktop/images/07092026/09/42/image_07092026_09_43_05_60006.jpg MAIN: 2026-09-07 09:43:06,422 - INFO - duration: 0.9798179259996687 MAIN: 2026-09-07 09:43:06,422 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/43' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:44:05,139 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:44:05,414 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:44:05,859 - INFO - taking picture MAIN: 2026-09-07 09:44:05,860 - INFO - we take 194 photos in this while loop MAIN: 2026-09-07 09:44:05,860 - INFO - /home/pi/Desktop/images/07092026/09/43/image_07092026_09_44_05_59423.jpg MAIN: 2026-09-07 09:44:05,860 - INFO - duration: 0.9943104880003375 MAIN: 2026-09-07 09:44:05,860 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/44' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:45:05,327 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:45:05,804 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:45:06,054 - INFO - taking picture MAIN: 2026-09-07 09:45:06,054 - INFO - we take 195 photos in this while loop MAIN: 2026-09-07 09:45:06,054 - INFO - /home/pi/Desktop/images/07092026/09/44/image_07092026_09_45_05_60241.jpg MAIN: 2026-09-07 09:45:06,054 - INFO - duration: 0.9472061380001833 MAIN: 2026-09-07 09:45:06,054 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/45' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:46:05,354 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:46:05,742 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:46:06,051 - INFO - taking picture MAIN: 2026-09-07 09:46:06,051 - INFO - we take 196 photos in this while loop MAIN: 2026-09-07 09:46:06,051 - INFO - /home/pi/Desktop/images/07092026/09/45/image_07092026_09_46_05_59981.jpg MAIN: 2026-09-07 09:46:06,051 - INFO - duration: 0.9624512410009629 MAIN: 2026-09-07 09:46:06,051 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/46' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:47:05,309 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:47:05,408 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:47:05,994 - INFO - taking picture MAIN: 2026-09-07 09:47:05,994 - INFO - we take 197 photos in this while loop MAIN: 2026-09-07 09:47:05,995 - INFO - /home/pi/Desktop/images/07092026/09/46/image_07092026_09_47_05_59946.jpg MAIN: 2026-09-07 09:47:05,995 - INFO - duration: 0.9596062490018085 MAIN: 2026-09-07 09:47:05,995 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/47' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:48:05,307 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:48:05,865 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:48:06,064 - INFO - taking picture MAIN: 2026-09-07 09:48:06,064 - INFO - we take 198 photos in this while loop MAIN: 2026-09-07 09:48:06,064 - INFO - /home/pi/Desktop/images/07092026/09/47/image_07092026_09_48_05_60048.jpg MAIN: 2026-09-07 09:48:06,064 - INFO - duration: 0.9809603759968013 MAIN: 2026-09-07 09:48:06,065 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/48' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:49:04,668 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:49:05,806 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:49:06,486 - INFO - taking picture MAIN: 2026-09-07 09:49:06,486 - INFO - we take 199 photos in this while loop MAIN: 2026-09-07 09:49:06,486 - INFO - /home/pi/Desktop/images/07092026/09/48/image_07092026_09_49_05_60452.jpg MAIN: 2026-09-07 09:49:06,486 - INFO - duration: 0.9500917309997021 MAIN: 2026-09-07 09:49:06,487 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/49' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:50:04,792 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:50:05,280 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:50:05,514 - INFO - taking picture MAIN: 2026-09-07 09:50:05,514 - INFO - we take 200 photos in this while loop MAIN: 2026-09-07 09:50:05,514 - INFO - /home/pi/Desktop/images/07092026/09/49/image_07092026_09_50_04_59018.jpg MAIN: 2026-09-07 09:50:05,514 - INFO - duration: 0.9598648999999568 MAIN: 2026-09-07 09:50:05,515 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/50' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:51:05,194 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:51:05,991 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:51:06,670 - INFO - taking picture MAIN: 2026-09-07 09:51:06,670 - INFO - we take 201 photos in this while loop MAIN: 2026-09-07 09:51:06,670 - INFO - /home/pi/Desktop/images/07092026/09/50/image_07092026_09_51_05_61164.jpg MAIN: 2026-09-07 09:51:06,670 - INFO - duration: 0.9510919059976004 MAIN: 2026-09-07 09:51:06,670 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/51' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:52:04,858 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:52:05,536 - INFO - taking picture MAIN: 2026-09-07 09:52:05,536 - INFO - we take 202 photos in this while loop MAIN: 2026-09-07 09:52:05,536 - INFO - /home/pi/Desktop/images/07092026/09/51/image_07092026_09_52_04_58902.jpg MAIN: 2026-09-07 09:52:05,536 - INFO - duration: 0.9149549859976105 MAIN: 2026-09-07 09:52:05,537 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/52' MAIN: 2026-09-07 09:52:05,738 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:53:04,848 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:53:05,359 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:53:05,542 - INFO - taking picture MAIN: 2026-09-07 09:53:05,542 - INFO - we take 203 photos in this while loop MAIN: 2026-09-07 09:53:05,542 - INFO - /home/pi/Desktop/images/07092026/09/52/image_07092026_09_53_04_59963.jpg MAIN: 2026-09-07 09:53:05,542 - INFO - duration: 0.9570772209990537 MAIN: 2026-09-07 09:53:05,542 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/53' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:54:05,109 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:54:05,802 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:54:05,875 - INFO - taking picture MAIN: 2026-09-07 09:54:05,875 - INFO - we take 204 photos in this while loop MAIN: 2026-09-07 09:54:05,876 - INFO - /home/pi/Desktop/images/07092026/09/53/image_07092026_09_54_05_60195.jpg MAIN: 2026-09-07 09:54:05,876 - INFO - duration: 1.09525247199781 MAIN: 2026-09-07 09:54:05,876 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/54' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:55:05,041 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:55:05,107 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:55:05,832 - INFO - taking picture MAIN: 2026-09-07 09:55:05,832 - INFO - we take 205 photos in this while loop MAIN: 2026-09-07 09:55:05,832 - INFO - /home/pi/Desktop/images/07092026/09/54/image_07092026_09_55_05_60064.jpg MAIN: 2026-09-07 09:55:05,833 - INFO - duration: 0.987001543999213 MAIN: 2026-09-07 09:55:05,833 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/55' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:56:05,040 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:56:05,123 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:56:05,727 - INFO - taking picture MAIN: 2026-09-07 09:56:05,727 - INFO - we take 206 photos in this while loop MAIN: 2026-09-07 09:56:05,727 - INFO - /home/pi/Desktop/images/07092026/09/55/image_07092026_09_56_05_59923.jpg MAIN: 2026-09-07 09:56:05,728 - INFO - duration: 0.9585477089967753 MAIN: 2026-09-07 09:56:05,728 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/56' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:57:05,089 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:57:05,091 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:57:05,862 - INFO - taking picture MAIN: 2026-09-07 09:57:05,862 - INFO - we take 207 photos in this while loop MAIN: 2026-09-07 09:57:05,863 - INFO - /home/pi/Desktop/images/07092026/09/56/image_07092026_09_57_05_60037.jpg MAIN: 2026-09-07 09:57:05,863 - INFO - duration: 1.0561391529990942 MAIN: 2026-09-07 09:57:05,863 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/57' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:58:05,337 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:58:05,510 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:58:06,029 - INFO - taking picture MAIN: 2026-09-07 09:58:06,030 - INFO - we take 208 photos in this while loop MAIN: 2026-09-07 09:58:06,030 - INFO - /home/pi/Desktop/images/07092026/09/57/image_07092026_09_58_05_60256.jpg MAIN: 2026-09-07 09:58:06,030 - INFO - duration: 0.9671839020011248 MAIN: 2026-09-07 09:58:06,030 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/58' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 09:59:05,495 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 09:59:05,933 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 09:59:06,612 - INFO - taking picture MAIN: 2026-09-07 09:59:06,613 - INFO - we take 209 photos in this while loop MAIN: 2026-09-07 09:59:06,613 - INFO - /home/pi/Desktop/images/07092026/09/58/image_07092026_09_59_05_60644.jpg MAIN: 2026-09-07 09:59:06,613 - INFO - duration: 0.9061556440028653 MAIN: 2026-09-07 09:59:06,613 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/09/59' MAIN: 2026-09-07 10:00:04,912 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:00:05,642 - INFO - taking picture MAIN: 2026-09-07 10:00:05,643 - INFO - we take 210 photos in this while loop MAIN: 2026-09-07 10:00:05,643 - INFO - /home/pi/Desktop/images/07092026/09/59/image_07092026_10_00_04_58944.jpg MAIN: 2026-09-07 10:00:05,643 - INFO - duration: 0.9922496860017418 MAIN: 2026-09-07 10:00:05,643 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/00' MAIN: 2026-09-07 10:00:05,966 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:01:05,045 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:01:05,465 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:01:05,752 - INFO - taking picture MAIN: 2026-09-07 10:01:05,753 - INFO - we take 211 photos in this while loop MAIN: 2026-09-07 10:01:05,753 - INFO - /home/pi/Desktop/images/07092026/10/00/image_07092026_10_01_05_60101.jpg MAIN: 2026-09-07 10:01:05,753 - INFO - duration: 1.0006405940002878 MAIN: 2026-09-07 10:01:05,753 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/01' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:02:05,441 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:02:05,787 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:02:06,157 - INFO - taking picture MAIN: 2026-09-07 10:02:06,157 - INFO - we take 212 photos in this while loop MAIN: 2026-09-07 10:02:06,157 - INFO - /home/pi/Desktop/images/07092026/10/01/image_07092026_10_02_05_60414.jpg MAIN: 2026-09-07 10:02:06,157 - INFO - duration: 0.9901967200021318 MAIN: 2026-09-07 10:02:06,157 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/02' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:03:04,834 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:03:05,416 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:03:06,095 - INFO - taking picture MAIN: 2026-09-07 10:03:06,095 - INFO - we take 213 photos in this while loop MAIN: 2026-09-07 10:03:06,095 - INFO - /home/pi/Desktop/images/07092026/10/02/image_07092026_10_03_05_60022.jpg MAIN: 2026-09-07 10:03:06,095 - INFO - duration: 0.905886324999301 MAIN: 2026-09-07 10:03:06,096 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/03' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:04:05,115 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:04:05,708 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:04:06,424 - INFO - taking picture MAIN: 2026-09-07 10:04:06,424 - INFO - we take 214 photos in this while loop MAIN: 2026-09-07 10:04:06,424 - INFO - /home/pi/Desktop/images/07092026/10/03/image_07092026_10_04_05_60258.jpg MAIN: 2026-09-07 10:04:06,424 - INFO - duration: 0.9764756979966478 MAIN: 2026-09-07 10:04:06,425 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/04' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:05:05,661 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:05:06,052 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:05:06,808 - INFO - taking picture MAIN: 2026-09-07 10:05:06,809 - INFO - we take 215 photos in this while loop MAIN: 2026-09-07 10:05:06,809 - INFO - /home/pi/Desktop/images/07092026/10/04/image_07092026_10_05_06_60315.jpg MAIN: 2026-09-07 10:05:06,809 - INFO - duration: 1.0458349710024777 MAIN: 2026-09-07 10:05:06,809 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/05' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:06:05,082 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:06:05,462 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:06:05,769 - INFO - taking picture MAIN: 2026-09-07 10:06:05,769 - INFO - we take 216 photos in this while loop MAIN: 2026-09-07 10:06:05,769 - INFO - /home/pi/Desktop/images/07092026/10/05/image_07092026_10_06_05_59050.jpg MAIN: 2026-09-07 10:06:05,769 - INFO - duration: 0.9553440859999682 MAIN: 2026-09-07 10:06:05,770 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/06' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:07:04,907 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:07:05,488 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:07:05,642 - INFO - taking picture MAIN: 2026-09-07 10:07:05,642 - INFO - we take 217 photos in this while loop MAIN: 2026-09-07 10:07:05,642 - INFO - /home/pi/Desktop/images/07092026/10/06/image_07092026_10_07_04_59860.jpg MAIN: 2026-09-07 10:07:05,642 - INFO - duration: 0.9677074649989663 MAIN: 2026-09-07 10:07:05,643 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/07' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:08:05,023 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:08:05,270 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:08:05,948 - INFO - taking picture MAIN: 2026-09-07 10:08:05,948 - INFO - we take 218 photos in this while loop MAIN: 2026-09-07 10:08:05,949 - INFO - /home/pi/Desktop/images/07092026/10/07/image_07092026_10_08_05_60312.jpg MAIN: 2026-09-07 10:08:05,949 - INFO - duration: 0.9615299289980612 MAIN: 2026-09-07 10:08:05,949 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/08' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:09:04,886 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:09:05,280 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:09:05,960 - INFO - taking picture MAIN: 2026-09-07 10:09:05,960 - INFO - we take 219 photos in this while loop MAIN: 2026-09-07 10:09:05,961 - INFO - /home/pi/Desktop/images/07092026/10/08/image_07092026_10_09_05_60069.jpg MAIN: 2026-09-07 10:09:05,961 - INFO - duration: 0.9037814729999809 MAIN: 2026-09-07 10:09:05,961 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/09' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:10:05,383 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:10:05,651 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:10:06,146 - INFO - taking picture MAIN: 2026-09-07 10:10:06,147 - INFO - we take 220 photos in this while loop MAIN: 2026-09-07 10:10:06,147 - INFO - /home/pi/Desktop/images/07092026/10/09/image_07092026_10_10_05_60072.jpg MAIN: 2026-09-07 10:10:06,147 - INFO - duration: 1.0179052150015195 MAIN: 2026-09-07 10:10:06,147 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/10' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:11:05,371 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:11:05,434 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:11:06,119 - INFO - taking picture MAIN: 2026-09-07 10:11:06,119 - INFO - we take 221 photos in this while loop MAIN: 2026-09-07 10:11:06,119 - INFO - /home/pi/Desktop/images/07092026/10/10/image_07092026_10_11_05_60029.jpg MAIN: 2026-09-07 10:11:06,119 - INFO - duration: 0.9604805180024414 MAIN: 2026-09-07 10:11:06,120 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/11' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:12:05,596 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:12:05,675 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:12:06,293 - INFO - taking picture MAIN: 2026-09-07 10:12:06,293 - INFO - we take 222 photos in this while loop MAIN: 2026-09-07 10:12:06,293 - INFO - /home/pi/Desktop/images/07092026/10/11/image_07092026_10_12_05_60179.jpg MAIN: 2026-09-07 10:12:06,294 - INFO - duration: 0.9546452869981294 MAIN: 2026-09-07 10:12:06,294 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/12' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:13:04,663 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:13:05,654 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:13:06,376 - INFO - taking picture MAIN: 2026-09-07 10:13:06,376 - INFO - we take 223 photos in this while loop MAIN: 2026-09-07 10:13:06,377 - INFO - /home/pi/Desktop/images/07092026/10/12/image_07092026_10_13_05_60020.jpg MAIN: 2026-09-07 10:13:06,377 - INFO - duration: 1.0171572730032494 MAIN: 2026-09-07 10:13:06,377 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/13' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:14:04,943 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:14:05,783 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:14:06,541 - INFO - taking picture MAIN: 2026-09-07 10:14:06,542 - INFO - we take 224 photos in this while loop MAIN: 2026-09-07 10:14:06,542 - INFO - /home/pi/Desktop/images/07092026/10/13/image_07092026_10_14_05_60139.jpg MAIN: 2026-09-07 10:14:06,542 - INFO - duration: 1.042631992000679 MAIN: 2026-09-07 10:14:06,542 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/14' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:15:05,188 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:15:05,512 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:15:05,938 - INFO - taking picture MAIN: 2026-09-07 10:15:05,939 - INFO - we take 225 photos in this while loop MAIN: 2026-09-07 10:15:05,939 - INFO - /home/pi/Desktop/images/07092026/10/14/image_07092026_10_15_05_59467.jpg MAIN: 2026-09-07 10:15:05,939 - INFO - duration: 0.971782627999346 MAIN: 2026-09-07 10:15:05,939 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/15' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:16:05,385 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:16:05,611 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:16:06,304 - INFO - taking picture MAIN: 2026-09-07 10:16:06,304 - INFO - we take 226 photos in this while loop MAIN: 2026-09-07 10:16:06,304 - INFO - /home/pi/Desktop/images/07092026/10/15/image_07092026_10_16_05_60391.jpg MAIN: 2026-09-07 10:16:06,305 - INFO - duration: 0.9457261839997955 MAIN: 2026-09-07 10:16:06,305 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/16' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:17:05,318 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:17:05,584 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:17:06,277 - INFO - taking picture MAIN: 2026-09-07 10:17:06,278 - INFO - we take 227 photos in this while loop MAIN: 2026-09-07 10:17:06,278 - INFO - /home/pi/Desktop/images/07092026/10/16/image_07092026_10_17_05_59958.jpg MAIN: 2026-09-07 10:17:06,278 - INFO - duration: 0.9600983510026708 MAIN: 2026-09-07 10:17:06,278 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/17' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:18:04,789 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:18:05,790 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:18:06,544 - INFO - taking picture MAIN: 2026-09-07 10:18:06,544 - INFO - we take 228 photos in this while loop MAIN: 2026-09-07 10:18:06,544 - INFO - /home/pi/Desktop/images/07092026/10/17/image_07092026_10_18_05_60167.jpg MAIN: 2026-09-07 10:18:06,544 - INFO - duration: 1.0587796799991338 MAIN: 2026-09-07 10:18:06,545 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/18' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:19:04,788 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:19:05,715 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:19:06,393 - INFO - taking picture MAIN: 2026-09-07 10:19:06,393 - INFO - we take 229 photos in this while loop MAIN: 2026-09-07 10:19:06,393 - INFO - /home/pi/Desktop/images/07092026/10/18/image_07092026_10_19_05_59974.jpg MAIN: 2026-09-07 10:19:06,393 - INFO - duration: 0.9333404200006044 MAIN: 2026-09-07 10:19:06,394 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/19' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:20:05,478 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:20:05,899 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:20:06,652 - INFO - taking picture MAIN: 2026-09-07 10:20:06,652 - INFO - we take 230 photos in this while loop MAIN: 2026-09-07 10:20:06,652 - INFO - /home/pi/Desktop/images/07092026/10/19/image_07092026_10_20_05_60140.jpg MAIN: 2026-09-07 10:20:06,653 - INFO - duration: 1.051701934000448 MAIN: 2026-09-07 10:20:06,653 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/20' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:21:04,982 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:21:05,285 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:21:05,675 - INFO - taking picture MAIN: 2026-09-07 10:21:05,675 - INFO - we take 231 photos in this while loop MAIN: 2026-09-07 10:21:05,675 - INFO - /home/pi/Desktop/images/07092026/10/20/image_07092026_10_21_04_59100.jpg MAIN: 2026-09-07 10:21:05,675 - INFO - duration: 0.9741201010001532 MAIN: 2026-09-07 10:21:05,676 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/21' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:22:05,010 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:22:05,585 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:22:05,714 - INFO - taking picture MAIN: 2026-09-07 10:22:05,714 - INFO - we take 232 photos in this while loop MAIN: 2026-09-07 10:22:05,714 - INFO - /home/pi/Desktop/images/07092026/10/21/image_07092026_10_22_05_60043.jpg MAIN: 2026-09-07 10:22:05,714 - INFO - duration: 0.9693637959971966 MAIN: 2026-09-07 10:22:05,715 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/22' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:23:04,998 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:23:05,455 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:23:05,701 - INFO - taking picture MAIN: 2026-09-07 10:23:05,702 - INFO - we take 233 photos in this while loop MAIN: 2026-09-07 10:23:05,702 - INFO - /home/pi/Desktop/images/07092026/10/22/image_07092026_10_23_04_59978.jpg MAIN: 2026-09-07 10:23:05,702 - INFO - duration: 0.9786815590014157 MAIN: 2026-09-07 10:23:05,702 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/23' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:24:04,911 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:24:05,277 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:24:06,009 - INFO - taking picture MAIN: 2026-09-07 10:24:06,009 - INFO - we take 234 photos in this while loop MAIN: 2026-09-07 10:24:06,009 - INFO - /home/pi/Desktop/images/07092026/10/23/image_07092026_10_24_05_60323.jpg MAIN: 2026-09-07 10:24:06,010 - INFO - duration: 0.9629381570011901 MAIN: 2026-09-07 10:24:06,010 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/24' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:25:05,200 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:25:05,726 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:25:06,407 - INFO - taking picture MAIN: 2026-09-07 10:25:06,407 - INFO - we take 235 photos in this while loop MAIN: 2026-09-07 10:25:06,407 - INFO - /home/pi/Desktop/images/07092026/10/24/image_07092026_10_25_05_60403.jpg MAIN: 2026-09-07 10:25:06,407 - INFO - duration: 0.9567998040001839 MAIN: 2026-09-07 10:25:06,408 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/25' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:26:05,300 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:26:05,975 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:26:06,705 - INFO - taking picture MAIN: 2026-09-07 10:26:06,705 - INFO - we take 236 photos in this while loop MAIN: 2026-09-07 10:26:06,705 - INFO - /home/pi/Desktop/images/07092026/10/25/image_07092026_10_26_05_60273.jpg MAIN: 2026-09-07 10:26:06,705 - INFO - duration: 0.9809869769997022 MAIN: 2026-09-07 10:26:06,705 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/26' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:27:05,173 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:27:05,213 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:27:05,936 - INFO - taking picture MAIN: 2026-09-07 10:27:05,936 - INFO - we take 237 photos in this while loop MAIN: 2026-09-07 10:27:05,936 - INFO - /home/pi/Desktop/images/07092026/10/26/image_07092026_10_27_05_59151.jpg MAIN: 2026-09-07 10:27:05,936 - INFO - duration: 1.0601417920006497 MAIN: 2026-09-07 10:27:05,936 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/27' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:28:05,509 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:28:05,582 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:28:06,192 - INFO - taking picture MAIN: 2026-09-07 10:28:06,193 - INFO - we take 238 photos in this while loop MAIN: 2026-09-07 10:28:06,193 - INFO - /home/pi/Desktop/images/07092026/10/27/image_07092026_10_28_05_60370.jpg MAIN: 2026-09-07 10:28:06,193 - INFO - duration: 0.9461007159989094 MAIN: 2026-09-07 10:28:06,193 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/28' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:29:05,558 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:29:05,900 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:29:06,581 - INFO - taking picture MAIN: 2026-09-07 10:29:06,581 - INFO - we take 239 photos in this while loop MAIN: 2026-09-07 10:29:06,581 - INFO - /home/pi/Desktop/images/07092026/10/28/image_07092026_10_29_05_60431.jpg MAIN: 2026-09-07 10:29:06,581 - INFO - duration: 0.9027455180003017 MAIN: 2026-09-07 10:29:06,582 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/29' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:30:05,225 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:30:06,025 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:30:06,711 - INFO - taking picture MAIN: 2026-09-07 10:30:06,711 - INFO - we take 240 photos in this while loop MAIN: 2026-09-07 10:30:06,711 - INFO - /home/pi/Desktop/images/07092026/10/29/image_07092026_10_30_06_60050.jpg MAIN: 2026-09-07 10:30:06,712 - INFO - duration: 0.9827282469996135 MAIN: 2026-09-07 10:30:06,712 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/30' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:31:05,122 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:31:05,791 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:31:06,514 - INFO - taking picture MAIN: 2026-09-07 10:31:06,514 - INFO - we take 241 photos in this while loop MAIN: 2026-09-07 10:31:06,514 - INFO - /home/pi/Desktop/images/07092026/10/30/image_07092026_10_31_05_59825.jpg MAIN: 2026-09-07 10:31:06,514 - INFO - duration: 0.959805434998998 MAIN: 2026-09-07 10:31:06,515 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/31' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:32:05,598 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:32:05,879 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:32:06,557 - INFO - taking picture MAIN: 2026-09-07 10:32:06,557 - INFO - we take 242 photos in this while loop MAIN: 2026-09-07 10:32:06,557 - INFO - /home/pi/Desktop/images/07092026/10/31/image_07092026_10_32_05_60056.jpg MAIN: 2026-09-07 10:32:06,557 - INFO - duration: 0.9459667729970533 MAIN: 2026-09-07 10:32:06,557 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/32' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:33:05,521 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:33:05,972 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:33:06,654 - INFO - taking picture MAIN: 2026-09-07 10:33:06,654 - INFO - we take 243 photos in this while loop MAIN: 2026-09-07 10:33:06,654 - INFO - /home/pi/Desktop/images/07092026/10/32/image_07092026_10_33_05_60137.jpg MAIN: 2026-09-07 10:33:06,654 - INFO - duration: 0.9053126680009882 MAIN: 2026-09-07 10:33:06,655 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/33' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:34:05,013 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:34:05,695 - INFO - taking picture MAIN: 2026-09-07 10:34:05,695 - INFO - we take 244 photos in this while loop MAIN: 2026-09-07 10:34:05,695 - INFO - /home/pi/Desktop/images/07092026/10/33/image_07092026_10_34_05_59003.jpg MAIN: 2026-09-07 10:34:05,695 - INFO - duration: 0.9429890059982426 MAIN: 2026-09-07 10:34:05,695 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/34' MAIN: 2026-09-07 10:34:05,923 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:35:04,907 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:35:04,950 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:35:05,602 - INFO - taking picture MAIN: 2026-09-07 10:35:05,602 - INFO - we take 245 photos in this while loop MAIN: 2026-09-07 10:35:05,602 - INFO - /home/pi/Desktop/images/07092026/10/34/image_07092026_10_35_04_59913.jpg MAIN: 2026-09-07 10:35:05,603 - INFO - duration: 0.9371475070001907 MAIN: 2026-09-07 10:35:05,603 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/35' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:36:04,883 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:36:05,358 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:36:05,612 - INFO - taking picture MAIN: 2026-09-07 10:36:05,613 - INFO - we take 246 photos in this while loop MAIN: 2026-09-07 10:36:05,613 - INFO - /home/pi/Desktop/images/07092026/10/35/image_07092026_10_36_04_59931.jpg MAIN: 2026-09-07 10:36:05,613 - INFO - duration: 1.0159809329998097 MAIN: 2026-09-07 10:36:05,613 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/36' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:37:05,087 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:37:05,366 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:37:06,047 - INFO - taking picture MAIN: 2026-09-07 10:37:06,047 - INFO - we take 247 photos in this while loop MAIN: 2026-09-07 10:37:06,047 - INFO - /home/pi/Desktop/images/07092026/10/36/image_07092026_10_37_05_60523.jpg MAIN: 2026-09-07 10:37:06,047 - INFO - duration: 0.9267010289986501 MAIN: 2026-09-07 10:37:06,048 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/37' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:38:05,480 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:38:05,495 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:38:06,253 - INFO - taking picture MAIN: 2026-09-07 10:38:06,254 - INFO - we take 248 photos in this while loop MAIN: 2026-09-07 10:38:06,254 - INFO - /home/pi/Desktop/images/07092026/10/37/image_07092026_10_38_05_60100.jpg MAIN: 2026-09-07 10:38:06,254 - INFO - duration: 1.0332484610007668 MAIN: 2026-09-07 10:38:06,254 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/38' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:39:05,078 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:39:05,574 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:39:05,817 - INFO - taking picture MAIN: 2026-09-07 10:39:05,817 - INFO - we take 249 photos in this while loop MAIN: 2026-09-07 10:39:05,817 - INFO - /home/pi/Desktop/images/07092026/10/38/image_07092026_10_39_05_59592.jpg MAIN: 2026-09-07 10:39:05,818 - INFO - duration: 1.0044195269983902 MAIN: 2026-09-07 10:39:05,818 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/39' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:40:05,496 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:40:05,557 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:40:06,237 - INFO - taking picture MAIN: 2026-09-07 10:40:06,237 - INFO - we take 250 photos in this while loop MAIN: 2026-09-07 10:40:06,237 - INFO - /home/pi/Desktop/images/07092026/10/39/image_07092026_10_40_05_60508.jpg MAIN: 2026-09-07 10:40:06,237 - INFO - duration: 0.9154230239983008 MAIN: 2026-09-07 10:40:06,238 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/40' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:41:05,037 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:41:05,707 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:41:06,420 - INFO - taking picture MAIN: 2026-09-07 10:41:06,420 - INFO - we take 251 photos in this while loop MAIN: 2026-09-07 10:41:06,420 - INFO - /home/pi/Desktop/images/07092026/10/40/image_07092026_10_41_05_60148.jpg MAIN: 2026-09-07 10:41:06,420 - INFO - duration: 0.950048747999972 MAIN: 2026-09-07 10:41:06,421 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/41' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:42:05,502 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:42:05,856 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:42:06,533 - INFO - taking picture MAIN: 2026-09-07 10:42:06,533 - INFO - we take 252 photos in this while loop MAIN: 2026-09-07 10:42:06,533 - INFO - /home/pi/Desktop/images/07092026/10/41/image_07092026_10_42_05_60163.jpg MAIN: 2026-09-07 10:42:06,533 - INFO - duration: 0.8998274539990234 MAIN: 2026-09-07 10:42:06,534 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/42' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:43:05,089 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:43:05,764 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:43:06,483 - INFO - taking picture MAIN: 2026-09-07 10:43:06,484 - INFO - we take 253 photos in this while loop MAIN: 2026-09-07 10:43:06,484 - INFO - /home/pi/Desktop/images/07092026/10/42/image_07092026_10_43_05_59900.jpg MAIN: 2026-09-07 10:43:06,484 - INFO - duration: 0.9503314899993711 MAIN: 2026-09-07 10:43:06,484 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/43' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:44:05,687 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:44:05,725 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:44:06,448 - INFO - taking picture MAIN: 2026-09-07 10:44:06,449 - INFO - we take 254 photos in this while loop MAIN: 2026-09-07 10:44:06,449 - INFO - /home/pi/Desktop/images/07092026/10/43/image_07092026_10_44_05_59869.jpg MAIN: 2026-09-07 10:44:06,449 - INFO - duration: 1.0460614940020605 MAIN: 2026-09-07 10:44:06,449 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/44' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:45:05,684 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:45:05,726 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:45:06,409 - INFO - taking picture MAIN: 2026-09-07 10:45:06,410 - INFO - we take 255 photos in this while loop MAIN: 2026-09-07 10:45:06,410 - INFO - /home/pi/Desktop/images/07092026/10/44/image_07092026_10_45_05_60083.jpg MAIN: 2026-09-07 10:45:06,410 - INFO - duration: 0.9235013100005744 MAIN: 2026-09-07 10:45:06,410 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/45' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:46:04,950 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:46:05,621 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:46:06,309 - INFO - taking picture MAIN: 2026-09-07 10:46:06,309 - INFO - we take 256 photos in this while loop MAIN: 2026-09-07 10:46:06,310 - INFO - /home/pi/Desktop/images/07092026/10/45/image_07092026_10_46_05_59912.jpg MAIN: 2026-09-07 10:46:06,310 - INFO - duration: 0.91077619600037 MAIN: 2026-09-07 10:46:06,310 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/46' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:47:05,022 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:47:05,378 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:47:06,059 - INFO - taking picture MAIN: 2026-09-07 10:47:06,059 - INFO - we take 257 photos in this while loop MAIN: 2026-09-07 10:47:06,059 - INFO - /home/pi/Desktop/images/07092026/10/46/image_07092026_10_47_05_59711.jpg MAIN: 2026-09-07 10:47:06,059 - INFO - duration: 0.9484411120029108 MAIN: 2026-09-07 10:47:06,059 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/47' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:48:05,025 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:48:05,438 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:48:06,116 - INFO - taking picture MAIN: 2026-09-07 10:48:06,116 - INFO - we take 258 photos in this while loop MAIN: 2026-09-07 10:48:06,117 - INFO - /home/pi/Desktop/images/07092026/10/47/image_07092026_10_48_05_60081.jpg MAIN: 2026-09-07 10:48:06,117 - INFO - duration: 0.9241894730002969 MAIN: 2026-09-07 10:48:06,117 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/48' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:49:05,146 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:49:05,320 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:49:05,837 - INFO - taking picture MAIN: 2026-09-07 10:49:05,837 - INFO - we take 259 photos in this while loop MAIN: 2026-09-07 10:49:05,837 - INFO - /home/pi/Desktop/images/07092026/10/48/image_07092026_10_49_05_59678.jpg MAIN: 2026-09-07 10:49:05,837 - INFO - duration: 0.9663660180012812 MAIN: 2026-09-07 10:49:05,838 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/49' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:50:05,308 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:50:05,778 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:50:06,062 - INFO - taking picture MAIN: 2026-09-07 10:50:06,062 - INFO - we take 260 photos in this while loop MAIN: 2026-09-07 10:50:06,062 - INFO - /home/pi/Desktop/images/07092026/10/49/image_07092026_10_50_05_60188.jpg MAIN: 2026-09-07 10:50:06,062 - INFO - duration: 1.0022297889991023 MAIN: 2026-09-07 10:50:06,062 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/50' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:51:05,368 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:51:05,402 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:51:06,057 - INFO - taking picture MAIN: 2026-09-07 10:51:06,057 - INFO - we take 261 photos in this while loop MAIN: 2026-09-07 10:51:06,057 - INFO - /home/pi/Desktop/images/07092026/10/50/image_07092026_10_51_05_60035.jpg MAIN: 2026-09-07 10:51:06,057 - INFO - duration: 0.9623966979997931 MAIN: 2026-09-07 10:51:06,058 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/51' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:52:05,441 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:52:05,769 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:52:06,128 - INFO - taking picture MAIN: 2026-09-07 10:52:06,128 - INFO - we take 262 photos in this while loop MAIN: 2026-09-07 10:52:06,128 - INFO - /home/pi/Desktop/images/07092026/10/51/image_07092026_10_52_05_60066.jpg MAIN: 2026-09-07 10:52:06,128 - INFO - duration: 0.9665744640005869 MAIN: 2026-09-07 10:52:06,128 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/52' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:53:04,788 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:53:05,364 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:53:06,083 - INFO - taking picture MAIN: 2026-09-07 10:53:06,083 - INFO - we take 263 photos in this while loop MAIN: 2026-09-07 10:53:06,083 - INFO - /home/pi/Desktop/images/07092026/10/52/image_07092026_10_53_05_59970.jpg MAIN: 2026-09-07 10:53:06,083 - INFO - duration: 0.9509271159986383 MAIN: 2026-09-07 10:53:06,084 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/53' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:54:05,047 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:54:05,670 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:54:06,390 - INFO - taking picture MAIN: 2026-09-07 10:54:06,390 - INFO - we take 264 photos in this while loop MAIN: 2026-09-07 10:54:06,390 - INFO - /home/pi/Desktop/images/07092026/10/53/image_07092026_10_54_05_60316.jpg MAIN: 2026-09-07 10:54:06,391 - INFO - duration: 0.9420665289981116 MAIN: 2026-09-07 10:54:06,391 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/54' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:55:05,397 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:55:05,665 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:55:06,388 - INFO - taking picture MAIN: 2026-09-07 10:55:06,388 - INFO - we take 265 photos in this while loop MAIN: 2026-09-07 10:55:06,388 - INFO - /home/pi/Desktop/images/07092026/10/54/image_07092026_10_55_05_59991.jpg MAIN: 2026-09-07 10:55:06,388 - INFO - duration: 0.9477863440006331 MAIN: 2026-09-07 10:55:06,388 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/55' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:56:05,488 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:56:05,817 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:56:06,570 - INFO - taking picture MAIN: 2026-09-07 10:56:06,571 - INFO - we take 266 photos in this while loop MAIN: 2026-09-07 10:56:06,571 - INFO - /home/pi/Desktop/images/07092026/10/55/image_07092026_10_56_05_60109.jpg MAIN: 2026-09-07 10:56:06,571 - INFO - duration: 1.0211850790001336 MAIN: 2026-09-07 10:56:06,571 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/56' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:57:05,354 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:57:05,806 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:57:06,485 - INFO - taking picture MAIN: 2026-09-07 10:57:06,485 - INFO - we take 267 photos in this while loop MAIN: 2026-09-07 10:57:06,485 - INFO - /home/pi/Desktop/images/07092026/10/56/image_07092026_10_57_05_60035.jpg MAIN: 2026-09-07 10:57:06,485 - INFO - duration: 0.8999897799985774 MAIN: 2026-09-07 10:57:06,486 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/57' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:58:04,910 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:58:05,804 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:58:06,482 - INFO - taking picture MAIN: 2026-09-07 10:58:06,482 - INFO - we take 268 photos in this while loop MAIN: 2026-09-07 10:58:06,482 - INFO - /home/pi/Desktop/images/07092026/10/57/image_07092026_10_58_05_59936.jpg MAIN: 2026-09-07 10:58:06,482 - INFO - duration: 0.9608246259995212 MAIN: 2026-09-07 10:58:06,483 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/58' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 10:59:04,839 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 10:59:05,716 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 10:59:06,395 - INFO - taking picture MAIN: 2026-09-07 10:59:06,395 - INFO - we take 269 photos in this while loop MAIN: 2026-09-07 10:59:06,396 - INFO - /home/pi/Desktop/images/07092026/10/58/image_07092026_10_59_05_59917.jpg MAIN: 2026-09-07 10:59:06,396 - INFO - duration: 0.9571052419996704 MAIN: 2026-09-07 10:59:06,396 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/10/59' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:00:05,833 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:00:06,335 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:00:06,527 - INFO - taking picture MAIN: 2026-09-07 11:00:06,528 - INFO - we take 270 photos in this while loop MAIN: 2026-09-07 11:00:06,528 - INFO - /home/pi/Desktop/images/07092026/10/59/image_07092026_11_00_05_60159.jpg MAIN: 2026-09-07 11:00:06,528 - INFO - duration: 0.9302647469994554 MAIN: 2026-09-07 11:00:06,528 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/00' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:01:04,698 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:01:05,959 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:01:06,637 - INFO - taking picture MAIN: 2026-09-07 11:01:06,637 - INFO - we take 271 photos in this while loop MAIN: 2026-09-07 11:01:06,637 - INFO - /home/pi/Desktop/images/07092026/11/00/image_07092026_11_01_05_60087.jpg MAIN: 2026-09-07 11:01:06,638 - INFO - duration: 0.9525263180003094 MAIN: 2026-09-07 11:01:06,638 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/01' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:02:05,046 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:02:05,934 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:02:06,611 - INFO - taking picture MAIN: 2026-09-07 11:02:06,612 - INFO - we take 272 photos in this while loop MAIN: 2026-09-07 11:02:06,612 - INFO - /home/pi/Desktop/images/07092026/11/01/image_07092026_11_02_05_59980.jpg MAIN: 2026-09-07 11:02:06,612 - INFO - duration: 0.9459969580020697 MAIN: 2026-09-07 11:02:06,612 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/02' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:03:04,867 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:03:05,810 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:03:06,562 - INFO - taking picture MAIN: 2026-09-07 11:03:06,563 - INFO - we take 273 photos in this while loop MAIN: 2026-09-07 11:03:06,563 - INFO - /home/pi/Desktop/images/07092026/11/02/image_07092026_11_03_05_59889.jpg MAIN: 2026-09-07 11:03:06,563 - INFO - duration: 1.0072927920009533 MAIN: 2026-09-07 11:03:06,563 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/03' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:04:05,282 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:04:05,939 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:04:06,622 - INFO - taking picture MAIN: 2026-09-07 11:04:06,622 - INFO - we take 274 photos in this while loop MAIN: 2026-09-07 11:04:06,622 - INFO - /home/pi/Desktop/images/07092026/11/03/image_07092026_11_04_05_60148.jpg MAIN: 2026-09-07 11:04:06,622 - INFO - duration: 0.9179262620018562 MAIN: 2026-09-07 11:04:06,623 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/04' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:05:04,813 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:05:05,525 - INFO - taking picture MAIN: 2026-09-07 11:05:05,525 - INFO - we take 275 photos in this while loop MAIN: 2026-09-07 11:05:05,525 - INFO - /home/pi/Desktop/images/07092026/11/04/image_07092026_11_05_04_58859.jpg MAIN: 2026-09-07 11:05:05,525 - INFO - duration: 0.961584620999929 MAIN: 2026-09-07 11:05:05,526 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/05' MAIN: 2026-09-07 11:05:05,546 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:06:04,907 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:06:05,588 - INFO - taking picture MAIN: 2026-09-07 11:06:05,589 - INFO - we take 276 photos in this while loop MAIN: 2026-09-07 11:06:05,589 - INFO - /home/pi/Desktop/images/07092026/11/05/image_07092026_11_06_04_60066.jpg MAIN: 2026-09-07 11:06:05,589 - INFO - duration: 0.9590234450006392 MAIN: 2026-09-07 11:06:05,589 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/06' MAIN: 2026-09-07 11:06:05,775 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:07:04,824 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:07:05,544 - INFO - taking picture MAIN: 2026-09-07 11:07:05,545 - INFO - we take 277 photos in this while loop MAIN: 2026-09-07 11:07:05,545 - INFO - /home/pi/Desktop/images/07092026/11/06/image_07092026_11_07_04_59969.jpg MAIN: 2026-09-07 11:07:05,545 - INFO - duration: 0.9457231000014872 MAIN: 2026-09-07 11:07:05,545 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/07' MAIN: 2026-09-07 11:07:05,750 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:08:05,006 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:08:06,005 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:08:06,758 - INFO - taking picture MAIN: 2026-09-07 11:08:06,758 - INFO - we take 278 photos in this while loop MAIN: 2026-09-07 11:08:06,759 - INFO - /home/pi/Desktop/images/07092026/11/07/image_07092026_11_08_06_61108.jpg MAIN: 2026-09-07 11:08:06,759 - INFO - duration: 1.0505262590013444 MAIN: 2026-09-07 11:08:06,759 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/08' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:09:04,924 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:09:06,028 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:09:06,707 - INFO - taking picture MAIN: 2026-09-07 11:09:06,707 - INFO - we take 279 photos in this while loop MAIN: 2026-09-07 11:09:06,707 - INFO - /home/pi/Desktop/images/07092026/11/08/image_07092026_11_09_06_60046.jpg MAIN: 2026-09-07 11:09:06,707 - INFO - duration: 0.9523614119971171 MAIN: 2026-09-07 11:09:06,708 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/09' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:10:05,827 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:10:05,901 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:10:06,611 - INFO - taking picture MAIN: 2026-09-07 11:10:06,611 - INFO - we take 280 photos in this while loop MAIN: 2026-09-07 11:10:06,611 - INFO - /home/pi/Desktop/images/07092026/11/09/image_07092026_11_10_05_59903.jpg MAIN: 2026-09-07 11:10:06,611 - INFO - duration: 0.9529410070026643 MAIN: 2026-09-07 11:10:06,612 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/10' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:11:05,302 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:11:05,717 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:11:06,395 - INFO - taking picture MAIN: 2026-09-07 11:11:06,395 - INFO - we take 281 photos in this while loop MAIN: 2026-09-07 11:11:06,396 - INFO - /home/pi/Desktop/images/07092026/11/10/image_07092026_11_11_05_59827.jpg MAIN: 2026-09-07 11:11:06,396 - INFO - duration: 0.9103459710022435 MAIN: 2026-09-07 11:11:06,396 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/11' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:12:05,588 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:12:05,677 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:12:06,328 - INFO - taking picture MAIN: 2026-09-07 11:12:06,328 - INFO - we take 282 photos in this while loop MAIN: 2026-09-07 11:12:06,328 - INFO - /home/pi/Desktop/images/07092026/11/11/image_07092026_11_12_05_59819.jpg MAIN: 2026-09-07 11:12:06,328 - INFO - duration: 1.0232129770010943 MAIN: 2026-09-07 11:12:06,329 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/12' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:13:04,735 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:13:05,490 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:13:06,168 - INFO - taking picture MAIN: 2026-09-07 11:13:06,169 - INFO - we take 283 photos in this while loop MAIN: 2026-09-07 11:13:06,169 - INFO - /home/pi/Desktop/images/07092026/11/12/image_07092026_11_13_05_59931.jpg MAIN: 2026-09-07 11:13:06,169 - INFO - duration: 0.9322433699999237 MAIN: 2026-09-07 11:13:06,169 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/13' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:14:05,178 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:14:05,443 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:14:06,120 - INFO - taking picture MAIN: 2026-09-07 11:14:06,120 - INFO - we take 284 photos in this while loop MAIN: 2026-09-07 11:14:06,121 - INFO - /home/pi/Desktop/images/07092026/11/13/image_07092026_11_14_05_59951.jpg MAIN: 2026-09-07 11:14:06,121 - INFO - duration: 0.9328666450019227 MAIN: 2026-09-07 11:14:06,121 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/14' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:15:05,200 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:15:05,255 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:15:06,016 - INFO - taking picture MAIN: 2026-09-07 11:15:06,017 - INFO - we take 285 photos in this while loop MAIN: 2026-09-07 11:15:06,017 - INFO - /home/pi/Desktop/images/07092026/11/14/image_07092026_11_15_05_59804.jpg MAIN: 2026-09-07 11:15:06,017 - INFO - duration: 1.0246402379998472 MAIN: 2026-09-07 11:15:06,017 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/15' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:16:05,198 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:16:05,339 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:16:05,967 - INFO - taking picture MAIN: 2026-09-07 11:16:05,967 - INFO - we take 286 photos in this while loop MAIN: 2026-09-07 11:16:05,967 - INFO - /home/pi/Desktop/images/07092026/11/15/image_07092026_11_16_05_59928.jpg MAIN: 2026-09-07 11:16:05,967 - INFO - duration: 1.04659642399929 MAIN: 2026-09-07 11:16:05,968 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/16' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:17:05,152 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:17:05,394 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:17:05,924 - INFO - taking picture MAIN: 2026-09-07 11:17:05,924 - INFO - we take 287 photos in this while loop MAIN: 2026-09-07 11:17:05,924 - INFO - /home/pi/Desktop/images/07092026/11/16/image_07092026_11_17_05_59976.jpg MAIN: 2026-09-07 11:17:05,924 - INFO - duration: 1.0271629759990901 MAIN: 2026-09-07 11:17:05,925 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/17' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:18:04,684 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:18:05,289 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:18:06,085 - INFO - taking picture MAIN: 2026-09-07 11:18:06,086 - INFO - we take 288 photos in this while loop MAIN: 2026-09-07 11:18:06,086 - INFO - /home/pi/Desktop/images/07092026/11/17/image_07092026_11_18_05_60168.jpg MAIN: 2026-09-07 11:18:06,086 - INFO - duration: 1.0207093349999923 MAIN: 2026-09-07 11:18:06,086 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/18' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:19:04,938 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:19:05,285 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:19:05,965 - INFO - taking picture MAIN: 2026-09-07 11:19:05,965 - INFO - we take 289 photos in this while loop MAIN: 2026-09-07 11:19:05,965 - INFO - /home/pi/Desktop/images/07092026/11/18/image_07092026_11_19_05_59996.jpg MAIN: 2026-09-07 11:19:05,965 - INFO - duration: 0.9034956459981913 MAIN: 2026-09-07 11:19:05,965 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/19' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:20:05,343 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:20:05,512 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:20:06,105 - INFO - taking picture MAIN: 2026-09-07 11:20:06,106 - INFO - we take 290 photos in this while loop MAIN: 2026-09-07 11:20:06,106 - INFO - /home/pi/Desktop/images/07092026/11/19/image_07092026_11_20_05_60048.jpg MAIN: 2026-09-07 11:20:06,106 - INFO - duration: 0.9957492510002339 MAIN: 2026-09-07 11:20:06,106 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/20' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:21:05,069 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:21:05,285 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:21:05,964 - INFO - taking picture MAIN: 2026-09-07 11:21:05,964 - INFO - we take 291 photos in this while loop MAIN: 2026-09-07 11:21:05,964 - INFO - /home/pi/Desktop/images/07092026/11/20/image_07092026_11_21_05_59896.jpg MAIN: 2026-09-07 11:21:05,964 - INFO - duration: 0.9575639499998942 MAIN: 2026-09-07 11:21:05,965 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/21' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:22:05,253 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:22:05,756 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:22:05,948 - INFO - taking picture MAIN: 2026-09-07 11:22:05,949 - INFO - we take 292 photos in this while loop MAIN: 2026-09-07 11:22:05,949 - INFO - /home/pi/Desktop/images/07092026/11/21/image_07092026_11_22_05_59982.jpg MAIN: 2026-09-07 11:22:05,949 - INFO - duration: 0.9597854080020625 MAIN: 2026-09-07 11:22:05,949 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/22' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:23:05,297 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:23:05,428 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:23:06,110 - INFO - taking picture MAIN: 2026-09-07 11:23:06,110 - INFO - we take 293 photos in this while loop MAIN: 2026-09-07 11:23:06,110 - INFO - /home/pi/Desktop/images/07092026/11/22/image_07092026_11_23_05_60138.jpg MAIN: 2026-09-07 11:23:06,111 - INFO - duration: 0.9832031109981472 MAIN: 2026-09-07 11:23:06,111 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/23' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:24:04,892 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:24:05,517 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:24:06,277 - INFO - taking picture MAIN: 2026-09-07 11:24:06,277 - INFO - we take 294 photos in this while loop MAIN: 2026-09-07 11:24:06,277 - INFO - /home/pi/Desktop/images/07092026/11/23/image_07092026_11_24_05_60145.jpg MAIN: 2026-09-07 11:24:06,277 - INFO - duration: 1.0047086160011531 MAIN: 2026-09-07 11:24:06,278 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/24' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:25:04,907 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:25:05,645 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:25:06,407 - INFO - taking picture MAIN: 2026-09-07 11:25:06,408 - INFO - we take 295 photos in this while loop MAIN: 2026-09-07 11:25:06,408 - INFO - /home/pi/Desktop/images/07092026/11/24/image_07092026_11_25_05_60077.jpg MAIN: 2026-09-07 11:25:06,408 - INFO - duration: 1.0574790430000576 MAIN: 2026-09-07 11:25:06,408 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/25' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:26:05,394 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:26:05,853 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:26:06,610 - INFO - taking picture MAIN: 2026-09-07 11:26:06,610 - INFO - we take 296 photos in this while loop MAIN: 2026-09-07 11:26:06,610 - INFO - /home/pi/Desktop/images/07092026/11/25/image_07092026_11_26_05_60283.jpg MAIN: 2026-09-07 11:26:06,610 - INFO - duration: 0.9765017150020867 MAIN: 2026-09-07 11:26:06,611 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/26' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:27:05,213 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:27:05,752 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:27:06,519 - INFO - taking picture MAIN: 2026-09-07 11:27:06,519 - INFO - we take 297 photos in this while loop MAIN: 2026-09-07 11:27:06,519 - INFO - /home/pi/Desktop/images/07092026/11/26/image_07092026_11_27_05_59896.jpg MAIN: 2026-09-07 11:27:06,520 - INFO - duration: 0.9890333440016548 MAIN: 2026-09-07 11:27:06,520 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/27' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:28:05,714 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:28:05,780 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:28:06,488 - INFO - taking picture MAIN: 2026-09-07 11:28:06,488 - INFO - we take 298 photos in this while loop MAIN: 2026-09-07 11:28:06,489 - INFO - /home/pi/Desktop/images/07092026/11/27/image_07092026_11_28_05_59963.jpg MAIN: 2026-09-07 11:28:06,489 - INFO - duration: 0.9951554390027013 MAIN: 2026-09-07 11:28:06,489 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/28' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:29:04,606 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:29:05,650 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:29:06,331 - INFO - taking picture MAIN: 2026-09-07 11:29:06,331 - INFO - we take 299 photos in this while loop MAIN: 2026-09-07 11:29:06,332 - INFO - /home/pi/Desktop/images/07092026/11/28/image_07092026_11_29_05_59878.jpg MAIN: 2026-09-07 11:29:06,332 - INFO - duration: 0.9599121380015276 MAIN: 2026-09-07 11:29:06,332 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/29' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:30:05,791 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:30:05,889 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:30:06,644 - INFO - taking picture MAIN: 2026-09-07 11:30:06,644 - INFO - we take 300 photos in this while loop MAIN: 2026-09-07 11:30:06,645 - INFO - /home/pi/Desktop/images/07092026/11/29/image_07092026_11_30_05_60255.jpg MAIN: 2026-09-07 11:30:06,645 - INFO - duration: 1.0178830210024898 MAIN: 2026-09-07 11:30:06,645 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/30' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:31:04,814 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:31:05,301 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:31:05,501 - INFO - taking picture MAIN: 2026-09-07 11:31:05,501 - INFO - we take 301 photos in this while loop MAIN: 2026-09-07 11:31:05,501 - INFO - /home/pi/Desktop/images/07092026/11/30/image_07092026_11_31_04_58909.jpg MAIN: 2026-09-07 11:31:05,501 - INFO - duration: 0.9651290769979823 MAIN: 2026-09-07 11:31:05,502 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/31' MAIN: 2026-09-07 11:32:04,773 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:32:05,487 - INFO - taking picture MAIN: 2026-09-07 11:32:05,487 - INFO - we take 302 photos in this while loop MAIN: 2026-09-07 11:32:05,487 - INFO - /home/pi/Desktop/images/07092026/11/31/image_07092026_11_32_04_60004.jpg MAIN: 2026-09-07 11:32:05,488 - INFO - duration: 0.9471771249991434 MAIN: 2026-09-07 11:32:05,488 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/32' MAIN: 2026-09-07 11:32:05,875 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:33:04,696 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:33:05,979 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:33:06,666 - INFO - taking picture MAIN: 2026-09-07 11:33:06,666 - INFO - we take 303 photos in this while loop MAIN: 2026-09-07 11:33:06,666 - INFO - /home/pi/Desktop/images/07092026/11/32/image_07092026_11_33_05_61165.jpg MAIN: 2026-09-07 11:33:06,667 - INFO - duration: 0.9610544600000139 MAIN: 2026-09-07 11:33:06,667 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/33' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:34:05,185 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:34:05,897 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:34:06,608 - INFO - taking picture MAIN: 2026-09-07 11:34:06,609 - INFO - we take 304 photos in this while loop MAIN: 2026-09-07 11:34:06,609 - INFO - /home/pi/Desktop/images/07092026/11/33/image_07092026_11_34_05_59955.jpg MAIN: 2026-09-07 11:34:06,609 - INFO - duration: 0.9478514529982931 MAIN: 2026-09-07 11:34:06,609 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/34' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:35:04,770 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:35:05,493 - INFO - taking picture MAIN: 2026-09-07 11:35:05,493 - INFO - we take 305 photos in this while loop MAIN: 2026-09-07 11:35:05,493 - INFO - /home/pi/Desktop/images/07092026/11/34/image_07092026_11_35_04_58864.jpg MAIN: 2026-09-07 11:35:05,493 - INFO - duration: 0.9674498849999509 MAIN: 2026-09-07 11:35:05,494 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/35' MAIN: 2026-09-07 11:35:05,621 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:36:04,964 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:36:05,632 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:36:05,674 - INFO - taking picture MAIN: 2026-09-07 11:36:05,674 - INFO - we take 306 photos in this while loop MAIN: 2026-09-07 11:36:05,674 - INFO - /home/pi/Desktop/images/07092026/11/35/image_07092026_11_36_04_60153.jpg MAIN: 2026-09-07 11:36:05,674 - INFO - duration: 0.9953632010001456 MAIN: 2026-09-07 11:36:05,675 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/36' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:37:05,228 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:37:05,671 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:37:05,958 - INFO - taking picture MAIN: 2026-09-07 11:37:05,959 - INFO - we take 307 photos in this while loop MAIN: 2026-09-07 11:37:05,959 - INFO - /home/pi/Desktop/images/07092026/11/36/image_07092026_11_37_05_60326.jpg MAIN: 2026-09-07 11:37:05,959 - INFO - duration: 0.9536934019997716 MAIN: 2026-09-07 11:37:05,959 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/37' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:38:04,835 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:38:05,275 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:38:05,952 - INFO - taking picture MAIN: 2026-09-07 11:38:05,952 - INFO - we take 308 photos in this while loop MAIN: 2026-09-07 11:38:05,952 - INFO - /home/pi/Desktop/images/07092026/11/37/image_07092026_11_38_05_60035.jpg MAIN: 2026-09-07 11:38:05,953 - INFO - duration: 0.9119269749971863 MAIN: 2026-09-07 11:38:05,953 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/38' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:39:04,784 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:39:05,305 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:39:06,017 - INFO - taking picture MAIN: 2026-09-07 11:39:06,017 - INFO - we take 309 photos in this while loop MAIN: 2026-09-07 11:39:06,017 - INFO - /home/pi/Desktop/images/07092026/11/38/image_07092026_11_39_05_60043.jpg MAIN: 2026-09-07 11:39:06,017 - INFO - duration: 0.933652252999309 MAIN: 2026-09-07 11:39:06,018 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/39' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:40:05,332 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:40:05,483 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:40:06,065 - INFO - taking picture MAIN: 2026-09-07 11:40:06,066 - INFO - we take 310 photos in this while loop MAIN: 2026-09-07 11:40:06,066 - INFO - /home/pi/Desktop/images/07092026/11/39/image_07092026_11_40_05_60011.jpg MAIN: 2026-09-07 11:40:06,066 - INFO - duration: 0.9703574640006991 MAIN: 2026-09-07 11:40:06,066 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/40' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:41:05,204 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:41:05,212 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:41:05,899 - INFO - taking picture MAIN: 2026-09-07 11:41:05,899 - INFO - we take 311 photos in this while loop MAIN: 2026-09-07 11:41:05,899 - INFO - /home/pi/Desktop/images/07092026/11/40/image_07092026_11_41_05_59854.jpg MAIN: 2026-09-07 11:41:05,899 - INFO - duration: 0.9495049159995688 MAIN: 2026-09-07 11:41:05,899 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/41' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:42:05,231 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:42:05,684 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:42:05,920 - INFO - taking picture MAIN: 2026-09-07 11:42:05,920 - INFO - we take 312 photos in this while loop MAIN: 2026-09-07 11:42:05,920 - INFO - /home/pi/Desktop/images/07092026/11/41/image_07092026_11_42_05_59995.jpg MAIN: 2026-09-07 11:42:05,920 - INFO - duration: 0.9746637829994143 MAIN: 2026-09-07 11:42:05,920 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/42' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:43:05,154 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:43:05,833 - INFO - taking picture MAIN: 2026-09-07 11:43:05,833 - INFO - we take 313 photos in this while loop MAIN: 2026-09-07 11:43:05,833 - INFO - /home/pi/Desktop/images/07092026/11/42/image_07092026_11_43_05_59924.jpg MAIN: 2026-09-07 11:43:05,833 - INFO - duration: 0.9633069930023339 MAIN: 2026-09-07 11:43:05,834 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/43' MAIN: 2026-09-07 11:43:05,837 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:44:04,717 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:44:05,183 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:44:05,860 - INFO - taking picture MAIN: 2026-09-07 11:44:05,860 - INFO - we take 314 photos in this while loop MAIN: 2026-09-07 11:44:05,860 - INFO - /home/pi/Desktop/images/07092026/11/43/image_07092026_11_44_05_60092.jpg MAIN: 2026-09-07 11:44:05,860 - INFO - duration: 0.8978419960003521 MAIN: 2026-09-07 11:44:05,861 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/44' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:45:04,973 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:45:05,524 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:45:05,660 - INFO - taking picture MAIN: 2026-09-07 11:45:05,661 - INFO - we take 315 photos in this while loop MAIN: 2026-09-07 11:45:05,661 - INFO - /home/pi/Desktop/images/07092026/11/44/image_07092026_11_45_04_59787.jpg MAIN: 2026-09-07 11:45:05,661 - INFO - duration: 0.9114842589988257 MAIN: 2026-09-07 11:45:05,661 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/45' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:46:04,881 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:46:05,357 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:46:05,568 - INFO - taking picture MAIN: 2026-09-07 11:46:05,568 - INFO - we take 316 photos in this while loop MAIN: 2026-09-07 11:46:05,568 - INFO - /home/pi/Desktop/images/07092026/11/45/image_07092026_11_46_04_59853.jpg MAIN: 2026-09-07 11:46:05,569 - INFO - duration: 0.9659800359986548 MAIN: 2026-09-07 11:46:05,569 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/46' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:47:05,116 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:47:05,793 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:47:06,510 - INFO - taking picture MAIN: 2026-09-07 11:47:06,510 - INFO - we take 317 photos in this while loop MAIN: 2026-09-07 11:47:06,510 - INFO - /home/pi/Desktop/images/07092026/11/46/image_07092026_11_47_05_60968.jpg MAIN: 2026-09-07 11:47:06,510 - INFO - duration: 0.9392057619988918 MAIN: 2026-09-07 11:47:06,511 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/47' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:48:05,648 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:48:05,748 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:48:06,432 - INFO - taking picture MAIN: 2026-09-07 11:48:06,432 - INFO - we take 318 photos in this while loop MAIN: 2026-09-07 11:48:06,432 - INFO - /home/pi/Desktop/images/07092026/11/47/image_07092026_11_48_05_59899.jpg MAIN: 2026-09-07 11:48:06,432 - INFO - duration: 0.9613553129966022 MAIN: 2026-09-07 11:48:06,432 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/48' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:49:04,683 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:49:05,649 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:49:06,330 - INFO - taking picture MAIN: 2026-09-07 11:49:06,330 - INFO - we take 319 photos in this while loop MAIN: 2026-09-07 11:49:06,330 - INFO - /home/pi/Desktop/images/07092026/11/48/image_07092026_11_49_05_59917.jpg MAIN: 2026-09-07 11:49:06,331 - INFO - duration: 0.9421281350005302 MAIN: 2026-09-07 11:49:06,331 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/49' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:50:05,326 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:50:05,675 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:50:06,354 - INFO - taking picture MAIN: 2026-09-07 11:50:06,354 - INFO - we take 320 photos in this while loop MAIN: 2026-09-07 11:50:06,354 - INFO - /home/pi/Desktop/images/07092026/11/49/image_07092026_11_50_05_60035.jpg MAIN: 2026-09-07 11:50:06,354 - INFO - duration: 0.9308328810002422 MAIN: 2026-09-07 11:50:06,355 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/50' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:51:05,383 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:51:05,696 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:51:06,376 - INFO - taking picture MAIN: 2026-09-07 11:51:06,376 - INFO - we take 321 photos in this while loop MAIN: 2026-09-07 11:51:06,376 - INFO - /home/pi/Desktop/images/07092026/11/50/image_07092026_11_51_05_59992.jpg MAIN: 2026-09-07 11:51:06,377 - INFO - duration: 0.9601692350006488 MAIN: 2026-09-07 11:51:06,377 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/51' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:52:05,627 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:52:05,910 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:52:06,605 - INFO - taking picture MAIN: 2026-09-07 11:52:06,606 - INFO - we take 322 photos in this while loop MAIN: 2026-09-07 11:52:06,606 - INFO - /home/pi/Desktop/images/07092026/11/51/image_07092026_11_52_05_60231.jpg MAIN: 2026-09-07 11:52:06,606 - INFO - duration: 0.9580405750020873 MAIN: 2026-09-07 11:52:06,606 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/52' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:53:05,226 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:53:06,068 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:53:06,822 - INFO - taking picture MAIN: 2026-09-07 11:53:06,822 - INFO - we take 323 photos in this while loop MAIN: 2026-09-07 11:53:06,822 - INFO - /home/pi/Desktop/images/07092026/11/52/image_07092026_11_53_06_60116.jpg MAIN: 2026-09-07 11:53:06,823 - INFO - duration: 1.0585266369998863 MAIN: 2026-09-07 11:53:06,823 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/53' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:54:04,994 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:54:05,618 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:54:05,678 - INFO - taking picture MAIN: 2026-09-07 11:54:05,679 - INFO - we take 324 photos in this while loop MAIN: 2026-09-07 11:54:05,679 - INFO - /home/pi/Desktop/images/07092026/11/53/image_07092026_11_54_04_58945.jpg MAIN: 2026-09-07 11:54:05,679 - INFO - duration: 0.9692848119993869 MAIN: 2026-09-07 11:54:05,679 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/54' MAIN: 2026-09-07 11:55:05,152 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:55:05,866 - INFO - taking picture MAIN: 2026-09-07 11:55:05,866 - INFO - we take 325 photos in this while loop MAIN: 2026-09-07 11:55:05,866 - INFO - /home/pi/Desktop/images/07092026/11/54/image_07092026_11_55_05_60193.jpg MAIN: 2026-09-07 11:55:05,866 - INFO - duration: 0.9628299910000351 MAIN: 2026-09-07 11:55:05,866 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/55' MAIN: 2026-09-07 11:55:06,180 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:56:05,066 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:56:05,243 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:56:05,920 - INFO - taking picture MAIN: 2026-09-07 11:56:05,921 - INFO - we take 326 photos in this while loop MAIN: 2026-09-07 11:56:05,921 - INFO - /home/pi/Desktop/images/07092026/11/55/image_07092026_11_56_05_60112.jpg MAIN: 2026-09-07 11:56:05,921 - INFO - duration: 0.9054410579992691 MAIN: 2026-09-07 11:56:05,921 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/56' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:57:05,044 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:57:05,132 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:57:05,733 - INFO - taking picture MAIN: 2026-09-07 11:57:05,734 - INFO - we take 327 photos in this while loop MAIN: 2026-09-07 11:57:05,734 - INFO - /home/pi/Desktop/images/07092026/11/56/image_07092026_11_57_05_59770.jpg MAIN: 2026-09-07 11:57:05,734 - INFO - duration: 0.9479741340001056 MAIN: 2026-09-07 11:57:05,734 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/57' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:58:05,058 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:58:05,129 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:58:05,816 - INFO - taking picture MAIN: 2026-09-07 11:58:05,816 - INFO - we take 328 photos in this while loop MAIN: 2026-09-07 11:58:05,816 - INFO - /home/pi/Desktop/images/07092026/11/57/image_07092026_11_58_05_60002.jpg MAIN: 2026-09-07 11:58:05,816 - INFO - duration: 1.0281163210020168 MAIN: 2026-09-07 11:58:05,817 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/58' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 11:59:04,978 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 11:59:05,233 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 11:59:05,685 - INFO - taking picture MAIN: 2026-09-07 11:59:05,685 - INFO - we take 329 photos in this while loop MAIN: 2026-09-07 11:59:05,685 - INFO - /home/pi/Desktop/images/07092026/11/58/image_07092026_11_59_04_59931.jpg MAIN: 2026-09-07 11:59:05,685 - INFO - duration: 0.9653367680002702 MAIN: 2026-09-07 11:59:05,686 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/11/59' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:00:05,164 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:00:05,882 - INFO - taking picture MAIN: 2026-09-07 12:00:05,882 - INFO - we take 330 photos in this while loop MAIN: 2026-09-07 12:00:05,882 - INFO - /home/pi/Desktop/images/07092026/11/59/image_07092026_12_00_05_60185.jpg MAIN: 2026-09-07 12:00:05,883 - INFO - duration: 0.9767119299976912 MAIN: 2026-09-07 12:00:05,883 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/00' MAIN: 2026-09-07 12:00:05,888 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:01:05,165 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:01:05,630 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:01:05,853 - INFO - taking picture MAIN: 2026-09-07 12:01:05,854 - INFO - we take 331 photos in this while loop MAIN: 2026-09-07 12:01:05,854 - INFO - /home/pi/Desktop/images/07092026/12/00/image_07092026_12_01_05_60003.jpg MAIN: 2026-09-07 12:01:05,854 - INFO - duration: 0.9450810700000147 MAIN: 2026-09-07 12:01:05,854 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/01' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:02:05,167 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:02:05,846 - INFO - taking picture MAIN: 2026-09-07 12:02:05,847 - INFO - we take 332 photos in this while loop MAIN: 2026-09-07 12:02:05,847 - INFO - /home/pi/Desktop/images/07092026/12/01/image_07092026_12_02_05_59979.jpg MAIN: 2026-09-07 12:02:05,847 - INFO - duration: 0.9584447310007818 MAIN: 2026-09-07 12:02:05,847 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/02' MAIN: 2026-09-07 12:02:05,983 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:03:04,880 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:03:04,986 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:03:05,668 - INFO - taking picture MAIN: 2026-09-07 12:03:05,668 - INFO - we take 333 photos in this while loop MAIN: 2026-09-07 12:03:05,668 - INFO - /home/pi/Desktop/images/07092026/12/02/image_07092026_12_03_04_59824.jpg MAIN: 2026-09-07 12:03:05,668 - INFO - duration: 0.9551501499990991 MAIN: 2026-09-07 12:03:05,669 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/03' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:04:04,989 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:04:05,169 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:04:05,733 - INFO - taking picture MAIN: 2026-09-07 12:04:05,733 - INFO - we take 334 photos in this while loop MAIN: 2026-09-07 12:04:05,734 - INFO - /home/pi/Desktop/images/07092026/12/03/image_07092026_12_04_04_60008.jpg MAIN: 2026-09-07 12:04:05,734 - INFO - duration: 1.0117166540003382 MAIN: 2026-09-07 12:04:05,734 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/04' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:05:05,319 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:05:05,431 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:05:06,037 - INFO - taking picture MAIN: 2026-09-07 12:05:06,038 - INFO - we take 335 photos in this while loop MAIN: 2026-09-07 12:05:06,038 - INFO - /home/pi/Desktop/images/07092026/12/04/image_07092026_12_05_05_60374.jpg MAIN: 2026-09-07 12:05:06,038 - INFO - duration: 0.9412565640013781 MAIN: 2026-09-07 12:05:06,038 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/05' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:06:05,341 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:06:05,386 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:06:06,087 - INFO - taking picture MAIN: 2026-09-07 12:06:06,087 - INFO - we take 336 photos in this while loop MAIN: 2026-09-07 12:06:06,087 - INFO - /home/pi/Desktop/images/07092026/12/05/image_07092026_12_06_05_59969.jpg MAIN: 2026-09-07 12:06:06,087 - INFO - duration: 1.0211222940015432 MAIN: 2026-09-07 12:06:06,088 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/06' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:07:05,412 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:07:05,687 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:07:06,365 - INFO - taking picture MAIN: 2026-09-07 12:07:06,366 - INFO - we take 337 photos in this while loop MAIN: 2026-09-07 12:07:06,366 - INFO - /home/pi/Desktop/images/07092026/12/06/image_07092026_12_07_05_60376.jpg MAIN: 2026-09-07 12:07:06,366 - INFO - duration: 0.9233621769999445 MAIN: 2026-09-07 12:07:06,366 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/07' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:08:05,695 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:08:05,906 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:08:06,441 - INFO - taking picture MAIN: 2026-09-07 12:08:06,441 - INFO - we take 338 photos in this while loop MAIN: 2026-09-07 12:08:06,441 - INFO - /home/pi/Desktop/images/07092026/12/07/image_07092026_12_08_05_59972.jpg MAIN: 2026-09-07 12:08:06,441 - INFO - duration: 1.0258376069978112 MAIN: 2026-09-07 12:08:06,442 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/08' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:09:04,704 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:09:05,681 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:09:06,360 - INFO - taking picture MAIN: 2026-09-07 12:09:06,360 - INFO - we take 339 photos in this while loop MAIN: 2026-09-07 12:09:06,360 - INFO - /home/pi/Desktop/images/07092026/12/08/image_07092026_12_09_05_60001.jpg MAIN: 2026-09-07 12:09:06,361 - INFO - duration: 0.9433685139993031 MAIN: 2026-09-07 12:09:06,361 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/09' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:10:05,261 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:10:05,737 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:10:06,420 - INFO - taking picture MAIN: 2026-09-07 12:10:06,420 - INFO - we take 340 photos in this while loop MAIN: 2026-09-07 12:10:06,420 - INFO - /home/pi/Desktop/images/07092026/12/09/image_07092026_12_10_05_60097.jpg MAIN: 2026-09-07 12:10:06,420 - INFO - duration: 0.9053390360022604 MAIN: 2026-09-07 12:10:06,420 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/10' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:11:04,941 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:11:05,559 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:11:06,237 - INFO - taking picture MAIN: 2026-09-07 12:11:06,237 - INFO - we take 341 photos in this while loop MAIN: 2026-09-07 12:11:06,237 - INFO - /home/pi/Desktop/images/07092026/12/10/image_07092026_12_11_05_59821.jpg MAIN: 2026-09-07 12:11:06,237 - INFO - duration: 0.9011733260012988 MAIN: 2026-09-07 12:11:06,238 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/11' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:12:05,297 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:12:05,424 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:12:06,108 - INFO - taking picture MAIN: 2026-09-07 12:12:06,108 - INFO - we take 342 photos in this while loop MAIN: 2026-09-07 12:12:06,108 - INFO - /home/pi/Desktop/images/07092026/12/11/image_07092026_12_12_05_59796.jpg MAIN: 2026-09-07 12:12:06,108 - INFO - duration: 0.975211732002208 MAIN: 2026-09-07 12:12:06,108 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/12' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:13:05,357 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:13:05,476 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:13:06,077 - INFO - taking picture MAIN: 2026-09-07 12:13:06,077 - INFO - we take 343 photos in this while loop MAIN: 2026-09-07 12:13:06,077 - INFO - /home/pi/Desktop/images/07092026/12/12/image_07092026_12_13_05_59948.jpg MAIN: 2026-09-07 12:13:06,077 - INFO - duration: 0.9955153129994869 MAIN: 2026-09-07 12:13:06,077 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/13' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:14:05,330 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:14:05,656 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:14:06,032 - INFO - taking picture MAIN: 2026-09-07 12:14:06,032 - INFO - we take 344 photos in this while loop MAIN: 2026-09-07 12:14:06,032 - INFO - /home/pi/Desktop/images/07092026/12/13/image_07092026_12_14_05_59967.jpg MAIN: 2026-09-07 12:14:06,033 - INFO - duration: 0.983378900000389 MAIN: 2026-09-07 12:14:06,033 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/14' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:15:05,135 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:15:05,566 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:15:06,326 - INFO - taking picture MAIN: 2026-09-07 12:15:06,326 - INFO - we take 345 photos in this while loop MAIN: 2026-09-07 12:15:06,327 - INFO - /home/pi/Desktop/images/07092026/12/14/image_07092026_12_15_05_60226.jpg MAIN: 2026-09-07 12:15:06,327 - INFO - duration: 1.051074234997941 MAIN: 2026-09-07 12:15:06,327 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/15' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:16:04,933 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:16:05,599 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:16:06,276 - INFO - taking picture MAIN: 2026-09-07 12:16:06,276 - INFO - we take 346 photos in this while loop MAIN: 2026-09-07 12:16:06,277 - INFO - /home/pi/Desktop/images/07092026/12/15/image_07092026_12_16_05_60101.jpg MAIN: 2026-09-07 12:16:06,277 - INFO - duration: 0.8991277799977979 MAIN: 2026-09-07 12:16:06,277 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/16' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:17:05,082 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:17:05,646 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:17:06,433 - INFO - taking picture MAIN: 2026-09-07 12:17:06,433 - INFO - we take 347 photos in this while loop MAIN: 2026-09-07 12:17:06,433 - INFO - /home/pi/Desktop/images/07092026/12/16/image_07092026_12_17_05_60040.jpg MAIN: 2026-09-07 12:17:06,433 - INFO - duration: 1.0150544899988745 MAIN: 2026-09-07 12:17:06,434 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/17' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:18:04,834 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:18:05,518 - INFO - taking picture MAIN: 2026-09-07 12:18:05,518 - INFO - we take 348 photos in this while loop MAIN: 2026-09-07 12:18:05,518 - INFO - /home/pi/Desktop/images/07092026/12/17/image_07092026_12_18_04_59137.jpg MAIN: 2026-09-07 12:18:05,518 - INFO - duration: 0.9620212900008482 MAIN: 2026-09-07 12:18:05,519 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/18' MAIN: 2026-09-07 12:18:05,650 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:19:05,455 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:19:05,926 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:19:06,641 - INFO - taking picture MAIN: 2026-09-07 12:19:06,641 - INFO - we take 349 photos in this while loop MAIN: 2026-09-07 12:19:06,641 - INFO - /home/pi/Desktop/images/07092026/12/18/image_07092026_12_19_05_61147.jpg MAIN: 2026-09-07 12:19:06,641 - INFO - duration: 0.937775499001873 MAIN: 2026-09-07 12:19:06,642 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/19' MAIN: 2026-09-07 12:20:04,785 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:20:05,516 - INFO - taking picture MAIN: 2026-09-07 12:20:05,516 - INFO - we take 350 photos in this while loop MAIN: 2026-09-07 12:20:05,516 - INFO - /home/pi/Desktop/images/07092026/12/19/image_07092026_12_20_04_58821.jpg MAIN: 2026-09-07 12:20:05,516 - INFO - duration: 0.9914832229987951 MAIN: 2026-09-07 12:20:05,517 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/20' MAIN: 2026-09-07 12:20:06,172 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:21:04,551 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:21:05,784 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:21:06,462 - INFO - taking picture MAIN: 2026-09-07 12:21:06,463 - INFO - we take 351 photos in this while loop MAIN: 2026-09-07 12:21:06,463 - INFO - /home/pi/Desktop/images/07092026/12/20/image_07092026_12_21_05_61001.jpg MAIN: 2026-09-07 12:21:06,463 - INFO - duration: 0.9363927490012429 MAIN: 2026-09-07 12:21:06,463 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/21' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:22:05,242 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:22:05,789 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:22:06,467 - INFO - taking picture MAIN: 2026-09-07 12:22:06,467 - INFO - we take 352 photos in this while loop MAIN: 2026-09-07 12:22:06,468 - INFO - /home/pi/Desktop/images/07092026/12/21/image_07092026_12_22_05_60040.jpg MAIN: 2026-09-07 12:22:06,468 - INFO - duration: 0.9004465420002816 MAIN: 2026-09-07 12:22:06,468 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/22' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:23:05,198 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:23:05,672 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:23:06,350 - INFO - taking picture MAIN: 2026-09-07 12:23:06,350 - INFO - we take 353 photos in this while loop MAIN: 2026-09-07 12:23:06,350 - INFO - /home/pi/Desktop/images/07092026/12/22/image_07092026_12_23_05_59884.jpg MAIN: 2026-09-07 12:23:06,350 - INFO - duration: 0.8987224189986591 MAIN: 2026-09-07 12:23:06,351 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/23' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:24:05,253 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:24:05,817 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:24:06,496 - INFO - taking picture MAIN: 2026-09-07 12:24:06,496 - INFO - we take 354 photos in this while loop MAIN: 2026-09-07 12:24:06,496 - INFO - /home/pi/Desktop/images/07092026/12/23/image_07092026_12_24_05_60145.jpg MAIN: 2026-09-07 12:24:06,496 - INFO - duration: 0.8990258640005777 MAIN: 2026-09-07 12:24:06,496 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/24' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:25:05,596 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:25:05,788 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:25:06,469 - INFO - taking picture MAIN: 2026-09-07 12:25:06,469 - INFO - we take 355 photos in this while loop MAIN: 2026-09-07 12:25:06,469 - INFO - /home/pi/Desktop/images/07092026/12/24/image_07092026_12_25_05_59962.jpg MAIN: 2026-09-07 12:25:06,470 - INFO - duration: 0.9103664140020555 MAIN: 2026-09-07 12:25:06,470 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/25' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:26:05,013 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:26:05,813 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:26:06,495 - INFO - taking picture MAIN: 2026-09-07 12:26:06,495 - INFO - we take 356 photos in this while loop MAIN: 2026-09-07 12:26:06,495 - INFO - /home/pi/Desktop/images/07092026/12/25/image_07092026_12_26_05_59973.jpg MAIN: 2026-09-07 12:26:06,495 - INFO - duration: 0.9631042039982276 MAIN: 2026-09-07 12:26:06,496 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/26' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:27:04,933 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:27:05,771 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:27:06,450 - INFO - taking picture MAIN: 2026-09-07 12:27:06,451 - INFO - we take 357 photos in this while loop MAIN: 2026-09-07 12:27:06,451 - INFO - /home/pi/Desktop/images/07092026/12/26/image_07092026_12_27_05_59966.jpg MAIN: 2026-09-07 12:27:06,451 - INFO - duration: 0.9521753950029961 MAIN: 2026-09-07 12:27:06,451 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/27' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:28:05,287 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:28:05,905 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:28:06,679 - INFO - taking picture MAIN: 2026-09-07 12:28:06,679 - INFO - we take 358 photos in this while loop MAIN: 2026-09-07 12:28:06,679 - INFO - /home/pi/Desktop/images/07092026/12/27/image_07092026_12_28_05_60164.jpg MAIN: 2026-09-07 12:28:06,680 - INFO - duration: 1.0162686210023821 MAIN: 2026-09-07 12:28:06,680 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/28' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:29:05,051 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:29:05,881 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:29:06,562 - INFO - taking picture MAIN: 2026-09-07 12:29:06,562 - INFO - we take 359 photos in this while loop MAIN: 2026-09-07 12:29:06,562 - INFO - /home/pi/Desktop/images/07092026/12/28/image_07092026_12_29_05_59931.jpg MAIN: 2026-09-07 12:29:06,562 - INFO - duration: 0.9678751889987325 MAIN: 2026-09-07 12:29:06,563 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/29' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:30:05,959 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:30:05,963 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:30:06,679 - INFO - taking picture MAIN: 2026-09-07 12:30:06,679 - INFO - we take 360 photos in this while loop MAIN: 2026-09-07 12:30:06,679 - INFO - /home/pi/Desktop/images/07092026/12/29/image_07092026_12_30_05_60120.jpg MAIN: 2026-09-07 12:30:06,680 - INFO - duration: 0.9652314570012095 MAIN: 2026-09-07 12:30:06,680 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/30' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:31:04,810 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:31:05,510 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:31:05,562 - INFO - taking picture MAIN: 2026-09-07 12:31:05,562 - INFO - we take 361 photos in this while loop MAIN: 2026-09-07 12:31:05,562 - INFO - /home/pi/Desktop/images/07092026/12/30/image_07092026_12_31_04_58855.jpg MAIN: 2026-09-07 12:31:05,562 - INFO - duration: 0.992379808001715 MAIN: 2026-09-07 12:31:05,563 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/31' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:32:05,034 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:32:05,258 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:32:05,765 - INFO - taking picture MAIN: 2026-09-07 12:32:05,766 - INFO - we take 362 photos in this while loop MAIN: 2026-09-07 12:32:05,766 - INFO - /home/pi/Desktop/images/07092026/12/31/image_07092026_12_32_05_60201.jpg MAIN: 2026-09-07 12:32:05,766 - INFO - duration: 0.9945242299982056 MAIN: 2026-09-07 12:32:05,766 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/32' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:33:05,270 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:33:05,286 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:33:06,003 - INFO - taking picture MAIN: 2026-09-07 12:33:06,003 - INFO - we take 363 photos in this while loop MAIN: 2026-09-07 12:33:06,003 - INFO - /home/pi/Desktop/images/07092026/12/32/image_07092026_12_33_05_60225.jpg MAIN: 2026-09-07 12:33:06,003 - INFO - duration: 1.0065361659981136 MAIN: 2026-09-07 12:33:06,004 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/33' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:34:05,501 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:34:05,547 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:34:06,280 - INFO - taking picture MAIN: 2026-09-07 12:34:06,281 - INFO - we take 364 photos in this while loop MAIN: 2026-09-07 12:34:06,281 - INFO - /home/pi/Desktop/images/07092026/12/33/image_07092026_12_34_05_60189.jpg MAIN: 2026-09-07 12:34:06,281 - INFO - duration: 1.0948554139977205 MAIN: 2026-09-07 12:34:06,281 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/34' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:35:04,906 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:35:05,609 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:35:05,623 - INFO - taking picture MAIN: 2026-09-07 12:35:05,623 - INFO - we take 365 photos in this while loop MAIN: 2026-09-07 12:35:05,623 - INFO - /home/pi/Desktop/images/07092026/12/34/image_07092026_12_35_04_59486.jpg MAIN: 2026-09-07 12:35:05,623 - INFO - duration: 0.9509358530012832 MAIN: 2026-09-07 12:35:05,624 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/35' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:36:04,761 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:36:05,562 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:36:06,304 - INFO - taking picture MAIN: 2026-09-07 12:36:06,304 - INFO - we take 366 photos in this while loop MAIN: 2026-09-07 12:36:06,305 - INFO - /home/pi/Desktop/images/07092026/12/35/image_07092026_12_36_05_60625.jpg MAIN: 2026-09-07 12:36:06,305 - INFO - duration: 1.0062038060023042 MAIN: 2026-09-07 12:36:06,305 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/36' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:37:04,847 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:37:05,029 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:37:05,761 - INFO - taking picture MAIN: 2026-09-07 12:37:05,761 - INFO - we take 367 photos in this while loop MAIN: 2026-09-07 12:37:05,761 - INFO - /home/pi/Desktop/images/07092026/12/36/image_07092026_12_37_05_59408.jpg MAIN: 2026-09-07 12:37:05,761 - INFO - duration: 1.0540831569996953 MAIN: 2026-09-07 12:37:05,762 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/37' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:38:05,230 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:38:05,732 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:38:06,493 - INFO - taking picture MAIN: 2026-09-07 12:38:06,494 - INFO - we take 368 photos in this while loop MAIN: 2026-09-07 12:38:06,494 - INFO - /home/pi/Desktop/images/07092026/12/37/image_07092026_12_38_05_60776.jpg MAIN: 2026-09-07 12:38:06,494 - INFO - duration: 1.0102449110017915 MAIN: 2026-09-07 12:38:06,494 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/38' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:39:05,424 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:39:05,855 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:39:06,565 - INFO - taking picture MAIN: 2026-09-07 12:39:06,565 - INFO - we take 369 photos in this while loop MAIN: 2026-09-07 12:39:06,565 - INFO - /home/pi/Desktop/images/07092026/12/38/image_07092026_12_39_05_60143.jpg MAIN: 2026-09-07 12:39:06,565 - INFO - duration: 0.9383000989982975 MAIN: 2026-09-07 12:39:06,566 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/39' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:40:05,013 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:40:05,525 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:40:05,806 - INFO - taking picture MAIN: 2026-09-07 12:40:05,806 - INFO - we take 370 photos in this while loop MAIN: 2026-09-07 12:40:05,807 - INFO - /home/pi/Desktop/images/07092026/12/39/image_07092026_12_40_05_59078.jpg MAIN: 2026-09-07 12:40:05,807 - INFO - duration: 1.1010572459999821 MAIN: 2026-09-07 12:40:05,807 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/40' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:41:05,257 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:41:05,391 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:41:05,966 - INFO - taking picture MAIN: 2026-09-07 12:41:05,966 - INFO - we take 371 photos in this while loop MAIN: 2026-09-07 12:41:05,966 - INFO - /home/pi/Desktop/images/07092026/12/40/image_07092026_12_41_05_60280.jpg MAIN: 2026-09-07 12:41:05,966 - INFO - duration: 0.9801915850002842 MAIN: 2026-09-07 12:41:05,966 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/41' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:42:05,262 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:42:05,677 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:42:05,977 - INFO - taking picture MAIN: 2026-09-07 12:42:05,977 - INFO - we take 372 photos in this while loop MAIN: 2026-09-07 12:42:05,977 - INFO - /home/pi/Desktop/images/07092026/12/41/image_07092026_12_42_05_60022.jpg MAIN: 2026-09-07 12:42:05,977 - INFO - duration: 0.968771617001039 MAIN: 2026-09-07 12:42:05,977 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/42' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:43:04,737 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:43:05,349 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:43:06,127 - INFO - taking picture MAIN: 2026-09-07 12:43:06,128 - INFO - we take 373 photos in this while loop MAIN: 2026-09-07 12:43:06,128 - INFO - /home/pi/Desktop/images/07092026/12/42/image_07092026_12_43_05_60099.jpg MAIN: 2026-09-07 12:43:06,128 - INFO - duration: 1.020016874997964 MAIN: 2026-09-07 12:43:06,128 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/43' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:44:04,927 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:44:05,998 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:44:06,701 - INFO - taking picture MAIN: 2026-09-07 12:44:06,702 - INFO - we take 374 photos in this while loop MAIN: 2026-09-07 12:44:06,702 - INFO - /home/pi/Desktop/images/07092026/12/43/image_07092026_12_44_05_60632.jpg MAIN: 2026-09-07 12:44:06,702 - INFO - duration: 0.961803117999807 MAIN: 2026-09-07 12:44:06,702 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/44' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:45:05,245 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:45:06,026 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:45:06,838 - INFO - taking picture MAIN: 2026-09-07 12:45:06,838 - INFO - we take 375 photos in this while loop MAIN: 2026-09-07 12:45:06,838 - INFO - /home/pi/Desktop/images/07092026/12/44/image_07092026_12_45_06_60025.jpg MAIN: 2026-09-07 12:45:06,839 - INFO - duration: 1.0731647069987957 MAIN: 2026-09-07 12:45:06,839 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/45' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:46:05,162 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:46:05,242 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:46:05,886 - INFO - taking picture MAIN: 2026-09-07 12:46:05,887 - INFO - we take 376 photos in this while loop MAIN: 2026-09-07 12:46:05,887 - INFO - /home/pi/Desktop/images/07092026/12/45/image_07092026_12_46_05_59110.jpg MAIN: 2026-09-07 12:46:05,887 - INFO - duration: 1.0111856599978637 MAIN: 2026-09-07 12:46:05,887 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/46' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:47:05,116 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:47:05,314 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:47:05,832 - INFO - taking picture MAIN: 2026-09-07 12:47:05,832 - INFO - we take 377 photos in this while loop MAIN: 2026-09-07 12:47:05,832 - INFO - /home/pi/Desktop/images/07092026/12/46/image_07092026_12_47_05_59962.jpg MAIN: 2026-09-07 12:47:05,832 - INFO - duration: 0.9945139779993042 MAIN: 2026-09-07 12:47:05,833 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/47' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:48:05,219 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:48:05,694 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:48:05,958 - INFO - taking picture MAIN: 2026-09-07 12:48:05,958 - INFO - we take 378 photos in this while loop MAIN: 2026-09-07 12:48:05,958 - INFO - /home/pi/Desktop/images/07092026/12/47/image_07092026_12_48_05_60100.jpg MAIN: 2026-09-07 12:48:05,958 - INFO - duration: 1.0204353150002134 MAIN: 2026-09-07 12:48:05,959 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/48' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:49:05,457 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:49:05,639 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:49:06,168 - INFO - taking picture MAIN: 2026-09-07 12:49:06,168 - INFO - we take 379 photos in this while loop MAIN: 2026-09-07 12:49:06,168 - INFO - /home/pi/Desktop/images/07092026/12/48/image_07092026_12_49_05_60239.jpg MAIN: 2026-09-07 12:49:06,168 - INFO - duration: 0.9910418300023593 MAIN: 2026-09-07 12:49:06,169 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/49' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:50:05,368 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:50:05,656 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:50:06,358 - INFO - taking picture MAIN: 2026-09-07 12:50:06,358 - INFO - we take 380 photos in this while loop MAIN: 2026-09-07 12:50:06,358 - INFO - /home/pi/Desktop/images/07092026/12/49/image_07092026_12_50_05_60231.jpg MAIN: 2026-09-07 12:50:06,358 - INFO - duration: 0.9497127239992551 MAIN: 2026-09-07 12:50:06,359 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/50' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:51:04,842 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:51:05,700 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:51:06,404 - INFO - taking picture MAIN: 2026-09-07 12:51:06,404 - INFO - we take 381 photos in this while loop MAIN: 2026-09-07 12:51:06,404 - INFO - /home/pi/Desktop/images/07092026/12/50/image_07092026_12_51_05_60035.jpg MAIN: 2026-09-07 12:51:06,404 - INFO - duration: 0.9604323399980785 MAIN: 2026-09-07 12:51:06,405 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/51' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:52:05,045 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:52:05,858 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:52:06,565 - INFO - taking picture MAIN: 2026-09-07 12:52:06,565 - INFO - we take 382 photos in this while loop MAIN: 2026-09-07 12:52:06,565 - INFO - /home/pi/Desktop/images/07092026/12/51/image_07092026_12_52_05_60134.jpg MAIN: 2026-09-07 12:52:06,565 - INFO - duration: 0.9867715120017237 MAIN: 2026-09-07 12:52:06,565 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/52' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:53:05,057 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:53:05,991 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:53:06,694 - INFO - taking picture MAIN: 2026-09-07 12:53:06,694 - INFO - we take 383 photos in this while loop MAIN: 2026-09-07 12:53:06,695 - INFO - /home/pi/Desktop/images/07092026/12/52/image_07092026_12_53_05_60144.jpg MAIN: 2026-09-07 12:53:06,695 - INFO - duration: 0.9715732399999979 MAIN: 2026-09-07 12:53:06,695 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/53' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:54:04,895 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:54:05,523 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:54:05,672 - INFO - taking picture MAIN: 2026-09-07 12:54:05,672 - INFO - we take 384 photos in this while loop MAIN: 2026-09-07 12:54:05,672 - INFO - /home/pi/Desktop/images/07092026/12/53/image_07092026_12_54_04_58941.jpg MAIN: 2026-09-07 12:54:05,672 - INFO - duration: 1.0070481849979842 MAIN: 2026-09-07 12:54:05,673 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/54' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:55:05,132 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:55:05,834 - INFO - taking picture MAIN: 2026-09-07 12:55:05,835 - INFO - we take 385 photos in this while loop MAIN: 2026-09-07 12:55:05,835 - INFO - /home/pi/Desktop/images/07092026/12/54/image_07092026_12_55_05_60191.jpg MAIN: 2026-09-07 12:55:05,835 - INFO - duration: 0.9781538650022412 MAIN: 2026-09-07 12:55:05,835 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/55' MAIN: 2026-09-07 12:55:05,942 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:56:05,022 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:56:05,452 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:56:06,155 - INFO - taking picture MAIN: 2026-09-07 12:56:06,155 - INFO - we take 386 photos in this while loop MAIN: 2026-09-07 12:56:06,155 - INFO - /home/pi/Desktop/images/07092026/12/55/image_07092026_12_56_05_60370.jpg MAIN: 2026-09-07 12:56:06,155 - INFO - duration: 0.9283442509986344 MAIN: 2026-09-07 12:56:06,155 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/56' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:57:04,778 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:57:05,662 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:57:06,368 - INFO - taking picture MAIN: 2026-09-07 12:57:06,368 - INFO - we take 387 photos in this while loop MAIN: 2026-09-07 12:57:06,368 - INFO - /home/pi/Desktop/images/07092026/12/56/image_07092026_12_57_05_60156.jpg MAIN: 2026-09-07 12:57:06,368 - INFO - duration: 0.9846109770005569 MAIN: 2026-09-07 12:57:06,368 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/57' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:58:05,178 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:58:05,720 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:58:06,525 - INFO - taking picture MAIN: 2026-09-07 12:58:06,525 - INFO - we take 388 photos in this while loop MAIN: 2026-09-07 12:58:06,525 - INFO - /home/pi/Desktop/images/07092026/12/57/image_07092026_12_58_05_60113.jpg MAIN: 2026-09-07 12:58:06,526 - INFO - duration: 1.0286839960026555 MAIN: 2026-09-07 12:58:06,526 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/58' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 12:59:04,954 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 12:59:04,986 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 12:59:05,738 - INFO - taking picture MAIN: 2026-09-07 12:59:05,738 - INFO - we take 389 photos in this while loop MAIN: 2026-09-07 12:59:05,738 - INFO - /home/pi/Desktop/images/07092026/12/58/image_07092026_12_59_04_59159.jpg MAIN: 2026-09-07 12:59:05,739 - INFO - duration: 1.0821311780018732 MAIN: 2026-09-07 12:59:05,739 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/12/59' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:00:04,930 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:00:05,631 - INFO - taking picture MAIN: 2026-09-07 13:00:05,631 - INFO - we take 390 photos in this while loop MAIN: 2026-09-07 13:00:05,632 - INFO - /home/pi/Desktop/images/07092026/12/59/image_07092026_13_00_04_60035.jpg MAIN: 2026-09-07 13:00:05,632 - INFO - duration: 0.9399895179994928 MAIN: 2026-09-07 13:00:05,632 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/00' MAIN: 2026-09-07 13:00:05,921 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:01:05,145 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:01:05,784 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:01:05,929 - INFO - taking picture MAIN: 2026-09-07 13:01:05,930 - INFO - we take 391 photos in this while loop MAIN: 2026-09-07 13:01:05,930 - INFO - /home/pi/Desktop/images/07092026/13/00/image_07092026_13_01_05_60142.jpg MAIN: 2026-09-07 13:01:05,930 - INFO - duration: 1.0953444160004437 MAIN: 2026-09-07 13:01:05,930 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/01' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:02:05,004 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:02:05,040 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:02:05,746 - INFO - taking picture MAIN: 2026-09-07 13:02:05,746 - INFO - we take 392 photos in this while loop MAIN: 2026-09-07 13:02:05,746 - INFO - /home/pi/Desktop/images/07092026/13/01/image_07092026_13_02_05_59915.jpg MAIN: 2026-09-07 13:02:05,746 - INFO - duration: 0.9963091879981221 MAIN: 2026-09-07 13:02:05,746 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/02' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:03:04,953 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:03:05,094 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:03:05,797 - INFO - taking picture MAIN: 2026-09-07 13:03:05,797 - INFO - we take 393 photos in this while loop MAIN: 2026-09-07 13:03:05,797 - INFO - /home/pi/Desktop/images/07092026/13/02/image_07092026_13_03_05_60064.jpg MAIN: 2026-09-07 13:03:05,797 - INFO - duration: 0.9825728220021119 MAIN: 2026-09-07 13:03:05,797 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/03' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:04:04,937 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:04:05,562 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:04:05,717 - INFO - taking picture MAIN: 2026-09-07 13:04:05,718 - INFO - we take 394 photos in this while loop MAIN: 2026-09-07 13:04:05,718 - INFO - /home/pi/Desktop/images/07092026/13/03/image_07092026_13_04_04_59850.jpg MAIN: 2026-09-07 13:04:05,718 - INFO - duration: 1.053138413997658 MAIN: 2026-09-07 13:04:05,718 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/04' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:05:04,817 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:05:05,522 - INFO - taking picture MAIN: 2026-09-07 13:05:05,523 - INFO - we take 395 photos in this while loop MAIN: 2026-09-07 13:05:05,523 - INFO - /home/pi/Desktop/images/07092026/13/04/image_07092026_13_05_04_59898.jpg MAIN: 2026-09-07 13:05:05,523 - INFO - duration: 0.9594162159992266 MAIN: 2026-09-07 13:05:05,523 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/05' MAIN: 2026-09-07 13:05:05,717 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:06:04,746 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:06:04,944 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:06:05,656 - INFO - taking picture MAIN: 2026-09-07 13:06:05,656 - INFO - we take 396 photos in this while loop MAIN: 2026-09-07 13:06:05,656 - INFO - /home/pi/Desktop/images/07092026/13/05/image_07092026_13_06_04_60101.jpg MAIN: 2026-09-07 13:06:05,656 - INFO - duration: 0.9909960939985467 MAIN: 2026-09-07 13:06:05,656 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/06' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:07:04,790 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:07:05,020 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:07:05,794 - INFO - taking picture MAIN: 2026-09-07 13:07:05,794 - INFO - we take 397 photos in this while loop MAIN: 2026-09-07 13:07:05,795 - INFO - /home/pi/Desktop/images/07092026/13/06/image_07092026_13_07_05_60053.jpg MAIN: 2026-09-07 13:07:05,795 - INFO - duration: 1.076205809997191 MAIN: 2026-09-07 13:07:05,795 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/07' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:08:05,040 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:08:05,101 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:08:05,811 - INFO - taking picture MAIN: 2026-09-07 13:08:05,811 - INFO - we take 398 photos in this while loop MAIN: 2026-09-07 13:08:05,811 - INFO - /home/pi/Desktop/images/07092026/13/07/image_07092026_13_08_05_60098.jpg MAIN: 2026-09-07 13:08:05,811 - INFO - duration: 0.9946865959973366 MAIN: 2026-09-07 13:08:05,811 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/08' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:09:05,023 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:09:05,131 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:09:05,754 - INFO - taking picture MAIN: 2026-09-07 13:09:05,755 - INFO - we take 399 photos in this while loop MAIN: 2026-09-07 13:09:05,755 - INFO - /home/pi/Desktop/images/07092026/13/08/image_07092026_13_09_05_59933.jpg MAIN: 2026-09-07 13:09:05,755 - INFO - duration: 1.005229373997281 MAIN: 2026-09-07 13:09:05,755 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/09' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:10:05,174 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:10:05,801 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:10:05,882 - INFO - taking picture MAIN: 2026-09-07 13:10:05,882 - INFO - we take 400 photos in this while loop MAIN: 2026-09-07 13:10:05,882 - INFO - /home/pi/Desktop/images/07092026/13/09/image_07092026_13_10_05_60204.jpg MAIN: 2026-09-07 13:10:05,883 - INFO - duration: 0.9279656939979759 MAIN: 2026-09-07 13:10:05,883 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/10' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:11:05,146 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:11:05,304 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:11:06,010 - INFO - taking picture MAIN: 2026-09-07 13:11:06,010 - INFO - we take 401 photos in this while loop MAIN: 2026-09-07 13:11:06,010 - INFO - /home/pi/Desktop/images/07092026/13/10/image_07092026_13_11_05_60053.jpg MAIN: 2026-09-07 13:11:06,010 - INFO - duration: 1.0017202039998665 MAIN: 2026-09-07 13:11:06,011 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/11' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:12:05,475 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:12:05,769 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:12:06,260 - INFO - taking picture MAIN: 2026-09-07 13:12:06,260 - INFO - we take 402 photos in this while loop MAIN: 2026-09-07 13:12:06,261 - INFO - /home/pi/Desktop/images/07092026/13/11/image_07092026_13_12_05_60206.jpg MAIN: 2026-09-07 13:12:06,261 - INFO - duration: 1.0461593289983284 MAIN: 2026-09-07 13:12:06,261 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/12' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:13:04,981 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:13:05,624 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:13:05,738 - INFO - taking picture MAIN: 2026-09-07 13:13:05,738 - INFO - we take 403 photos in this while loop MAIN: 2026-09-07 13:13:05,738 - INFO - /home/pi/Desktop/images/07092026/13/12/image_07092026_13_13_04_59507.jpg MAIN: 2026-09-07 13:13:05,738 - INFO - duration: 1.0165571630022896 MAIN: 2026-09-07 13:13:05,739 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/13' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:14:05,021 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:14:05,283 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:14:05,986 - INFO - taking picture MAIN: 2026-09-07 13:14:05,987 - INFO - we take 404 photos in this while loop MAIN: 2026-09-07 13:14:05,987 - INFO - /home/pi/Desktop/images/07092026/13/13/image_07092026_13_14_05_60292.jpg MAIN: 2026-09-07 13:14:05,987 - INFO - duration: 0.9723800600004324 MAIN: 2026-09-07 13:14:05,987 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/14' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:15:05,252 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:15:05,539 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:15:06,243 - INFO - taking picture MAIN: 2026-09-07 13:15:06,243 - INFO - we take 405 photos in this while loop MAIN: 2026-09-07 13:15:06,243 - INFO - /home/pi/Desktop/images/07092026/13/14/image_07092026_13_15_05_60303.jpg MAIN: 2026-09-07 13:15:06,244 - INFO - duration: 0.9253242759987188 MAIN: 2026-09-07 13:15:06,244 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/15' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:16:05,201 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:16:05,616 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:16:06,320 - INFO - taking picture MAIN: 2026-09-07 13:16:06,320 - INFO - we take 406 photos in this while loop MAIN: 2026-09-07 13:16:06,321 - INFO - /home/pi/Desktop/images/07092026/13/15/image_07092026_13_16_05_60079.jpg MAIN: 2026-09-07 13:16:06,321 - INFO - duration: 0.9228489980014274 MAIN: 2026-09-07 13:16:06,321 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/16' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:17:05,385 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:17:05,827 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:17:06,533 - INFO - taking picture MAIN: 2026-09-07 13:17:06,533 - INFO - we take 407 photos in this while loop MAIN: 2026-09-07 13:17:06,533 - INFO - /home/pi/Desktop/images/07092026/13/16/image_07092026_13_17_05_60206.jpg MAIN: 2026-09-07 13:17:06,533 - INFO - duration: 0.9286281410022639 MAIN: 2026-09-07 13:17:06,534 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/17' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:18:04,833 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:18:05,366 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:18:05,553 - INFO - taking picture MAIN: 2026-09-07 13:18:05,553 - INFO - we take 408 photos in this while loop MAIN: 2026-09-07 13:18:05,553 - INFO - /home/pi/Desktop/images/07092026/13/17/image_07092026_13_18_04_58983.jpg MAIN: 2026-09-07 13:18:05,553 - INFO - duration: 0.9650914839985489 MAIN: 2026-09-07 13:18:05,553 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/18' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:19:05,048 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:19:05,683 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:19:05,754 - INFO - taking picture MAIN: 2026-09-07 13:19:05,754 - INFO - we take 409 photos in this while loop MAIN: 2026-09-07 13:19:05,755 - INFO - /home/pi/Desktop/images/07092026/13/18/image_07092026_13_19_05_60181.jpg MAIN: 2026-09-07 13:19:05,755 - INFO - duration: 0.9854088040010538 MAIN: 2026-09-07 13:19:05,755 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/19' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:20:05,384 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:20:06,118 - INFO - taking picture MAIN: 2026-09-07 13:20:06,118 - INFO - we take 410 photos in this while loop MAIN: 2026-09-07 13:20:06,119 - INFO - /home/pi/Desktop/images/07092026/13/19/image_07092026_13_20_05_60390.jpg MAIN: 2026-09-07 13:20:06,119 - INFO - duration: 0.9583984450000571 MAIN: 2026-09-07 13:20:06,119 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/20' MAIN: 2026-09-07 13:20:06,295 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:21:04,811 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:21:05,675 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:21:06,446 - INFO - taking picture MAIN: 2026-09-07 13:21:06,447 - INFO - we take 411 photos in this while loop MAIN: 2026-09-07 13:21:06,447 - INFO - /home/pi/Desktop/images/07092026/13/20/image_07092026_13_21_05_60234.jpg MAIN: 2026-09-07 13:21:06,447 - INFO - duration: 1.0520468989998335 MAIN: 2026-09-07 13:21:06,447 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/21' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:22:05,021 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:22:05,037 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:22:05,763 - INFO - taking picture MAIN: 2026-09-07 13:22:05,763 - INFO - we take 412 photos in this while loop MAIN: 2026-09-07 13:22:05,763 - INFO - /home/pi/Desktop/images/07092026/13/21/image_07092026_13_22_05_59337.jpg MAIN: 2026-09-07 13:22:05,764 - INFO - duration: 1.0309976239987009 MAIN: 2026-09-07 13:22:05,764 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/22' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:23:04,990 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:23:05,792 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:23:06,511 - INFO - taking picture MAIN: 2026-09-07 13:23:06,511 - INFO - we take 413 photos in this while loop MAIN: 2026-09-07 13:23:06,511 - INFO - /home/pi/Desktop/images/07092026/13/22/image_07092026_13_23_05_60775.jpg MAIN: 2026-09-07 13:23:06,511 - INFO - duration: 1.0033086399998865 MAIN: 2026-09-07 13:23:06,511 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/23' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:24:05,406 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:24:05,530 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:24:06,254 - INFO - taking picture MAIN: 2026-09-07 13:24:06,254 - INFO - we take 414 photos in this while loop MAIN: 2026-09-07 13:24:06,255 - INFO - /home/pi/Desktop/images/07092026/13/23/image_07092026_13_24_05_59716.jpg MAIN: 2026-09-07 13:24:06,255 - INFO - duration: 1.0306386550000752 MAIN: 2026-09-07 13:24:06,255 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/24' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:25:05,105 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:25:05,832 - INFO - taking picture MAIN: 2026-09-07 13:25:05,833 - INFO - we take 415 photos in this while loop MAIN: 2026-09-07 13:25:05,833 - INFO - /home/pi/Desktop/images/07092026/13/24/image_07092026_13_25_05_59600.jpg MAIN: 2026-09-07 13:25:05,833 - INFO - duration: 1.0082231420019525 MAIN: 2026-09-07 13:25:05,833 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/25' MAIN: 2026-09-07 13:25:06,056 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:26:05,110 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:26:05,527 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:26:06,232 - INFO - taking picture MAIN: 2026-09-07 13:26:06,233 - INFO - we take 416 photos in this while loop MAIN: 2026-09-07 13:26:06,233 - INFO - /home/pi/Desktop/images/07092026/13/25/image_07092026_13_26_05_60480.jpg MAIN: 2026-09-07 13:26:06,233 - INFO - duration: 0.9274657940004545 MAIN: 2026-09-07 13:26:06,233 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/26' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:27:04,849 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:27:05,536 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:27:06,243 - INFO - taking picture MAIN: 2026-09-07 13:27:06,243 - INFO - we take 417 photos in this while loop MAIN: 2026-09-07 13:27:06,243 - INFO - /home/pi/Desktop/images/07092026/13/26/image_07092026_13_27_05_59957.jpg MAIN: 2026-09-07 13:27:06,243 - INFO - duration: 0.980307106001419 MAIN: 2026-09-07 13:27:06,244 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/27' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:28:05,505 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:28:05,903 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:28:06,679 - INFO - taking picture MAIN: 2026-09-07 13:28:06,679 - INFO - we take 418 photos in this while loop MAIN: 2026-09-07 13:28:06,679 - INFO - /home/pi/Desktop/images/07092026/13/27/image_07092026_13_28_05_60388.jpg MAIN: 2026-09-07 13:28:06,679 - INFO - duration: 1.027067499999248 MAIN: 2026-09-07 13:28:06,679 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/28' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:29:04,933 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:29:05,119 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:29:05,647 - INFO - taking picture MAIN: 2026-09-07 13:29:05,647 - INFO - we take 419 photos in this while loop MAIN: 2026-09-07 13:29:05,647 - INFO - /home/pi/Desktop/images/07092026/13/28/image_07092026_13_29_04_59001.jpg MAIN: 2026-09-07 13:29:05,647 - INFO - duration: 0.9935753850004403 MAIN: 2026-09-07 13:29:05,647 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/29' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:30:05,194 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:30:05,939 - INFO - taking picture MAIN: 2026-09-07 13:30:05,940 - INFO - we take 420 photos in this while loop MAIN: 2026-09-07 13:30:05,940 - INFO - /home/pi/Desktop/images/07092026/13/29/image_07092026_13_30_05_60311.jpg MAIN: 2026-09-07 13:30:05,940 - INFO - duration: 0.9751291700013098 MAIN: 2026-09-07 13:30:05,940 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/30' MAIN: 2026-09-07 13:30:06,151 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:31:04,436 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:31:06,028 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:31:06,804 - INFO - taking picture MAIN: 2026-09-07 13:31:06,804 - INFO - we take 421 photos in this while loop MAIN: 2026-09-07 13:31:06,804 - INFO - /home/pi/Desktop/images/07092026/13/30/image_07092026_13_31_06_60773.jpg MAIN: 2026-09-07 13:31:06,804 - INFO - duration: 1.0656352459991467 MAIN: 2026-09-07 13:31:06,805 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/31' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:32:04,855 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:32:05,641 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:32:06,448 - INFO - taking picture MAIN: 2026-09-07 13:32:06,448 - INFO - we take 422 photos in this while loop MAIN: 2026-09-07 13:32:06,448 - INFO - /home/pi/Desktop/images/07092026/13/31/image_07092026_13_32_05_59654.jpg MAIN: 2026-09-07 13:32:06,448 - INFO - duration: 1.055091115002142 MAIN: 2026-09-07 13:32:06,449 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/32' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:33:04,854 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:33:05,674 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:33:06,379 - INFO - taking picture MAIN: 2026-09-07 13:33:06,379 - INFO - we take 423 photos in this while loop MAIN: 2026-09-07 13:33:06,379 - INFO - /home/pi/Desktop/images/07092026/13/32/image_07092026_13_33_05_60011.jpg MAIN: 2026-09-07 13:33:06,379 - INFO - duration: 0.9749669240009098 MAIN: 2026-09-07 13:33:06,380 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/33' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:34:05,491 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:34:05,810 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:34:06,515 - INFO - taking picture MAIN: 2026-09-07 13:34:06,515 - INFO - we take 424 photos in this while loop MAIN: 2026-09-07 13:34:06,515 - INFO - /home/pi/Desktop/images/07092026/13/33/image_07092026_13_34_05_60183.jpg MAIN: 2026-09-07 13:34:06,515 - INFO - duration: 0.9273825550008041 MAIN: 2026-09-07 13:34:06,515 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/34' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:35:04,974 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:35:05,648 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:35:05,753 - INFO - taking picture MAIN: 2026-09-07 13:35:05,753 - INFO - we take 425 photos in this while loop MAIN: 2026-09-07 13:35:05,753 - INFO - /home/pi/Desktop/images/07092026/13/34/image_07092026_13_35_04_59137.jpg MAIN: 2026-09-07 13:35:05,753 - INFO - duration: 1.028301893002208 MAIN: 2026-09-07 13:35:05,753 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/35' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:36:05,189 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:36:05,578 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:36:05,936 - INFO - taking picture MAIN: 2026-09-07 13:36:05,936 - INFO - we take 426 photos in this while loop MAIN: 2026-09-07 13:36:05,936 - INFO - /home/pi/Desktop/images/07092026/13/35/image_07092026_13_36_05_60176.jpg MAIN: 2026-09-07 13:36:05,936 - INFO - duration: 1.034680404998653 MAIN: 2026-09-07 13:36:05,937 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/36' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:37:04,479 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:37:05,921 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:37:06,650 - INFO - taking picture MAIN: 2026-09-07 13:37:06,650 - INFO - we take 427 photos in this while loop MAIN: 2026-09-07 13:37:06,650 - INFO - /home/pi/Desktop/images/07092026/13/36/image_07092026_13_37_05_60735.jpg MAIN: 2026-09-07 13:37:06,650 - INFO - duration: 1.0135873649996938 MAIN: 2026-09-07 13:37:06,651 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/37' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:38:05,194 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:38:05,683 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:38:06,488 - INFO - taking picture MAIN: 2026-09-07 13:38:06,488 - INFO - we take 428 photos in this while loop MAIN: 2026-09-07 13:38:06,488 - INFO - /home/pi/Desktop/images/07092026/13/37/image_07092026_13_38_05_59771.jpg MAIN: 2026-09-07 13:38:06,488 - INFO - duration: 1.0801401650023763 MAIN: 2026-09-07 13:38:06,488 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/38' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:39:04,819 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:39:04,824 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:39:05,550 - INFO - taking picture MAIN: 2026-09-07 13:39:05,551 - INFO - we take 429 photos in this while loop MAIN: 2026-09-07 13:39:05,551 - INFO - /home/pi/Desktop/images/07092026/13/38/image_07092026_13_39_04_59117.jpg MAIN: 2026-09-07 13:39:05,551 - INFO - duration: 1.0250033260017517 MAIN: 2026-09-07 13:39:05,551 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/39' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:40:05,688 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:40:05,759 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:40:06,482 - INFO - taking picture MAIN: 2026-09-07 13:40:06,483 - INFO - we take 430 photos in this while loop MAIN: 2026-09-07 13:40:06,483 - INFO - /home/pi/Desktop/images/07092026/13/39/image_07092026_13_40_05_60867.jpg MAIN: 2026-09-07 13:40:06,483 - INFO - duration: 1.089116582996212 MAIN: 2026-09-07 13:40:06,483 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/40' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:41:05,112 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:41:05,470 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:41:05,853 - INFO - taking picture MAIN: 2026-09-07 13:41:05,853 - INFO - we take 431 photos in this while loop MAIN: 2026-09-07 13:41:05,853 - INFO - /home/pi/Desktop/images/07092026/13/40/image_07092026_13_41_05_59427.jpg MAIN: 2026-09-07 13:41:05,853 - INFO - duration: 1.0313405240012798 MAIN: 2026-09-07 13:41:05,853 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/41' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:42:05,733 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:42:05,756 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:42:06,493 - INFO - taking picture MAIN: 2026-09-07 13:42:06,494 - INFO - we take 432 photos in this while loop MAIN: 2026-09-07 13:42:06,494 - INFO - /home/pi/Desktop/images/07092026/13/41/image_07092026_13_42_05_60636.jpg MAIN: 2026-09-07 13:42:06,494 - INFO - duration: 1.0354315670047072 MAIN: 2026-09-07 13:42:06,494 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/42' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:43:05,143 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:43:05,806 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:43:05,878 - INFO - taking picture MAIN: 2026-09-07 13:43:05,878 - INFO - we take 433 photos in this while loop MAIN: 2026-09-07 13:43:05,878 - INFO - /home/pi/Desktop/images/07092026/13/42/image_07092026_13_43_05_59403.jpg MAIN: 2026-09-07 13:43:05,878 - INFO - duration: 1.0162744389963336 MAIN: 2026-09-07 13:43:05,878 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/43' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:44:05,141 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:44:05,468 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:44:06,258 - INFO - taking picture MAIN: 2026-09-07 13:44:06,258 - INFO - we take 434 photos in this while loop MAIN: 2026-09-07 13:44:06,258 - INFO - /home/pi/Desktop/images/07092026/13/43/image_07092026_13_44_05_60348.jpg MAIN: 2026-09-07 13:44:06,258 - INFO - duration: 1.0479463410010794 MAIN: 2026-09-07 13:44:06,259 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/44' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:45:05,046 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:45:06,040 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:45:06,752 - INFO - taking picture MAIN: 2026-09-07 13:45:06,753 - INFO - we take 435 photos in this while loop MAIN: 2026-09-07 13:45:06,753 - INFO - /home/pi/Desktop/images/07092026/13/44/image_07092026_13_45_06_60554.jpg MAIN: 2026-09-07 13:45:06,753 - INFO - duration: 0.9877834430008079 MAIN: 2026-09-07 13:45:06,753 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/45' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:46:04,966 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:46:05,242 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:46:05,741 - INFO - taking picture MAIN: 2026-09-07 13:46:05,741 - INFO - we take 436 photos in this while loop MAIN: 2026-09-07 13:46:05,741 - INFO - /home/pi/Desktop/images/07092026/13/45/image_07092026_13_46_04_58925.jpg MAIN: 2026-09-07 13:46:05,742 - INFO - duration: 1.0508964539985755 MAIN: 2026-09-07 13:46:05,742 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/46' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:47:05,113 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:47:05,175 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:47:05,906 - INFO - taking picture MAIN: 2026-09-07 13:47:05,907 - INFO - we take 437 photos in this while loop MAIN: 2026-09-07 13:47:05,907 - INFO - /home/pi/Desktop/images/07092026/13/46/image_07092026_13_47_05_60118.jpg MAIN: 2026-09-07 13:47:05,907 - INFO - duration: 1.0979729390019202 MAIN: 2026-09-07 13:47:05,907 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/47' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:48:05,522 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:48:05,810 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:48:06,520 - INFO - taking picture MAIN: 2026-09-07 13:48:06,520 - INFO - we take 438 photos in this while loop MAIN: 2026-09-07 13:48:06,520 - INFO - /home/pi/Desktop/images/07092026/13/47/image_07092026_13_48_05_60710.jpg MAIN: 2026-09-07 13:48:06,520 - INFO - duration: 1.0007077959962771 MAIN: 2026-09-07 13:48:06,521 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/48' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:49:05,208 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:49:05,612 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:49:05,952 - INFO - taking picture MAIN: 2026-09-07 13:49:05,953 - INFO - we take 439 photos in this while loop MAIN: 2026-09-07 13:49:05,953 - INFO - /home/pi/Desktop/images/07092026/13/48/image_07092026_13_49_05_59400.jpg MAIN: 2026-09-07 13:49:05,953 - INFO - duration: 1.0329933409957448 MAIN: 2026-09-07 13:49:05,953 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/49' MAIN: 2026-09-07 13:50:05,028 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:50:05,765 - INFO - taking picture MAIN: 2026-09-07 13:50:05,766 - INFO - we take 440 photos in this while loop MAIN: 2026-09-07 13:50:05,766 - INFO - /home/pi/Desktop/images/07092026/13/49/image_07092026_13_50_05_59879.jpg MAIN: 2026-09-07 13:50:05,766 - INFO - duration: 0.9667697780023445 MAIN: 2026-09-07 13:50:05,766 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/50' MAIN: 2026-09-07 13:50:06,325 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:51:04,606 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:51:05,212 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:51:05,921 - INFO - taking picture MAIN: 2026-09-07 13:51:05,921 - INFO - we take 441 photos in this while loop MAIN: 2026-09-07 13:51:05,922 - INFO - /home/pi/Desktop/images/07092026/13/50/image_07092026_13_51_05_60115.jpg MAIN: 2026-09-07 13:51:05,922 - INFO - duration: 1.0064959559967974 MAIN: 2026-09-07 13:51:05,922 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/51' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:52:05,220 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:52:05,556 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:52:06,284 - INFO - taking picture MAIN: 2026-09-07 13:52:06,284 - INFO - we take 442 photos in this while loop MAIN: 2026-09-07 13:52:06,284 - INFO - /home/pi/Desktop/images/07092026/13/51/image_07092026_13_52_05_60387.jpg MAIN: 2026-09-07 13:52:06,284 - INFO - duration: 0.9813564239957486 MAIN: 2026-09-07 13:52:06,285 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/52' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:53:05,076 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:53:05,821 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:53:06,602 - INFO - taking picture MAIN: 2026-09-07 13:53:06,602 - INFO - we take 443 photos in this while loop MAIN: 2026-09-07 13:53:06,602 - INFO - /home/pi/Desktop/images/07092026/13/52/image_07092026_13_53_05_60214.jpg MAIN: 2026-09-07 13:53:06,603 - INFO - duration: 1.0853204739978537 MAIN: 2026-09-07 13:53:06,603 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/53' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:54:04,940 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:54:05,390 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:54:05,659 - INFO - taking picture MAIN: 2026-09-07 13:54:05,659 - INFO - we take 444 photos in this while loop MAIN: 2026-09-07 13:54:05,659 - INFO - /home/pi/Desktop/images/07092026/13/53/image_07092026_13_54_04_59201.jpg MAIN: 2026-09-07 13:54:05,659 - INFO - duration: 0.940222969999013 MAIN: 2026-09-07 13:54:05,659 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/54' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:55:05,168 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:55:05,839 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:55:05,948 - INFO - taking picture MAIN: 2026-09-07 13:55:05,948 - INFO - we take 445 photos in this while loop MAIN: 2026-09-07 13:55:05,949 - INFO - /home/pi/Desktop/images/07092026/13/54/image_07092026_13_55_05_60209.jpg MAIN: 2026-09-07 13:55:05,949 - INFO - duration: 1.0206018919998314 MAIN: 2026-09-07 13:55:05,949 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/55' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:56:05,388 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:56:05,788 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:56:06,100 - INFO - taking picture MAIN: 2026-09-07 13:56:06,100 - INFO - we take 446 photos in this while loop MAIN: 2026-09-07 13:56:06,100 - INFO - /home/pi/Desktop/images/07092026/13/55/image_07092026_13_56_05_60183.jpg MAIN: 2026-09-07 13:56:06,100 - INFO - duration: 0.9886780980014009 MAIN: 2026-09-07 13:56:06,101 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/56' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:57:04,800 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:57:05,498 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:57:06,220 - INFO - taking picture MAIN: 2026-09-07 13:57:06,220 - INFO - we take 447 photos in this while loop MAIN: 2026-09-07 13:57:06,220 - INFO - /home/pi/Desktop/images/07092026/13/56/image_07092026_13_57_05_60095.jpg MAIN: 2026-09-07 13:57:06,221 - INFO - duration: 1.0136516400016262 MAIN: 2026-09-07 13:57:06,221 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/57' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:58:05,057 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:58:05,243 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:58:05,855 - INFO - taking picture MAIN: 2026-09-07 13:58:05,855 - INFO - we take 448 photos in this while loop MAIN: 2026-09-07 13:58:05,855 - INFO - /home/pi/Desktop/images/07092026/13/57/image_07092026_13_58_05_59562.jpg MAIN: 2026-09-07 13:58:05,856 - INFO - duration: 1.0863407110009575 MAIN: 2026-09-07 13:58:05,856 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/58' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 13:59:05,102 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 13:59:05,860 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 13:59:06,595 - INFO - taking picture MAIN: 2026-09-07 13:59:06,595 - INFO - we take 449 photos in this while loop MAIN: 2026-09-07 13:59:06,595 - INFO - /home/pi/Desktop/images/07092026/13/58/image_07092026_13_59_05_60807.jpg MAIN: 2026-09-07 13:59:06,595 - INFO - duration: 1.0180323980021058 MAIN: 2026-09-07 13:59:06,595 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/13/59' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:00:05,468 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:00:06,075 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:00:06,306 - INFO - taking picture MAIN: 2026-09-07 14:00:06,306 - INFO - we take 450 photos in this while loop MAIN: 2026-09-07 14:00:06,307 - INFO - /home/pi/Desktop/images/07092026/13/59/image_07092026_14_00_05_59621.jpg MAIN: 2026-09-07 14:00:06,307 - INFO - duration: 1.1082042650014046 MAIN: 2026-09-07 14:00:06,307 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/00' MAIN: 2026-09-07 14:01:04,776 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:01:05,537 - INFO - taking picture MAIN: 2026-09-07 14:01:05,537 - INFO - we take 451 photos in this while loop MAIN: 2026-09-07 14:01:05,537 - INFO - /home/pi/Desktop/images/07092026/14/00/image_07092026_14_01_04_59344.jpg MAIN: 2026-09-07 14:01:05,537 - INFO - duration: 0.9944768740024301 MAIN: 2026-09-07 14:01:05,537 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/01' MAIN: 2026-09-07 14:01:05,794 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:02:04,895 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:02:05,710 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:02:06,449 - INFO - taking picture MAIN: 2026-09-07 14:02:06,449 - INFO - we take 452 photos in this while loop MAIN: 2026-09-07 14:02:06,449 - INFO - /home/pi/Desktop/images/07092026/14/01/image_07092026_14_02_05_60898.jpg MAIN: 2026-09-07 14:02:06,449 - INFO - duration: 1.0082978930004174 MAIN: 2026-09-07 14:02:06,449 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/02' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:03:05,035 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:03:05,091 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:03:05,831 - INFO - taking picture MAIN: 2026-09-07 14:03:05,832 - INFO - we take 453 photos in this while loop MAIN: 2026-09-07 14:03:05,832 - INFO - /home/pi/Desktop/images/07092026/14/02/image_07092026_14_03_05_59368.jpg MAIN: 2026-09-07 14:03:05,832 - INFO - duration: 1.0231041060033021 MAIN: 2026-09-07 14:03:05,832 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/03' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:04:05,345 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:04:05,821 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:04:06,546 - INFO - taking picture MAIN: 2026-09-07 14:04:06,546 - INFO - we take 454 photos in this while loop MAIN: 2026-09-07 14:04:06,547 - INFO - /home/pi/Desktop/images/07092026/14/03/image_07092026_14_04_05_60782.jpg MAIN: 2026-09-07 14:04:06,547 - INFO - duration: 0.9556284900027094 MAIN: 2026-09-07 14:04:06,547 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/04' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:05:05,154 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:05:05,411 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:05:05,898 - INFO - taking picture MAIN: 2026-09-07 14:05:05,899 - INFO - we take 455 photos in this while loop MAIN: 2026-09-07 14:05:05,899 - INFO - /home/pi/Desktop/images/07092026/14/04/image_07092026_14_05_05_59333.jpg MAIN: 2026-09-07 14:05:05,899 - INFO - duration: 0.9746548050025012 MAIN: 2026-09-07 14:05:05,899 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/05' MAIN: 2026-09-07 14:06:04,835 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:06:05,658 - INFO - taking picture MAIN: 2026-09-07 14:06:05,658 - INFO - we take 456 photos in this while loop MAIN: 2026-09-07 14:06:05,658 - INFO - /home/pi/Desktop/images/07092026/14/05/image_07092026_14_06_04_59650.jpg MAIN: 2026-09-07 14:06:05,658 - INFO - duration: 1.0835938759992132 MAIN: 2026-09-07 14:06:05,658 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/06' MAIN: 2026-09-07 14:06:05,860 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:07:04,705 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:07:05,113 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:07:05,897 - INFO - taking picture MAIN: 2026-09-07 14:07:05,897 - INFO - we take 457 photos in this while loop MAIN: 2026-09-07 14:07:05,897 - INFO - /home/pi/Desktop/images/07092026/14/06/image_07092026_14_07_05_60293.jpg MAIN: 2026-09-07 14:07:05,897 - INFO - duration: 1.0290190559971961 MAIN: 2026-09-07 14:07:05,897 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/07' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:08:05,025 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:08:05,590 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:08:06,290 - INFO - taking picture MAIN: 2026-09-07 14:08:06,291 - INFO - we take 458 photos in this while loop MAIN: 2026-09-07 14:08:06,291 - INFO - /home/pi/Desktop/images/07092026/14/07/image_07092026_14_08_05_60490.jpg MAIN: 2026-09-07 14:08:06,291 - INFO - duration: 0.9326377780016628 MAIN: 2026-09-07 14:08:06,291 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/08' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:09:04,904 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:09:05,702 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:09:06,493 - INFO - taking picture MAIN: 2026-09-07 14:09:06,494 - INFO - we take 459 photos in this while loop MAIN: 2026-09-07 14:09:06,494 - INFO - /home/pi/Desktop/images/07092026/14/08/image_07092026_14_09_05_60061.jpg MAIN: 2026-09-07 14:09:06,494 - INFO - duration: 1.0736401489994023 MAIN: 2026-09-07 14:09:06,494 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/09' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:10:05,189 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:10:05,518 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:10:05,911 - INFO - taking picture MAIN: 2026-09-07 14:10:05,911 - INFO - we take 460 photos in this while loop MAIN: 2026-09-07 14:10:05,911 - INFO - /home/pi/Desktop/images/07092026/14/09/image_07092026_14_10_05_59541.jpg MAIN: 2026-09-07 14:10:05,912 - INFO - duration: 0.9492717850007466 MAIN: 2026-09-07 14:10:05,912 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/10' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:11:05,125 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:11:05,385 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:11:06,108 - INFO - taking picture MAIN: 2026-09-07 14:11:06,108 - INFO - we take 461 photos in this while loop MAIN: 2026-09-07 14:11:06,108 - INFO - /home/pi/Desktop/images/07092026/14/10/image_07092026_14_11_05_60138.jpg MAIN: 2026-09-07 14:11:06,108 - INFO - duration: 1.0075611800057231 MAIN: 2026-09-07 14:11:06,109 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/11' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:12:04,999 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:12:05,716 - INFO - taking picture MAIN: 2026-09-07 14:12:05,716 - INFO - we take 462 photos in this while loop MAIN: 2026-09-07 14:12:05,716 - INFO - /home/pi/Desktop/images/07092026/14/11/image_07092026_14_12_04_59646.jpg MAIN: 2026-09-07 14:12:05,716 - INFO - duration: 0.9692744630010566 MAIN: 2026-09-07 14:12:05,717 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/12' MAIN: 2026-09-07 14:12:05,762 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:13:04,658 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:13:05,521 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:13:06,317 - INFO - taking picture MAIN: 2026-09-07 14:13:06,317 - INFO - we take 463 photos in this while loop MAIN: 2026-09-07 14:13:06,317 - INFO - /home/pi/Desktop/images/07092026/14/12/image_07092026_14_13_05_60469.jpg MAIN: 2026-09-07 14:13:06,317 - INFO - duration: 1.1007856329961214 MAIN: 2026-09-07 14:13:06,318 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/13' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:14:05,083 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:14:05,266 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:14:05,818 - INFO - taking picture MAIN: 2026-09-07 14:14:05,818 - INFO - we take 464 photos in this while loop MAIN: 2026-09-07 14:14:05,818 - INFO - /home/pi/Desktop/images/07092026/14/13/image_07092026_14_14_05_59595.jpg MAIN: 2026-09-07 14:14:05,818 - INFO - duration: 1.0058810070040636 MAIN: 2026-09-07 14:14:05,818 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/14' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:15:05,059 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:15:05,078 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:15:05,797 - INFO - taking picture MAIN: 2026-09-07 14:15:05,797 - INFO - we take 465 photos in this while loop MAIN: 2026-09-07 14:15:05,797 - INFO - /home/pi/Desktop/images/07092026/14/14/image_07092026_14_15_05_60015.jpg MAIN: 2026-09-07 14:15:05,797 - INFO - duration: 0.9695122970006196 MAIN: 2026-09-07 14:15:05,798 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/15' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:16:04,818 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:16:05,547 - INFO - taking picture MAIN: 2026-09-07 14:16:05,547 - INFO - we take 466 photos in this while loop MAIN: 2026-09-07 14:16:05,548 - INFO - /home/pi/Desktop/images/07092026/14/15/image_07092026_14_16_04_59754.jpg MAIN: 2026-09-07 14:16:05,548 - INFO - duration: 0.9649266220003483 MAIN: 2026-09-07 14:16:05,548 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/16' MAIN: 2026-09-07 14:16:05,683 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:17:05,380 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:17:05,561 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:17:06,290 - INFO - taking picture MAIN: 2026-09-07 14:17:06,290 - INFO - we take 467 photos in this while loop MAIN: 2026-09-07 14:17:06,290 - INFO - /home/pi/Desktop/images/07092026/14/16/image_07092026_14_17_05_60685.jpg MAIN: 2026-09-07 14:17:06,290 - INFO - duration: 1.0214548639996792 MAIN: 2026-09-07 14:17:06,290 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/17' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:18:05,242 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:18:06,053 - INFO - taking picture MAIN: 2026-09-07 14:18:06,053 - INFO - we take 468 photos in this while loop MAIN: 2026-09-07 14:18:06,053 - INFO - /home/pi/Desktop/images/07092026/14/17/image_07092026_14_18_05_59726.jpg MAIN: 2026-09-07 14:18:06,054 - INFO - duration: 1.0584033479972277 MAIN: 2026-09-07 14:18:06,054 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/18' MAIN: 2026-09-07 14:18:06,100 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:19:04,608 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:19:05,638 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:19:06,348 - INFO - taking picture MAIN: 2026-09-07 14:19:06,348 - INFO - we take 469 photos in this while loop MAIN: 2026-09-07 14:19:06,348 - INFO - /home/pi/Desktop/images/07092026/14/18/image_07092026_14_19_05_60374.jpg MAIN: 2026-09-07 14:19:06,348 - INFO - duration: 0.9782508429998416 MAIN: 2026-09-07 14:19:06,349 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/19' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:20:04,854 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:20:05,173 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:20:05,637 - INFO - taking picture MAIN: 2026-09-07 14:20:05,637 - INFO - we take 470 photos in this while loop MAIN: 2026-09-07 14:20:05,638 - INFO - /home/pi/Desktop/images/07092026/14/19/image_07092026_14_20_04_59233.jpg MAIN: 2026-09-07 14:20:05,638 - INFO - duration: 1.0337970399996266 MAIN: 2026-09-07 14:20:05,638 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/20' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:21:05,355 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:21:05,824 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:21:06,581 - INFO - taking picture MAIN: 2026-09-07 14:21:06,582 - INFO - we take 471 photos in this while loop MAIN: 2026-09-07 14:21:06,582 - INFO - /home/pi/Desktop/images/07092026/14/20/image_07092026_14_21_05_60964.jpg MAIN: 2026-09-07 14:21:06,582 - INFO - duration: 1.0138976129965158 MAIN: 2026-09-07 14:21:06,582 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/21' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:22:05,441 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:22:05,562 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:22:06,179 - INFO - taking picture MAIN: 2026-09-07 14:22:06,180 - INFO - we take 472 photos in this while loop MAIN: 2026-09-07 14:22:06,180 - INFO - /home/pi/Desktop/images/07092026/14/21/image_07092026_14_22_05_59586.jpg MAIN: 2026-09-07 14:22:06,180 - INFO - duration: 1.0249441210035002 MAIN: 2026-09-07 14:22:06,180 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/22' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:23:04,971 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:23:05,325 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:23:05,718 - INFO - taking picture MAIN: 2026-09-07 14:23:05,718 - INFO - we take 473 photos in this while loop MAIN: 2026-09-07 14:23:05,719 - INFO - /home/pi/Desktop/images/07092026/14/22/image_07092026_14_23_04_59551.jpg MAIN: 2026-09-07 14:23:05,719 - INFO - duration: 1.0123926679953001 MAIN: 2026-09-07 14:23:05,719 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/23' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:24:05,751 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:24:05,918 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:24:06,656 - INFO - taking picture MAIN: 2026-09-07 14:24:06,656 - INFO - we take 474 photos in this while loop MAIN: 2026-09-07 14:24:06,656 - INFO - /home/pi/Desktop/images/07092026/14/23/image_07092026_14_24_05_60916.jpg MAIN: 2026-09-07 14:24:06,656 - INFO - duration: 1.0338823440033593 MAIN: 2026-09-07 14:24:06,657 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/24' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:25:05,440 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:25:05,451 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:25:06,182 - INFO - taking picture MAIN: 2026-09-07 14:25:06,183 - INFO - we take 475 photos in this while loop MAIN: 2026-09-07 14:25:06,183 - INFO - /home/pi/Desktop/images/07092026/14/24/image_07092026_14_25_05_59524.jpg MAIN: 2026-09-07 14:25:06,183 - INFO - duration: 1.0363174420053838 MAIN: 2026-09-07 14:25:06,183 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/25' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:26:05,121 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:26:05,711 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:26:06,424 - INFO - taking picture MAIN: 2026-09-07 14:26:06,424 - INFO - we take 476 photos in this while loop MAIN: 2026-09-07 14:26:06,424 - INFO - /home/pi/Desktop/images/07092026/14/25/image_07092026_14_26_05_60340.jpg MAIN: 2026-09-07 14:26:06,424 - INFO - duration: 0.9369917049989454 MAIN: 2026-09-07 14:26:06,425 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/26' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:27:04,977 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:27:05,772 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:27:06,488 - INFO - taking picture MAIN: 2026-09-07 14:27:06,489 - INFO - we take 477 photos in this while loop MAIN: 2026-09-07 14:27:06,489 - INFO - /home/pi/Desktop/images/07092026/14/26/image_07092026_14_27_05_60009.jpg MAIN: 2026-09-07 14:27:06,489 - INFO - duration: 0.9924870949980686 MAIN: 2026-09-07 14:27:06,489 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/27' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:28:05,428 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:28:05,945 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:28:06,659 - INFO - taking picture MAIN: 2026-09-07 14:28:06,659 - INFO - we take 478 photos in this while loop MAIN: 2026-09-07 14:28:06,659 - INFO - /home/pi/Desktop/images/07092026/14/27/image_07092026_14_28_05_60219.jpg MAIN: 2026-09-07 14:28:06,659 - INFO - duration: 0.9438594350067433 MAIN: 2026-09-07 14:28:06,660 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/28' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:29:05,327 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:29:05,816 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:29:06,558 - INFO - taking picture MAIN: 2026-09-07 14:29:06,558 - INFO - we take 479 photos in this while loop MAIN: 2026-09-07 14:29:06,559 - INFO - /home/pi/Desktop/images/07092026/14/28/image_07092026_14_29_05_59873.jpg MAIN: 2026-09-07 14:29:06,559 - INFO - duration: 0.9692229799984489 MAIN: 2026-09-07 14:29:06,559 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/29' MAIN: 2026-09-07 14:30:04,810 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:30:05,548 - INFO - taking picture MAIN: 2026-09-07 14:30:05,548 - INFO - we take 480 photos in this while loop MAIN: 2026-09-07 14:30:05,548 - INFO - /home/pi/Desktop/images/07092026/14/29/image_07092026_14_30_04_58979.jpg MAIN: 2026-09-07 14:30:05,548 - INFO - duration: 0.9795622480014572 MAIN: 2026-09-07 14:30:05,549 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/30' MAIN: 2026-09-07 14:30:06,303 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:31:04,898 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:31:05,978 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:31:06,687 - INFO - taking picture MAIN: 2026-09-07 14:31:06,687 - INFO - we take 481 photos in this while loop MAIN: 2026-09-07 14:31:06,687 - INFO - /home/pi/Desktop/images/07092026/14/30/image_07092026_14_31_05_61147.jpg MAIN: 2026-09-07 14:31:06,687 - INFO - duration: 0.9712725270001101 MAIN: 2026-09-07 14:31:06,688 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/31' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:32:04,919 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:32:05,148 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:32:05,680 - INFO - taking picture MAIN: 2026-09-07 14:32:05,681 - INFO - we take 482 photos in this while loop MAIN: 2026-09-07 14:32:05,681 - INFO - /home/pi/Desktop/images/07092026/14/31/image_07092026_14_32_04_58941.jpg MAIN: 2026-09-07 14:32:05,681 - INFO - duration: 1.0228364760041586 MAIN: 2026-09-07 14:32:05,681 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/32' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:33:04,931 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:33:05,198 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:33:05,653 - INFO - taking picture MAIN: 2026-09-07 14:33:05,654 - INFO - we take 483 photos in this while loop MAIN: 2026-09-07 14:33:05,654 - INFO - /home/pi/Desktop/images/07092026/14/32/image_07092026_14_33_04_60007.jpg MAIN: 2026-09-07 14:33:05,654 - INFO - duration: 0.9880872299982002 MAIN: 2026-09-07 14:33:05,654 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/33' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:34:05,127 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:34:05,342 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:34:05,888 - INFO - taking picture MAIN: 2026-09-07 14:34:05,889 - INFO - we take 484 photos in this while loop MAIN: 2026-09-07 14:34:05,889 - INFO - /home/pi/Desktop/images/07092026/14/33/image_07092026_14_34_05_60186.jpg MAIN: 2026-09-07 14:34:05,889 - INFO - duration: 1.0370830980027677 MAIN: 2026-09-07 14:34:05,889 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/34' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:35:05,263 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:35:05,710 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:35:06,020 - INFO - taking picture MAIN: 2026-09-07 14:35:06,020 - INFO - we take 485 photos in this while loop MAIN: 2026-09-07 14:35:06,020 - INFO - /home/pi/Desktop/images/07092026/14/34/image_07092026_14_35_05_60188.jpg MAIN: 2026-09-07 14:35:06,021 - INFO - duration: 0.9798814979949384 MAIN: 2026-09-07 14:35:06,021 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/35' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:36:05,515 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:36:05,816 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:36:06,265 - INFO - taking picture MAIN: 2026-09-07 14:36:06,265 - INFO - we take 486 photos in this while loop MAIN: 2026-09-07 14:36:06,266 - INFO - /home/pi/Desktop/images/07092026/14/35/image_07092026_14_36_05_60222.jpg MAIN: 2026-09-07 14:36:06,266 - INFO - duration: 1.0026960800023517 MAIN: 2026-09-07 14:36:06,267 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/36' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:37:04,783 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:37:05,651 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:37:06,359 - INFO - taking picture MAIN: 2026-09-07 14:37:06,359 - INFO - we take 487 photos in this while loop MAIN: 2026-09-07 14:37:06,360 - INFO - /home/pi/Desktop/images/07092026/14/36/image_07092026_14_37_05_60104.jpg MAIN: 2026-09-07 14:37:06,360 - INFO - duration: 0.9916677490036818 MAIN: 2026-09-07 14:37:06,360 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/37' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:38:05,091 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:38:05,731 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:38:06,442 - INFO - taking picture MAIN: 2026-09-07 14:38:06,442 - INFO - we take 488 photos in this while loop MAIN: 2026-09-07 14:38:06,442 - INFO - /home/pi/Desktop/images/07092026/14/37/image_07092026_14_38_05_60140.jpg MAIN: 2026-09-07 14:38:06,442 - INFO - duration: 0.934318957006326 MAIN: 2026-09-07 14:38:06,443 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/38' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:39:04,918 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:39:05,701 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:39:06,413 - INFO - taking picture MAIN: 2026-09-07 14:39:06,413 - INFO - we take 489 photos in this while loop MAIN: 2026-09-07 14:39:06,413 - INFO - /home/pi/Desktop/images/07092026/14/38/image_07092026_14_39_05_59909.jpg MAIN: 2026-09-07 14:39:06,413 - INFO - duration: 0.9949954519979656 MAIN: 2026-09-07 14:39:06,413 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/39' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:40:05,682 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:40:05,918 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:40:06,633 - INFO - taking picture MAIN: 2026-09-07 14:40:06,634 - INFO - we take 490 photos in this while loop MAIN: 2026-09-07 14:40:06,634 - INFO - /home/pi/Desktop/images/07092026/14/39/image_07092026_14_40_05_60214.jpg MAIN: 2026-09-07 14:40:06,634 - INFO - duration: 1.0011198479987797 MAIN: 2026-09-07 14:40:06,634 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/40' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:41:05,197 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:41:06,051 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:41:06,768 - INFO - taking picture MAIN: 2026-09-07 14:41:06,768 - INFO - we take 491 photos in this while loop MAIN: 2026-09-07 14:41:06,769 - INFO - /home/pi/Desktop/images/07092026/14/40/image_07092026_14_41_06_60128.jpg MAIN: 2026-09-07 14:41:06,769 - INFO - duration: 1.0078251250015455 MAIN: 2026-09-07 14:41:06,769 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/41' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:42:05,092 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:42:05,453 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:42:05,818 - INFO - taking picture MAIN: 2026-09-07 14:42:05,818 - INFO - we take 492 photos in this while loop MAIN: 2026-09-07 14:42:05,819 - INFO - /home/pi/Desktop/images/07092026/14/41/image_07092026_14_42_05_59107.jpg MAIN: 2026-09-07 14:42:05,819 - INFO - duration: 0.9504423830003361 MAIN: 2026-09-07 14:42:05,819 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/42' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:43:05,175 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:43:05,806 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:43:05,895 - INFO - taking picture MAIN: 2026-09-07 14:43:05,895 - INFO - we take 493 photos in this while loop MAIN: 2026-09-07 14:43:05,895 - INFO - /home/pi/Desktop/images/07092026/14/42/image_07092026_14_43_05_60038.jpg MAIN: 2026-09-07 14:43:05,895 - INFO - duration: 0.9882618260016898 MAIN: 2026-09-07 14:43:05,896 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/43' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:44:05,073 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:44:05,328 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:44:06,046 - INFO - taking picture MAIN: 2026-09-07 14:44:06,046 - INFO - we take 494 photos in this while loop MAIN: 2026-09-07 14:44:06,046 - INFO - /home/pi/Desktop/images/07092026/14/43/image_07092026_14_44_05_60172.jpg MAIN: 2026-09-07 14:44:06,046 - INFO - duration: 0.9663049570008297 MAIN: 2026-09-07 14:44:06,046 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/44' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:45:05,016 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:45:05,565 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:45:06,375 - INFO - taking picture MAIN: 2026-09-07 14:45:06,375 - INFO - we take 495 photos in this while loop MAIN: 2026-09-07 14:45:06,376 - INFO - /home/pi/Desktop/images/07092026/14/44/image_07092026_14_45_05_60241.jpg MAIN: 2026-09-07 14:45:06,376 - INFO - duration: 1.0544787929975428 MAIN: 2026-09-07 14:45:06,376 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/45' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:46:05,066 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:46:05,289 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:46:05,792 - INFO - taking picture MAIN: 2026-09-07 14:46:05,793 - INFO - we take 496 photos in this while loop MAIN: 2026-09-07 14:46:05,793 - INFO - /home/pi/Desktop/images/07092026/14/45/image_07092026_14_46_05_59459.jpg MAIN: 2026-09-07 14:46:05,793 - INFO - duration: 1.0120442830011598 MAIN: 2026-09-07 14:46:05,793 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/46' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:47:05,175 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:47:05,329 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:47:06,057 - INFO - taking picture MAIN: 2026-09-07 14:47:06,058 - INFO - we take 497 photos in this while loop MAIN: 2026-09-07 14:47:06,058 - INFO - /home/pi/Desktop/images/07092026/14/46/image_07092026_14_47_05_60258.jpg MAIN: 2026-09-07 14:47:06,058 - INFO - duration: 1.0182193750006263 MAIN: 2026-09-07 14:47:06,058 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/47' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:48:04,885 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:48:05,588 - INFO - taking picture MAIN: 2026-09-07 14:48:05,588 - INFO - we take 498 photos in this while loop MAIN: 2026-09-07 14:48:05,588 - INFO - /home/pi/Desktop/images/07092026/14/47/image_07092026_14_48_04_59590.jpg MAIN: 2026-09-07 14:48:05,588 - INFO - duration: 0.9584881360060535 MAIN: 2026-09-07 14:48:05,589 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/48' MAIN: 2026-09-07 14:48:05,675 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:49:04,941 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:49:05,470 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:49:05,748 - INFO - taking picture MAIN: 2026-09-07 14:49:05,748 - INFO - we take 499 photos in this while loop MAIN: 2026-09-07 14:49:05,748 - INFO - /home/pi/Desktop/images/07092026/14/48/image_07092026_14_49_04_60025.jpg MAIN: 2026-09-07 14:49:05,748 - INFO - duration: 1.0931739110019407 MAIN: 2026-09-07 14:49:05,749 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/49' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:50:05,093 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:50:05,345 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:50:06,076 - INFO - taking picture MAIN: 2026-09-07 14:50:06,076 - INFO - we take 500 photos in this while loop MAIN: 2026-09-07 14:50:06,077 - INFO - /home/pi/Desktop/images/07092026/14/49/image_07092026_14_50_05_60449.jpg MAIN: 2026-09-07 14:50:06,077 - INFO - duration: 0.9726610899961088 MAIN: 2026-09-07 14:50:06,078 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/50' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:51:04,765 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:51:05,548 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:51:06,262 - INFO - taking picture MAIN: 2026-09-07 14:51:06,262 - INFO - we take 501 photos in this while loop MAIN: 2026-09-07 14:51:06,262 - INFO - /home/pi/Desktop/images/07092026/14/50/image_07092026_14_51_05_60161.jpg MAIN: 2026-09-07 14:51:06,262 - INFO - duration: 0.9961064399976749 MAIN: 2026-09-07 14:51:06,262 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/51' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:52:05,396 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:52:05,734 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:52:06,446 - INFO - taking picture MAIN: 2026-09-07 14:52:06,447 - INFO - we take 502 photos in this while loop MAIN: 2026-09-07 14:52:06,447 - INFO - /home/pi/Desktop/images/07092026/14/51/image_07092026_14_52_05_60211.jpg MAIN: 2026-09-07 14:52:06,447 - INFO - duration: 0.969411055004457 MAIN: 2026-09-07 14:52:06,447 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/52' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:53:04,988 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:53:05,901 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:53:06,613 - INFO - taking picture MAIN: 2026-09-07 14:53:06,614 - INFO - we take 503 photos in this while loop MAIN: 2026-09-07 14:53:06,614 - INFO - /home/pi/Desktop/images/07092026/14/52/image_07092026_14_53_05_60140.jpg MAIN: 2026-09-07 14:53:06,614 - INFO - duration: 0.9960404680023203 MAIN: 2026-09-07 14:53:06,614 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/53' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:54:04,850 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:54:05,336 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:54:05,605 - INFO - taking picture MAIN: 2026-09-07 14:54:05,606 - INFO - we take 504 photos in this while loop MAIN: 2026-09-07 14:54:05,606 - INFO - /home/pi/Desktop/images/07092026/14/53/image_07092026_14_54_04_58959.jpg MAIN: 2026-09-07 14:54:05,606 - INFO - duration: 1.0291412820006371 MAIN: 2026-09-07 14:54:05,606 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/54' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:55:05,418 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:55:05,814 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:55:06,161 - INFO - taking picture MAIN: 2026-09-07 14:55:06,161 - INFO - we take 505 photos in this while loop MAIN: 2026-09-07 14:55:06,161 - INFO - /home/pi/Desktop/images/07092026/14/54/image_07092026_14_55_05_60605.jpg MAIN: 2026-09-07 14:55:06,161 - INFO - duration: 0.9787468269933015 MAIN: 2026-09-07 14:55:06,162 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/55' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:56:05,533 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:56:05,687 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:56:06,251 - INFO - taking picture MAIN: 2026-09-07 14:56:06,251 - INFO - we take 506 photos in this while loop MAIN: 2026-09-07 14:56:06,251 - INFO - /home/pi/Desktop/images/07092026/14/55/image_07092026_14_56_05_60066.jpg MAIN: 2026-09-07 14:56:06,251 - INFO - duration: 1.002098015997035 MAIN: 2026-09-07 14:56:06,251 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/56' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:57:04,843 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:57:05,683 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:57:06,399 - INFO - taking picture MAIN: 2026-09-07 14:57:06,399 - INFO - we take 507 photos in this while loop MAIN: 2026-09-07 14:57:06,399 - INFO - /home/pi/Desktop/images/07092026/14/56/image_07092026_14_57_05_60179.jpg MAIN: 2026-09-07 14:57:06,399 - INFO - duration: 0.9710202259957441 MAIN: 2026-09-07 14:57:06,400 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/57' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:58:05,051 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:58:05,887 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:58:06,645 - INFO - taking picture MAIN: 2026-09-07 14:58:06,646 - INFO - we take 508 photos in this while loop MAIN: 2026-09-07 14:58:06,646 - INFO - /home/pi/Desktop/images/07092026/14/57/image_07092026_14_58_05_60186.jpg MAIN: 2026-09-07 14:58:06,646 - INFO - duration: 1.0308576749957865 MAIN: 2026-09-07 14:58:06,646 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/58' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 14:59:04,858 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 14:59:05,463 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 14:59:06,183 - INFO - taking picture MAIN: 2026-09-07 14:59:06,183 - INFO - we take 509 photos in this while loop MAIN: 2026-09-07 14:59:06,183 - INFO - /home/pi/Desktop/images/07092026/14/58/image_07092026_14_59_05_59622.jpg MAIN: 2026-09-07 14:59:06,184 - INFO - duration: 0.9457976670018979 MAIN: 2026-09-07 14:59:06,184 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/14/59' MAIN: 2026-09-07 15:00:05,389 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:00:06,206 - INFO - taking picture MAIN: 2026-09-07 15:00:06,206 - INFO - we take 510 photos in this while loop MAIN: 2026-09-07 15:00:06,206 - INFO - /home/pi/Desktop/images/07092026/14/59/image_07092026_15_00_05_59906.jpg MAIN: 2026-09-07 15:00:06,207 - INFO - duration: 1.0626418190004188 MAIN: 2026-09-07 15:00:06,207 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/00' MAIN: 2026-09-07 15:00:06,472 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:01:04,660 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:01:04,835 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:01:05,563 - INFO - taking picture MAIN: 2026-09-07 15:01:05,563 - INFO - we take 511 photos in this while loop MAIN: 2026-09-07 15:01:05,563 - INFO - /home/pi/Desktop/images/07092026/15/00/image_07092026_15_01_04_59414.jpg MAIN: 2026-09-07 15:01:05,563 - INFO - duration: 1.0047016899989103 MAIN: 2026-09-07 15:01:05,564 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/01' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:02:05,162 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:02:05,756 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:02:06,482 - INFO - taking picture MAIN: 2026-09-07 15:02:06,482 - INFO - we take 512 photos in this while loop MAIN: 2026-09-07 15:02:06,483 - INFO - /home/pi/Desktop/images/07092026/15/01/image_07092026_15_02_05_60953.jpg MAIN: 2026-09-07 15:02:06,483 - INFO - duration: 0.9709289279999211 MAIN: 2026-09-07 15:02:06,483 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/02' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:03:05,076 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:03:05,242 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:03:05,841 - INFO - taking picture MAIN: 2026-09-07 15:03:05,842 - INFO - we take 513 photos in this while loop MAIN: 2026-09-07 15:03:05,842 - INFO - /home/pi/Desktop/images/07092026/15/02/image_07092026_15_03_05_59332.jpg MAIN: 2026-09-07 15:03:05,842 - INFO - duration: 0.9981069380010013 MAIN: 2026-09-07 15:03:05,842 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/03' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:04:04,815 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:04:05,536 - INFO - taking picture MAIN: 2026-09-07 15:04:05,537 - INFO - we take 514 photos in this while loop MAIN: 2026-09-07 15:04:05,537 - INFO - /home/pi/Desktop/images/07092026/15/03/image_07092026_15_04_04_59681.jpg MAIN: 2026-09-07 15:04:05,537 - INFO - duration: 1.0118500079988735 MAIN: 2026-09-07 15:04:05,537 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/04' MAIN: 2026-09-07 15:04:05,599 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:05:05,109 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:05:05,643 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:05:05,880 - INFO - taking picture MAIN: 2026-09-07 15:05:05,880 - INFO - we take 515 photos in this while loop MAIN: 2026-09-07 15:05:05,880 - INFO - /home/pi/Desktop/images/07092026/15/04/image_07092026_15_05_05_60349.jpg MAIN: 2026-09-07 15:05:05,880 - INFO - duration: 1.0052963120033382 MAIN: 2026-09-07 15:05:05,880 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/05' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:06:05,041 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:06:05,671 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:06:06,422 - INFO - taking picture MAIN: 2026-09-07 15:06:06,423 - INFO - we take 516 photos in this while loop MAIN: 2026-09-07 15:06:06,423 - INFO - /home/pi/Desktop/images/07092026/15/05/image_07092026_15_06_05_60562.jpg MAIN: 2026-09-07 15:06:06,423 - INFO - duration: 0.9853154590018676 MAIN: 2026-09-07 15:06:06,423 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/06' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:07:04,707 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:07:05,006 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:07:05,733 - INFO - taking picture MAIN: 2026-09-07 15:07:05,733 - INFO - we take 517 photos in this while loop MAIN: 2026-09-07 15:07:05,733 - INFO - /home/pi/Desktop/images/07092026/15/06/image_07092026_15_07_05_59290.jpg MAIN: 2026-09-07 15:07:05,733 - INFO - duration: 1.004427432999364 MAIN: 2026-09-07 15:07:05,733 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/07' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:08:05,308 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:08:05,886 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:08:06,618 - INFO - taking picture MAIN: 2026-09-07 15:08:06,618 - INFO - we take 518 photos in this while loop MAIN: 2026-09-07 15:08:06,618 - INFO - /home/pi/Desktop/images/07092026/15/07/image_07092026_15_08_05_60923.jpg MAIN: 2026-09-07 15:08:06,618 - INFO - duration: 0.9664583729972946 MAIN: 2026-09-07 15:08:06,618 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/08' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:09:05,056 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:09:05,343 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:09:06,069 - INFO - taking picture MAIN: 2026-09-07 15:09:06,070 - INFO - we take 519 photos in this while loop MAIN: 2026-09-07 15:09:06,070 - INFO - /home/pi/Desktop/images/07092026/15/08/image_07092026_15_09_05_59403.jpg MAIN: 2026-09-07 15:09:06,070 - INFO - duration: 1.0151018360047601 MAIN: 2026-09-07 15:09:06,070 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/09' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:10:05,690 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:10:06,016 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:10:06,455 - INFO - taking picture MAIN: 2026-09-07 15:10:06,455 - INFO - we take 520 photos in this while loop MAIN: 2026-09-07 15:10:06,455 - INFO - /home/pi/Desktop/images/07092026/15/09/image_07092026_15_10_05_60349.jpg MAIN: 2026-09-07 15:10:06,455 - INFO - duration: 1.0513438859998132 MAIN: 2026-09-07 15:10:06,456 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/10' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:11:05,373 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:11:05,697 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:11:06,405 - INFO - taking picture MAIN: 2026-09-07 15:11:06,405 - INFO - we take 521 photos in this while loop MAIN: 2026-09-07 15:11:06,405 - INFO - /home/pi/Desktop/images/07092026/15/10/image_07092026_15_11_05_60031.jpg MAIN: 2026-09-07 15:11:06,405 - INFO - duration: 0.9698961719986983 MAIN: 2026-09-07 15:11:06,406 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/11' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:12:05,276 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:12:05,674 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:12:06,397 - INFO - taking picture MAIN: 2026-09-07 15:12:06,398 - INFO - we take 522 photos in this while loop MAIN: 2026-09-07 15:12:06,398 - INFO - /home/pi/Desktop/images/07092026/15/11/image_07092026_15_12_05_60007.jpg MAIN: 2026-09-07 15:12:06,398 - INFO - duration: 0.9547744100054842 MAIN: 2026-09-07 15:12:06,398 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/12' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:13:04,777 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:13:05,354 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:13:06,097 - INFO - taking picture MAIN: 2026-09-07 15:13:06,097 - INFO - we take 523 photos in this while loop MAIN: 2026-09-07 15:13:06,097 - INFO - /home/pi/Desktop/images/07092026/15/12/image_07092026_15_13_05_59687.jpg MAIN: 2026-09-07 15:13:06,097 - INFO - duration: 0.9665319359992282 MAIN: 2026-09-07 15:13:06,098 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/13' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:14:05,356 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:14:05,677 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:14:06,472 - INFO - taking picture MAIN: 2026-09-07 15:14:06,472 - INFO - we take 524 photos in this while loop MAIN: 2026-09-07 15:14:06,472 - INFO - /home/pi/Desktop/images/07092026/15/13/image_07092026_15_14_05_60245.jpg MAIN: 2026-09-07 15:14:06,472 - INFO - duration: 1.0956181140063563 MAIN: 2026-09-07 15:14:06,473 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/14' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:15:04,878 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:15:05,529 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:15:05,645 - INFO - taking picture MAIN: 2026-09-07 15:15:05,646 - INFO - we take 525 photos in this while loop MAIN: 2026-09-07 15:15:05,646 - INFO - /home/pi/Desktop/images/07092026/15/14/image_07092026_15_15_04_59270.jpg MAIN: 2026-09-07 15:15:05,647 - INFO - duration: 0.9994415339970146 MAIN: 2026-09-07 15:15:05,647 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/15' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:16:05,419 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:16:05,794 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:16:06,147 - INFO - taking picture MAIN: 2026-09-07 15:16:06,148 - INFO - we take 526 photos in this while loop MAIN: 2026-09-07 15:16:06,148 - INFO - /home/pi/Desktop/images/07092026/15/15/image_07092026_15_16_05_60517.jpg MAIN: 2026-09-07 15:16:06,148 - INFO - duration: 0.9836330689940951 MAIN: 2026-09-07 15:16:06,148 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/16' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:17:05,562 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:17:05,658 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:17:06,287 - INFO - taking picture MAIN: 2026-09-07 15:17:06,288 - INFO - we take 527 photos in this while loop MAIN: 2026-09-07 15:17:06,288 - INFO - /home/pi/Desktop/images/07092026/15/16/image_07092026_15_17_05_60116.jpg MAIN: 2026-09-07 15:17:06,288 - INFO - duration: 1.0074454260029597 MAIN: 2026-09-07 15:17:06,288 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/17' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:18:04,813 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:18:05,043 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:18:05,546 - INFO - taking picture MAIN: 2026-09-07 15:18:05,546 - INFO - we take 528 photos in this while loop MAIN: 2026-09-07 15:18:05,546 - INFO - /home/pi/Desktop/images/07092026/15/17/image_07092026_15_18_04_59247.jpg MAIN: 2026-09-07 15:18:05,547 - INFO - duration: 1.019189775994164 MAIN: 2026-09-07 15:18:05,547 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/18' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:19:05,034 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:19:05,161 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:19:05,882 - INFO - taking picture MAIN: 2026-09-07 15:19:05,882 - INFO - we take 529 photos in this while loop MAIN: 2026-09-07 15:19:05,883 - INFO - /home/pi/Desktop/images/07092026/15/18/image_07092026_15_19_05_60326.jpg MAIN: 2026-09-07 15:19:05,883 - INFO - duration: 1.0287116899999091 MAIN: 2026-09-07 15:19:05,883 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/19' MAIN: 2026-09-07 15:20:04,804 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:20:05,579 - INFO - taking picture MAIN: 2026-09-07 15:20:05,580 - INFO - we take 530 photos in this while loop MAIN: 2026-09-07 15:20:05,580 - INFO - /home/pi/Desktop/images/07092026/15/19/image_07092026_15_20_04_59695.jpg MAIN: 2026-09-07 15:20:05,580 - INFO - duration: 1.0307740599964745 MAIN: 2026-09-07 15:20:05,580 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/20' MAIN: 2026-09-07 15:20:05,828 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:21:05,057 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:21:05,328 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:21:05,774 - INFO - taking picture MAIN: 2026-09-07 15:21:05,775 - INFO - we take 531 photos in this while loop MAIN: 2026-09-07 15:21:05,775 - INFO - /home/pi/Desktop/images/07092026/15/20/image_07092026_15_21_05_60256.jpg MAIN: 2026-09-07 15:21:05,775 - INFO - duration: 0.9695770060061477 MAIN: 2026-09-07 15:21:05,775 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/21' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:22:05,343 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:22:05,697 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:22:06,057 - INFO - taking picture MAIN: 2026-09-07 15:22:06,057 - INFO - we take 532 photos in this while loop MAIN: 2026-09-07 15:22:06,057 - INFO - /home/pi/Desktop/images/07092026/15/21/image_07092026_15_22_05_60266.jpg MAIN: 2026-09-07 15:22:06,057 - INFO - duration: 0.9855631600003107 MAIN: 2026-09-07 15:22:06,058 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/22' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:23:05,433 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:23:05,617 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:23:06,338 - INFO - taking picture MAIN: 2026-09-07 15:23:06,338 - INFO - we take 533 photos in this while loop MAIN: 2026-09-07 15:23:06,338 - INFO - /home/pi/Desktop/images/07092026/15/22/image_07092026_15_23_05_60273.jpg MAIN: 2026-09-07 15:23:06,338 - INFO - duration: 0.9929720420041122 MAIN: 2026-09-07 15:23:06,339 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/23' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:24:04,910 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:24:05,012 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:24:05,703 - INFO - taking picture MAIN: 2026-09-07 15:24:05,703 - INFO - we take 534 photos in this while loop MAIN: 2026-09-07 15:24:05,703 - INFO - /home/pi/Desktop/images/07092026/15/23/image_07092026_15_24_04_59279.jpg MAIN: 2026-09-07 15:24:05,703 - INFO - duration: 1.078308621996257 MAIN: 2026-09-07 15:24:05,704 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/24' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:25:04,883 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:25:05,988 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:25:06,708 - INFO - taking picture MAIN: 2026-09-07 15:25:06,709 - INFO - we take 535 photos in this while loop MAIN: 2026-09-07 15:25:06,709 - INFO - /home/pi/Desktop/images/07092026/15/24/image_07092026_15_25_05_61090.jpg MAIN: 2026-09-07 15:25:06,709 - INFO - duration: 0.9938254430016968 MAIN: 2026-09-07 15:25:06,709 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/25' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:26:05,337 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:26:05,629 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:26:06,346 - INFO - taking picture MAIN: 2026-09-07 15:26:06,346 - INFO - we take 536 photos in this while loop MAIN: 2026-09-07 15:26:06,346 - INFO - /home/pi/Desktop/images/07092026/15/25/image_07092026_15_26_05_59645.jpg MAIN: 2026-09-07 15:26:06,346 - INFO - duration: 0.9859414769962314 MAIN: 2026-09-07 15:26:06,346 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/26' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:27:04,967 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:27:05,257 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:27:05,696 - INFO - taking picture MAIN: 2026-09-07 15:27:05,697 - INFO - we take 537 photos in this while loop MAIN: 2026-09-07 15:27:05,697 - INFO - /home/pi/Desktop/images/07092026/15/26/image_07092026_15_27_04_59325.jpg MAIN: 2026-09-07 15:27:05,697 - INFO - duration: 1.010989164999046 MAIN: 2026-09-07 15:27:05,697 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/27' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:28:05,443 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:28:05,513 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:28:06,225 - INFO - taking picture MAIN: 2026-09-07 15:28:06,225 - INFO - we take 538 photos in this while loop MAIN: 2026-09-07 15:28:06,225 - INFO - /home/pi/Desktop/images/07092026/15/27/image_07092026_15_28_05_60492.jpg MAIN: 2026-09-07 15:28:06,225 - INFO - duration: 1.0470710250010598 MAIN: 2026-09-07 15:28:06,225 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/28' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:29:05,347 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:29:05,488 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:29:06,192 - INFO - taking picture MAIN: 2026-09-07 15:29:06,192 - INFO - we take 539 photos in this while loop MAIN: 2026-09-07 15:29:06,192 - INFO - /home/pi/Desktop/images/07092026/15/28/image_07092026_15_29_05_60005.jpg MAIN: 2026-09-07 15:29:06,192 - INFO - duration: 1.0080223090044456 MAIN: 2026-09-07 15:29:06,192 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/29' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:30:05,763 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:30:06,160 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:30:06,524 - INFO - taking picture MAIN: 2026-09-07 15:30:06,525 - INFO - we take 540 photos in this while loop MAIN: 2026-09-07 15:30:06,525 - INFO - /home/pi/Desktop/images/07092026/15/29/image_07092026_15_30_05_60312.jpg MAIN: 2026-09-07 15:30:06,525 - INFO - duration: 1.0281054459992447 MAIN: 2026-09-07 15:30:06,525 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/30' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:31:04,586 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:31:06,027 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:31:06,751 - INFO - taking picture MAIN: 2026-09-07 15:31:06,751 - INFO - we take 541 photos in this while loop MAIN: 2026-09-07 15:31:06,751 - INFO - /home/pi/Desktop/images/07092026/15/30/image_07092026_15_31_06_60239.jpg MAIN: 2026-09-07 15:31:06,752 - INFO - duration: 1.0154403760025161 MAIN: 2026-09-07 15:31:06,752 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/31' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:32:05,014 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:32:05,419 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:32:06,139 - INFO - taking picture MAIN: 2026-09-07 15:32:06,140 - INFO - we take 542 photos in this while loop MAIN: 2026-09-07 15:32:06,140 - INFO - /home/pi/Desktop/images/07092026/15/31/image_07092026_15_32_05_59452.jpg MAIN: 2026-09-07 15:32:06,140 - INFO - duration: 0.9516211349982768 MAIN: 2026-09-07 15:32:06,140 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/32' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:33:05,052 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:33:05,921 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:33:06,634 - INFO - taking picture MAIN: 2026-09-07 15:33:06,634 - INFO - we take 543 photos in this while loop MAIN: 2026-09-07 15:33:06,634 - INFO - /home/pi/Desktop/images/07092026/15/32/image_07092026_15_33_05_60458.jpg MAIN: 2026-09-07 15:33:06,635 - INFO - duration: 0.987902421002218 MAIN: 2026-09-07 15:33:06,635 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/33' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:34:05,298 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:34:05,701 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:34:06,024 - INFO - taking picture MAIN: 2026-09-07 15:34:06,024 - INFO - we take 544 photos in this while loop MAIN: 2026-09-07 15:34:06,024 - INFO - /home/pi/Desktop/images/07092026/15/33/image_07092026_15_34_05_59365.jpg MAIN: 2026-09-07 15:34:06,025 - INFO - duration: 1.0127324940040126 MAIN: 2026-09-07 15:34:06,025 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/34' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:35:05,747 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:35:05,884 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:35:06,470 - INFO - taking picture MAIN: 2026-09-07 15:35:06,470 - INFO - we take 545 photos in this while loop MAIN: 2026-09-07 15:35:06,470 - INFO - /home/pi/Desktop/images/07092026/15/34/image_07092026_15_35_05_60485.jpg MAIN: 2026-09-07 15:35:06,470 - INFO - duration: 0.9725990110018756 MAIN: 2026-09-07 15:35:06,470 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/35' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:36:04,884 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:36:04,935 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:36:05,655 - INFO - taking picture MAIN: 2026-09-07 15:36:05,655 - INFO - we take 546 photos in this while loop MAIN: 2026-09-07 15:36:05,655 - INFO - /home/pi/Desktop/images/07092026/15/35/image_07092026_15_36_04_59130.jpg MAIN: 2026-09-07 15:36:05,655 - INFO - duration: 1.0270645639975555 MAIN: 2026-09-07 15:36:05,656 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/36' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:37:04,867 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:37:05,541 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:37:06,253 - INFO - taking picture MAIN: 2026-09-07 15:37:06,253 - INFO - we take 547 photos in this while loop MAIN: 2026-09-07 15:37:06,253 - INFO - /home/pi/Desktop/images/07092026/15/36/image_07092026_15_37_05_60634.jpg MAIN: 2026-09-07 15:37:06,254 - INFO - duration: 0.9903442499999073 MAIN: 2026-09-07 15:37:06,254 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/37' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:38:05,414 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:38:05,674 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:38:06,371 - INFO - taking picture MAIN: 2026-09-07 15:38:06,371 - INFO - we take 548 photos in this while loop MAIN: 2026-09-07 15:38:06,371 - INFO - /home/pi/Desktop/images/07092026/15/37/image_07092026_15_38_05_60173.jpg MAIN: 2026-09-07 15:38:06,371 - INFO - duration: 0.9349685459965258 MAIN: 2026-09-07 15:38:06,372 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/38' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:39:05,181 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:39:05,998 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:39:06,695 - INFO - taking picture MAIN: 2026-09-07 15:39:06,696 - INFO - we take 549 photos in this while loop MAIN: 2026-09-07 15:39:06,696 - INFO - /home/pi/Desktop/images/07092026/15/38/image_07092026_15_39_05_60282.jpg MAIN: 2026-09-07 15:39:06,696 - INFO - duration: 0.9769482459960273 MAIN: 2026-09-07 15:39:06,696 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/39' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:40:05,082 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:40:05,816 - INFO - taking picture MAIN: 2026-09-07 15:40:05,816 - INFO - we take 550 photos in this while loop MAIN: 2026-09-07 15:40:05,816 - INFO - /home/pi/Desktop/images/07092026/15/39/image_07092026_15_40_05_59105.jpg MAIN: 2026-09-07 15:40:05,816 - INFO - duration: 0.9924917269963771 MAIN: 2026-09-07 15:40:05,817 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/40' MAIN: 2026-09-07 15:40:05,976 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:41:04,657 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:41:05,348 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:41:06,118 - INFO - taking picture MAIN: 2026-09-07 15:41:06,119 - INFO - we take 551 photos in this while loop MAIN: 2026-09-07 15:41:06,119 - INFO - /home/pi/Desktop/images/07092026/15/40/image_07092026_15_41_05_60251.jpg MAIN: 2026-09-07 15:41:06,119 - INFO - duration: 1.0432910019953852 MAIN: 2026-09-07 15:41:06,119 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/41' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:42:04,951 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:42:05,739 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:42:06,557 - INFO - taking picture MAIN: 2026-09-07 15:42:06,558 - INFO - we take 552 photos in this while loop MAIN: 2026-09-07 15:42:06,558 - INFO - /home/pi/Desktop/images/07092026/15/41/image_07092026_15_42_05_60412.jpg MAIN: 2026-09-07 15:42:06,558 - INFO - duration: 1.0696358869972755 MAIN: 2026-09-07 15:42:06,558 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/42' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:43:04,957 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:43:05,083 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:43:05,849 - INFO - taking picture MAIN: 2026-09-07 15:43:05,849 - INFO - we take 553 photos in this while loop MAIN: 2026-09-07 15:43:05,849 - INFO - /home/pi/Desktop/images/07092026/15/42/image_07092026_15_43_05_59282.jpg MAIN: 2026-09-07 15:43:05,849 - INFO - duration: 1.078288615004567 MAIN: 2026-09-07 15:43:05,849 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/43' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:44:05,214 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:44:05,413 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:44:05,964 - INFO - taking picture MAIN: 2026-09-07 15:44:05,964 - INFO - we take 554 photos in this while loop MAIN: 2026-09-07 15:44:05,964 - INFO - /home/pi/Desktop/images/07092026/15/43/image_07092026_15_44_05_60160.jpg MAIN: 2026-09-07 15:44:05,964 - INFO - duration: 1.0325354599990533 MAIN: 2026-09-07 15:44:05,965 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/44' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:45:05,410 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:45:05,501 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:45:06,143 - INFO - taking picture MAIN: 2026-09-07 15:45:06,144 - INFO - we take 555 photos in this while loop MAIN: 2026-09-07 15:45:06,144 - INFO - /home/pi/Desktop/images/07092026/15/44/image_07092026_15_45_05_60204.jpg MAIN: 2026-09-07 15:45:06,144 - INFO - duration: 1.0079826019937173 MAIN: 2026-09-07 15:45:06,144 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/45' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:46:05,481 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:46:05,723 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:46:06,197 - INFO - taking picture MAIN: 2026-09-07 15:46:06,197 - INFO - we take 556 photos in this while loop MAIN: 2026-09-07 15:46:06,197 - INFO - /home/pi/Desktop/images/07092026/15/45/image_07092026_15_46_05_60064.jpg MAIN: 2026-09-07 15:46:06,198 - INFO - duration: 0.9966980829995009 MAIN: 2026-09-07 15:46:06,198 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/46' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:47:04,578 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:47:05,690 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:47:06,386 - INFO - taking picture MAIN: 2026-09-07 15:47:06,386 - INFO - we take 557 photos in this while loop MAIN: 2026-09-07 15:47:06,387 - INFO - /home/pi/Desktop/images/07092026/15/46/image_07092026_15_47_05_60211.jpg MAIN: 2026-09-07 15:47:06,387 - INFO - duration: 0.9741014399987762 MAIN: 2026-09-07 15:47:06,387 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/47' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:48:05,061 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:48:05,747 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:48:06,472 - INFO - taking picture MAIN: 2026-09-07 15:48:06,472 - INFO - we take 558 photos in this while loop MAIN: 2026-09-07 15:48:06,473 - INFO - /home/pi/Desktop/images/07092026/15/47/image_07092026_15_48_05_60087.jpg MAIN: 2026-09-07 15:48:06,473 - INFO - duration: 0.9726570589991752 MAIN: 2026-09-07 15:48:06,473 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/48' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:49:04,939 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:49:05,776 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:49:06,471 - INFO - taking picture MAIN: 2026-09-07 15:49:06,471 - INFO - we take 559 photos in this while loop MAIN: 2026-09-07 15:49:06,472 - INFO - /home/pi/Desktop/images/07092026/15/48/image_07092026_15_49_05_60015.jpg MAIN: 2026-09-07 15:49:06,472 - INFO - duration: 0.9560754869962693 MAIN: 2026-09-07 15:49:06,472 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/49' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:50:05,227 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:50:05,703 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:50:05,994 - INFO - taking picture MAIN: 2026-09-07 15:50:05,994 - INFO - we take 560 photos in this while loop MAIN: 2026-09-07 15:50:05,995 - INFO - /home/pi/Desktop/images/07092026/15/49/image_07092026_15_50_05_59434.jpg MAIN: 2026-09-07 15:50:05,995 - INFO - duration: 1.044952705000469 MAIN: 2026-09-07 15:50:05,995 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/50' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:51:05,236 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:51:05,622 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:51:06,329 - INFO - taking picture MAIN: 2026-09-07 15:51:06,329 - INFO - we take 561 photos in this while loop MAIN: 2026-09-07 15:51:06,330 - INFO - /home/pi/Desktop/images/07092026/15/50/image_07092026_15_51_05_60431.jpg MAIN: 2026-09-07 15:51:06,330 - INFO - duration: 0.9481162070005666 MAIN: 2026-09-07 15:51:06,330 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/51' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:52:05,736 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:52:05,897 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:52:06,502 - INFO - taking picture MAIN: 2026-09-07 15:52:06,502 - INFO - we take 562 photos in this while loop MAIN: 2026-09-07 15:52:06,503 - INFO - /home/pi/Desktop/images/07092026/15/51/image_07092026_15_52_05_60100.jpg MAIN: 2026-09-07 15:52:06,503 - INFO - duration: 1.0201985320018139 MAIN: 2026-09-07 15:52:06,503 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/52' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:53:04,597 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:53:05,656 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:53:06,354 - INFO - taking picture MAIN: 2026-09-07 15:53:06,355 - INFO - we take 563 photos in this while loop MAIN: 2026-09-07 15:53:06,355 - INFO - /home/pi/Desktop/images/07092026/15/52/image_07092026_15_53_05_59921.jpg MAIN: 2026-09-07 15:53:06,355 - INFO - duration: 0.9510354599988204 MAIN: 2026-09-07 15:53:06,355 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/53' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:54:05,148 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:54:05,764 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:54:06,524 - INFO - taking picture MAIN: 2026-09-07 15:54:06,524 - INFO - we take 564 photos in this while loop MAIN: 2026-09-07 15:54:06,525 - INFO - /home/pi/Desktop/images/07092026/15/53/image_07092026_15_54_05_60128.jpg MAIN: 2026-09-07 15:54:06,525 - INFO - duration: 0.9925598599947989 MAIN: 2026-09-07 15:54:06,525 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/54' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:55:05,221 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:55:05,407 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:55:05,947 - INFO - taking picture MAIN: 2026-09-07 15:55:05,948 - INFO - we take 565 photos in this while loop MAIN: 2026-09-07 15:55:05,948 - INFO - /home/pi/Desktop/images/07092026/15/54/image_07092026_15_55_05_59458.jpg MAIN: 2026-09-07 15:55:05,948 - INFO - duration: 0.9574701940000523 MAIN: 2026-09-07 15:55:05,948 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/55' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:56:04,793 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:56:05,589 - INFO - taking picture MAIN: 2026-09-07 15:56:05,589 - INFO - we take 566 photos in this while loop MAIN: 2026-09-07 15:56:05,590 - INFO - /home/pi/Desktop/images/07092026/15/55/image_07092026_15_56_04_59535.jpg MAIN: 2026-09-07 15:56:05,590 - INFO - duration: 1.063740723002411 MAIN: 2026-09-07 15:56:05,590 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/56' MAIN: 2026-09-07 15:56:05,686 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:57:05,164 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:57:05,479 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:57:05,879 - INFO - taking picture MAIN: 2026-09-07 15:57:05,880 - INFO - we take 567 photos in this while loop MAIN: 2026-09-07 15:57:05,880 - INFO - /home/pi/Desktop/images/07092026/15/56/image_07092026_15_57_05_60362.jpg MAIN: 2026-09-07 15:57:05,880 - INFO - duration: 0.9912072799997986 MAIN: 2026-09-07 15:57:05,880 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/57' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:58:05,245 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:58:05,862 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:58:05,964 - INFO - taking picture MAIN: 2026-09-07 15:58:05,964 - INFO - we take 568 photos in this while loop MAIN: 2026-09-07 15:58:05,964 - INFO - /home/pi/Desktop/images/07092026/15/57/image_07092026_15_58_05_60091.jpg MAIN: 2026-09-07 15:58:05,964 - INFO - duration: 0.984261506004259 MAIN: 2026-09-07 15:58:05,965 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/58' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 15:59:05,098 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 15:59:05,283 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 15:59:05,868 - INFO - taking picture MAIN: 2026-09-07 15:59:05,868 - INFO - we take 569 photos in this while loop MAIN: 2026-09-07 15:59:05,868 - INFO - /home/pi/Desktop/images/07092026/15/58/image_07092026_15_59_05_59868.jpg MAIN: 2026-09-07 15:59:05,868 - INFO - duration: 1.019797072003712 MAIN: 2026-09-07 15:59:05,868 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/15/59' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:00:05,227 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:00:05,728 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:00:05,942 - INFO - taking picture MAIN: 2026-09-07 16:00:05,943 - INFO - we take 570 photos in this while loop MAIN: 2026-09-07 16:00:05,943 - INFO - /home/pi/Desktop/images/07092026/15/59/image_07092026_16_00_05_60157.jpg MAIN: 2026-09-07 16:00:05,943 - INFO - duration: 0.9374610790036968 MAIN: 2026-09-07 16:00:05,943 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/00' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:01:04,973 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:01:05,488 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:01:06,226 - INFO - taking picture MAIN: 2026-09-07 16:01:06,227 - INFO - we take 571 photos in this while loop MAIN: 2026-09-07 16:01:06,227 - INFO - /home/pi/Desktop/images/07092026/16/00/image_07092026_16_01_05_60247.jpg MAIN: 2026-09-07 16:01:06,227 - INFO - duration: 0.9744238760031294 MAIN: 2026-09-07 16:01:06,227 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/01' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:02:05,359 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:02:05,525 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:02:06,071 - INFO - taking picture MAIN: 2026-09-07 16:02:06,071 - INFO - we take 572 photos in this while loop MAIN: 2026-09-07 16:02:06,071 - INFO - /home/pi/Desktop/images/07092026/16/01/image_07092026_16_02_05_59843.jpg MAIN: 2026-09-07 16:02:06,071 - INFO - duration: 0.9755391239959863 MAIN: 2026-09-07 16:02:06,071 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/02' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:03:05,349 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:03:05,365 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:03:06,077 - INFO - taking picture MAIN: 2026-09-07 16:03:06,077 - INFO - we take 573 photos in this while loop MAIN: 2026-09-07 16:03:06,077 - INFO - /home/pi/Desktop/images/07092026/16/02/image_07092026_16_03_05_59990.jpg MAIN: 2026-09-07 16:03:06,077 - INFO - duration: 0.9911254269973142 MAIN: 2026-09-07 16:03:06,078 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/03' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:04:05,601 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:04:05,639 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:04:06,388 - INFO - taking picture MAIN: 2026-09-07 16:04:06,389 - INFO - we take 574 photos in this while loop MAIN: 2026-09-07 16:04:06,389 - INFO - /home/pi/Desktop/images/07092026/16/03/image_07092026_16_04_05_60246.jpg MAIN: 2026-09-07 16:04:06,389 - INFO - duration: 1.0563612900004955 MAIN: 2026-09-07 16:04:06,389 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/04' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:05:04,935 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:05:05,708 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:05:06,416 - INFO - taking picture MAIN: 2026-09-07 16:05:06,416 - INFO - we take 575 photos in this while loop MAIN: 2026-09-07 16:05:06,416 - INFO - /home/pi/Desktop/images/07092026/16/04/image_07092026_16_05_05_60112.jpg MAIN: 2026-09-07 16:05:06,417 - INFO - duration: 0.9710049639979843 MAIN: 2026-09-07 16:05:06,417 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/05' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:06:04,923 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:06:05,740 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:06:06,500 - INFO - taking picture MAIN: 2026-09-07 16:06:06,501 - INFO - we take 576 photos in this while loop MAIN: 2026-09-07 16:06:06,501 - INFO - /home/pi/Desktop/images/07092026/16/05/image_07092026_16_06_05_60071.jpg MAIN: 2026-09-07 16:06:06,501 - INFO - duration: 0.9834809419990052 MAIN: 2026-09-07 16:06:06,501 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/06' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:07:05,079 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:07:05,869 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:07:06,579 - INFO - taking picture MAIN: 2026-09-07 16:07:06,579 - INFO - we take 577 photos in this while loop MAIN: 2026-09-07 16:07:06,579 - INFO - /home/pi/Desktop/images/07092026/16/06/image_07092026_16_07_05_60094.jpg MAIN: 2026-09-07 16:07:06,579 - INFO - duration: 0.9670024059960269 MAIN: 2026-09-07 16:07:06,579 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/07' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:08:05,065 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:08:05,311 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:08:05,783 - INFO - taking picture MAIN: 2026-09-07 16:08:05,783 - INFO - we take 578 photos in this while loop MAIN: 2026-09-07 16:08:05,783 - INFO - /home/pi/Desktop/images/07092026/16/07/image_07092026_16_08_05_59172.jpg MAIN: 2026-09-07 16:08:05,783 - INFO - duration: 0.9982748340044054 MAIN: 2026-09-07 16:08:05,784 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/08' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:09:05,080 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:09:05,401 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:09:06,179 - INFO - taking picture MAIN: 2026-09-07 16:09:06,179 - INFO - we take 579 photos in this while loop MAIN: 2026-09-07 16:09:06,179 - INFO - /home/pi/Desktop/images/07092026/16/08/image_07092026_16_09_05_60341.jpg MAIN: 2026-09-07 16:09:06,179 - INFO - duration: 1.052710919000674 MAIN: 2026-09-07 16:09:06,179 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/09' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:10:05,087 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:10:05,837 - INFO - taking picture MAIN: 2026-09-07 16:10:05,838 - INFO - we take 580 photos in this while loop MAIN: 2026-09-07 16:10:05,838 - INFO - /home/pi/Desktop/images/07092026/16/09/image_07092026_16_10_05_59725.jpg MAIN: 2026-09-07 16:10:05,838 - INFO - duration: 0.9862109890018473 MAIN: 2026-09-07 16:10:05,839 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/10' MAIN: 2026-09-07 16:10:05,931 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:11:04,692 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:11:05,316 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:11:06,020 - INFO - taking picture MAIN: 2026-09-07 16:11:06,020 - INFO - we take 581 photos in this while loop MAIN: 2026-09-07 16:11:06,021 - INFO - /home/pi/Desktop/images/07092026/16/10/image_07092026_16_11_05_60216.jpg MAIN: 2026-09-07 16:11:06,021 - INFO - duration: 0.9518298390030395 MAIN: 2026-09-07 16:11:06,021 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/11' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:12:05,257 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:12:05,644 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:12:06,352 - INFO - taking picture MAIN: 2026-09-07 16:12:06,353 - INFO - we take 582 photos in this while loop MAIN: 2026-09-07 16:12:06,353 - INFO - /home/pi/Desktop/images/07092026/16/11/image_07092026_16_12_05_60334.jpg MAIN: 2026-09-07 16:12:06,353 - INFO - duration: 0.9492717969988007 MAIN: 2026-09-07 16:12:06,353 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/12' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:13:05,215 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:13:05,830 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:13:06,579 - INFO - taking picture MAIN: 2026-09-07 16:13:06,580 - INFO - we take 583 photos in this while loop MAIN: 2026-09-07 16:13:06,580 - INFO - /home/pi/Desktop/images/07092026/16/12/image_07092026_16_13_05_60190.jpg MAIN: 2026-09-07 16:13:06,580 - INFO - duration: 0.9855665239956579 MAIN: 2026-09-07 16:13:06,580 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/13' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:14:05,382 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:14:06,016 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:14:06,786 - INFO - taking picture MAIN: 2026-09-07 16:14:06,786 - INFO - we take 584 photos in this while loop MAIN: 2026-09-07 16:14:06,787 - INFO - /home/pi/Desktop/images/07092026/16/13/image_07092026_16_14_06_60168.jpg MAIN: 2026-09-07 16:14:06,787 - INFO - duration: 1.024076283996692 MAIN: 2026-09-07 16:14:06,787 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/14' MAIN: 2026-09-07 16:15:05,023 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:15:05,767 - INFO - taking picture MAIN: 2026-09-07 16:15:05,767 - INFO - we take 585 photos in this while loop MAIN: 2026-09-07 16:15:05,767 - INFO - /home/pi/Desktop/images/07092026/16/14/image_07092026_16_15_05_58995.jpg MAIN: 2026-09-07 16:15:05,767 - INFO - duration: 1.0091369849978946 MAIN: 2026-09-07 16:15:05,767 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/15' MAIN: 2026-09-07 16:15:06,041 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:16:05,337 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:16:05,648 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:16:06,053 - INFO - taking picture MAIN: 2026-09-07 16:16:06,053 - INFO - we take 586 photos in this while loop MAIN: 2026-09-07 16:16:06,053 - INFO - /home/pi/Desktop/images/07092026/16/15/image_07092026_16_16_05_60293.jpg MAIN: 2026-09-07 16:16:06,053 - INFO - duration: 1.0022078639958636 MAIN: 2026-09-07 16:16:06,054 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/16' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:17:05,589 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:17:05,616 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:17:06,305 - INFO - taking picture MAIN: 2026-09-07 16:17:06,305 - INFO - we take 587 photos in this while loop MAIN: 2026-09-07 16:17:06,306 - INFO - /home/pi/Desktop/images/07092026/16/16/image_07092026_16_17_05_60274.jpg MAIN: 2026-09-07 16:17:06,306 - INFO - duration: 0.980336909997277 MAIN: 2026-09-07 16:17:06,306 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/17' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:18:05,120 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:18:05,783 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:18:06,538 - INFO - taking picture MAIN: 2026-09-07 16:18:06,538 - INFO - we take 588 photos in this while loop MAIN: 2026-09-07 16:18:06,538 - INFO - /home/pi/Desktop/images/07092026/16/17/image_07092026_16_18_05_60233.jpg MAIN: 2026-09-07 16:18:06,538 - INFO - duration: 0.9792288870012271 MAIN: 2026-09-07 16:18:06,538 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/18' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:19:04,833 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:19:04,961 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:19:05,671 - INFO - taking picture MAIN: 2026-09-07 16:19:05,671 - INFO - we take 589 photos in this while loop MAIN: 2026-09-07 16:19:05,671 - INFO - /home/pi/Desktop/images/07092026/16/18/image_07092026_16_19_04_59117.jpg MAIN: 2026-09-07 16:19:05,671 - INFO - duration: 0.9944394900012412 MAIN: 2026-09-07 16:19:05,672 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/19' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:20:05,406 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:20:05,623 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:20:06,193 - INFO - taking picture MAIN: 2026-09-07 16:20:06,194 - INFO - we take 590 photos in this while loop MAIN: 2026-09-07 16:20:06,194 - INFO - /home/pi/Desktop/images/07092026/16/19/image_07092026_16_20_05_60473.jpg MAIN: 2026-09-07 16:20:06,194 - INFO - duration: 1.0435739509994164 MAIN: 2026-09-07 16:20:06,194 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/20' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:21:05,312 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:21:05,585 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:21:06,295 - INFO - taking picture MAIN: 2026-09-07 16:21:06,295 - INFO - we take 591 photos in this while loop MAIN: 2026-09-07 16:21:06,296 - INFO - /home/pi/Desktop/images/07092026/16/20/image_07092026_16_21_05_60150.jpg MAIN: 2026-09-07 16:21:06,296 - INFO - duration: 0.9940976819998468 MAIN: 2026-09-07 16:21:06,296 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/21' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:22:05,637 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:22:05,663 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:22:06,352 - INFO - taking picture MAIN: 2026-09-07 16:22:06,352 - INFO - we take 592 photos in this while loop MAIN: 2026-09-07 16:22:06,353 - INFO - /home/pi/Desktop/images/07092026/16/21/image_07092026_16_22_05_60064.jpg MAIN: 2026-09-07 16:22:06,353 - INFO - duration: 0.9865736110004946 MAIN: 2026-09-07 16:22:06,353 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/22' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:23:05,694 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:23:05,780 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:23:06,457 - INFO - taking picture MAIN: 2026-09-07 16:23:06,457 - INFO - we take 593 photos in this while loop MAIN: 2026-09-07 16:23:06,458 - INFO - /home/pi/Desktop/images/07092026/16/22/image_07092026_16_23_05_60036.jpg MAIN: 2026-09-07 16:23:06,458 - INFO - duration: 1.0550896269996883 MAIN: 2026-09-07 16:23:06,458 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/23' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:24:05,228 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:24:05,431 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:24:06,135 - INFO - taking picture MAIN: 2026-09-07 16:24:06,135 - INFO - we take 594 photos in this while loop MAIN: 2026-09-07 16:24:06,135 - INFO - /home/pi/Desktop/images/07092026/16/23/image_07092026_16_24_05_59756.jpg MAIN: 2026-09-07 16:24:06,136 - INFO - duration: 0.9762182060003397 MAIN: 2026-09-07 16:24:06,136 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/24' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:25:05,001 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:25:05,541 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:25:06,279 - INFO - taking picture MAIN: 2026-09-07 16:25:06,279 - INFO - we take 595 photos in this while loop MAIN: 2026-09-07 16:25:06,280 - INFO - /home/pi/Desktop/images/07092026/16/24/image_07092026_16_25_05_60143.jpg MAIN: 2026-09-07 16:25:06,280 - INFO - duration: 0.9765981870004907 MAIN: 2026-09-07 16:25:06,280 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/25' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:26:05,124 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:26:05,687 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:26:06,433 - INFO - taking picture MAIN: 2026-09-07 16:26:06,433 - INFO - we take 596 photos in this while loop MAIN: 2026-09-07 16:26:06,433 - INFO - /home/pi/Desktop/images/07092026/16/25/image_07092026_16_26_05_60164.jpg MAIN: 2026-09-07 16:26:06,433 - INFO - duration: 0.9662356749977334 MAIN: 2026-09-07 16:26:06,434 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/26' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:27:05,384 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:27:05,758 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:27:06,466 - INFO - taking picture MAIN: 2026-09-07 16:27:06,466 - INFO - we take 597 photos in this while loop MAIN: 2026-09-07 16:27:06,466 - INFO - /home/pi/Desktop/images/07092026/16/26/image_07092026_16_27_05_60067.jpg MAIN: 2026-09-07 16:27:06,466 - INFO - duration: 0.9313255250017392 MAIN: 2026-09-07 16:27:06,467 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/27' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:28:05,717 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:28:05,957 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:28:06,661 - INFO - taking picture MAIN: 2026-09-07 16:28:06,661 - INFO - we take 598 photos in this while loop MAIN: 2026-09-07 16:28:06,661 - INFO - /home/pi/Desktop/images/07092026/16/27/image_07092026_16_28_05_60143.jpg MAIN: 2026-09-07 16:28:06,661 - INFO - duration: 0.9822090950037818 MAIN: 2026-09-07 16:28:06,661 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/28' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:29:05,082 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:29:05,469 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:29:05,804 - INFO - taking picture MAIN: 2026-09-07 16:29:05,805 - INFO - we take 599 photos in this while loop MAIN: 2026-09-07 16:29:05,805 - INFO - /home/pi/Desktop/images/07092026/16/28/image_07092026_16_29_05_59130.jpg MAIN: 2026-09-07 16:29:05,805 - INFO - duration: 0.995566128003702 MAIN: 2026-09-07 16:29:05,805 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/29' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:30:05,104 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:30:05,206 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:30:05,827 - INFO - taking picture MAIN: 2026-09-07 16:30:05,827 - INFO - we take 600 photos in this while loop MAIN: 2026-09-07 16:30:05,827 - INFO - /home/pi/Desktop/images/07092026/16/29/image_07092026_16_30_05_60052.jpg MAIN: 2026-09-07 16:30:05,828 - INFO - duration: 0.9659027020024951 MAIN: 2026-09-07 16:30:05,828 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/30' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:31:04,832 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:31:05,026 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:31:05,762 - INFO - taking picture MAIN: 2026-09-07 16:31:05,762 - INFO - we take 601 photos in this while loop MAIN: 2026-09-07 16:31:05,763 - INFO - /home/pi/Desktop/images/07092026/16/30/image_07092026_16_31_05_59846.jpg MAIN: 2026-09-07 16:31:05,763 - INFO - duration: 1.0548894259991357 MAIN: 2026-09-07 16:31:05,763 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/31' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:32:05,229 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:32:05,387 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:32:05,943 - INFO - taking picture MAIN: 2026-09-07 16:32:05,944 - INFO - we take 602 photos in this while loop MAIN: 2026-09-07 16:32:05,944 - INFO - /home/pi/Desktop/images/07092026/16/31/image_07092026_16_32_05_60237.jpg MAIN: 2026-09-07 16:32:05,944 - INFO - duration: 0.9987656169978436 MAIN: 2026-09-07 16:32:05,944 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/32' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:33:05,134 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:33:05,175 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:33:05,895 - INFO - taking picture MAIN: 2026-09-07 16:33:05,896 - INFO - we take 603 photos in this while loop MAIN: 2026-09-07 16:33:05,896 - INFO - /home/pi/Desktop/images/07092026/16/32/image_07092026_16_33_05_59907.jpg MAIN: 2026-09-07 16:33:05,896 - INFO - duration: 1.0428435249996255 MAIN: 2026-09-07 16:33:05,896 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/33' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:34:05,319 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:34:05,834 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:34:06,041 - INFO - taking picture MAIN: 2026-09-07 16:34:06,041 - INFO - we take 604 photos in this while loop MAIN: 2026-09-07 16:34:06,041 - INFO - /home/pi/Desktop/images/07092026/16/33/image_07092026_16_34_05_60188.jpg MAIN: 2026-09-07 16:34:06,041 - INFO - duration: 1.0000195749962586 MAIN: 2026-09-07 16:34:06,041 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/34' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:35:05,570 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:35:05,831 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:35:06,315 - INFO - taking picture MAIN: 2026-09-07 16:35:06,315 - INFO - we take 605 photos in this while loop MAIN: 2026-09-07 16:35:06,315 - INFO - /home/pi/Desktop/images/07092026/16/34/image_07092026_16_35_05_60290.jpg MAIN: 2026-09-07 16:35:06,315 - INFO - duration: 0.9835340950012323 MAIN: 2026-09-07 16:35:06,315 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/35' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:36:05,245 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:36:05,848 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:36:06,596 - INFO - taking picture MAIN: 2026-09-07 16:36:06,597 - INFO - we take 606 photos in this while loop MAIN: 2026-09-07 16:36:06,597 - INFO - /home/pi/Desktop/images/07092026/16/35/image_07092026_16_36_05_60280.jpg MAIN: 2026-09-07 16:36:06,597 - INFO - duration: 0.9845325740025146 MAIN: 2026-09-07 16:36:06,597 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/36' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:37:05,063 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:37:05,929 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:37:06,641 - INFO - taking picture MAIN: 2026-09-07 16:37:06,641 - INFO - we take 607 photos in this while loop MAIN: 2026-09-07 16:37:06,641 - INFO - /home/pi/Desktop/images/07092026/16/36/image_07092026_16_37_05_60039.jpg MAIN: 2026-09-07 16:37:06,641 - INFO - duration: 0.9887558709961013 MAIN: 2026-09-07 16:37:06,642 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/37' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:38:04,749 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:38:05,198 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:38:05,466 - INFO - taking picture MAIN: 2026-09-07 16:38:05,466 - INFO - we take 608 photos in this while loop MAIN: 2026-09-07 16:38:05,466 - INFO - /home/pi/Desktop/images/07092026/16/37/image_07092026_16_38_04_58875.jpg MAIN: 2026-09-07 16:38:05,467 - INFO - duration: 0.9385612740006763 MAIN: 2026-09-07 16:38:05,467 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/38' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:39:05,039 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:39:05,238 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:39:05,807 - INFO - taking picture MAIN: 2026-09-07 16:39:05,808 - INFO - we take 609 photos in this while loop MAIN: 2026-09-07 16:39:05,808 - INFO - /home/pi/Desktop/images/07092026/16/38/image_07092026_16_39_05_60226.jpg MAIN: 2026-09-07 16:39:05,808 - INFO - duration: 1.0539522930048406 MAIN: 2026-09-07 16:39:05,808 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/39' MAIN: 2026-09-07 16:40:05,002 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:40:05,794 - INFO - taking picture MAIN: 2026-09-07 16:40:05,794 - INFO - we take 610 photos in this while loop MAIN: 2026-09-07 16:40:05,795 - INFO - /home/pi/Desktop/images/07092026/16/39/image_07092026_16_40_05_59984.jpg MAIN: 2026-09-07 16:40:05,795 - INFO - duration: 1.0564116900059162 MAIN: 2026-09-07 16:40:05,795 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/40' MAIN: 2026-09-07 16:40:06,022 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:41:05,654 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:41:05,674 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:41:06,406 - INFO - taking picture MAIN: 2026-09-07 16:41:06,406 - INFO - we take 611 photos in this while loop MAIN: 2026-09-07 16:41:06,406 - INFO - /home/pi/Desktop/images/07092026/16/40/image_07092026_16_41_05_60646.jpg MAIN: 2026-09-07 16:41:06,406 - INFO - duration: 1.0210878209982184 MAIN: 2026-09-07 16:41:06,406 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/41' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:42:05,228 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:42:05,492 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:42:06,286 - INFO - taking picture MAIN: 2026-09-07 16:42:06,286 - INFO - we take 612 photos in this while loop MAIN: 2026-09-07 16:42:06,286 - INFO - /home/pi/Desktop/images/07092026/16/41/image_07092026_16_42_05_59774.jpg MAIN: 2026-09-07 16:42:06,286 - INFO - duration: 1.126523234997876 MAIN: 2026-09-07 16:42:06,287 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/42' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:43:05,042 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:43:05,070 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:43:05,793 - INFO - taking picture MAIN: 2026-09-07 16:43:05,794 - INFO - we take 613 photos in this while loop MAIN: 2026-09-07 16:43:05,794 - INFO - /home/pi/Desktop/images/07092026/16/42/image_07092026_16_43_05_59617.jpg MAIN: 2026-09-07 16:43:05,794 - INFO - duration: 1.0162741989988717 MAIN: 2026-09-07 16:43:05,794 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/43' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:44:05,188 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:44:05,863 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:44:06,625 - INFO - taking picture MAIN: 2026-09-07 16:44:06,626 - INFO - we take 614 photos in this while loop MAIN: 2026-09-07 16:44:06,626 - INFO - /home/pi/Desktop/images/07092026/16/43/image_07092026_16_44_05_60844.jpg MAIN: 2026-09-07 16:44:06,626 - INFO - duration: 1.0039385250056512 MAIN: 2026-09-07 16:44:06,626 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/44' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:45:05,419 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:45:05,438 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:45:06,181 - INFO - taking picture MAIN: 2026-09-07 16:45:06,182 - INFO - we take 615 photos in this while loop MAIN: 2026-09-07 16:45:06,182 - INFO - /home/pi/Desktop/images/07092026/16/44/image_07092026_16_45_05_59551.jpg MAIN: 2026-09-07 16:45:06,182 - INFO - duration: 1.0088469330003136 MAIN: 2026-09-07 16:45:06,182 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/45' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:46:05,052 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:46:05,583 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:46:05,858 - INFO - taking picture MAIN: 2026-09-07 16:46:05,859 - INFO - we take 616 photos in this while loop MAIN: 2026-09-07 16:46:05,859 - INFO - /home/pi/Desktop/images/07092026/16/45/image_07092026_16_46_05_59619.jpg MAIN: 2026-09-07 16:46:05,859 - INFO - duration: 1.066249104005692 MAIN: 2026-09-07 16:46:05,859 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/46' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:47:05,657 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:47:05,670 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:47:06,387 - INFO - taking picture MAIN: 2026-09-07 16:47:06,387 - INFO - we take 617 photos in this while loop MAIN: 2026-09-07 16:47:06,387 - INFO - /home/pi/Desktop/images/07092026/16/46/image_07092026_16_47_05_60601.jpg MAIN: 2026-09-07 16:47:06,387 - INFO - duration: 0.9923835029985639 MAIN: 2026-09-07 16:47:06,387 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/47' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:48:04,840 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:48:04,874 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:48:05,587 - INFO - taking picture MAIN: 2026-09-07 16:48:05,588 - INFO - we take 618 photos in this while loop MAIN: 2026-09-07 16:48:05,588 - INFO - /home/pi/Desktop/images/07092026/16/47/image_07092026_16_48_04_59197.jpg MAIN: 2026-09-07 16:48:05,588 - INFO - duration: 0.995514093003294 MAIN: 2026-09-07 16:48:05,588 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/48' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:49:04,794 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:49:04,960 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:49:05,708 - INFO - taking picture MAIN: 2026-09-07 16:49:05,708 - INFO - we take 619 photos in this while loop MAIN: 2026-09-07 16:49:05,708 - INFO - /home/pi/Desktop/images/07092026/16/48/image_07092026_16_49_04_60132.jpg MAIN: 2026-09-07 16:49:05,708 - INFO - duration: 0.9834534159963368 MAIN: 2026-09-07 16:49:05,709 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/49' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:50:05,350 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:50:05,511 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:50:06,169 - INFO - taking picture MAIN: 2026-09-07 16:50:06,169 - INFO - we take 620 photos in this while loop MAIN: 2026-09-07 16:50:06,170 - INFO - /home/pi/Desktop/images/07092026/16/49/image_07092026_16_50_05_60355.jpg MAIN: 2026-09-07 16:50:06,170 - INFO - duration: 1.0889062950009247 MAIN: 2026-09-07 16:50:06,170 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/50' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:51:04,987 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:51:05,283 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:51:05,721 - INFO - taking picture MAIN: 2026-09-07 16:51:05,721 - INFO - we take 621 photos in this while loop MAIN: 2026-09-07 16:51:05,721 - INFO - /home/pi/Desktop/images/07092026/16/50/image_07092026_16_51_04_59619.jpg MAIN: 2026-09-07 16:51:05,721 - INFO - duration: 1.0213954610007931 MAIN: 2026-09-07 16:51:05,722 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/51' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:52:05,539 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:52:05,826 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:52:06,543 - INFO - taking picture MAIN: 2026-09-07 16:52:06,543 - INFO - we take 622 photos in this while loop MAIN: 2026-09-07 16:52:06,543 - INFO - /home/pi/Desktop/images/07092026/16/51/image_07092026_16_52_05_60846.jpg MAIN: 2026-09-07 16:52:06,543 - INFO - duration: 0.996542954002507 MAIN: 2026-09-07 16:52:06,543 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/52' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:53:05,190 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:53:05,648 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:53:05,952 - INFO - taking picture MAIN: 2026-09-07 16:53:05,953 - INFO - we take 623 photos in this while loop MAIN: 2026-09-07 16:53:05,953 - INFO - /home/pi/Desktop/images/07092026/16/52/image_07092026_16_53_05_59357.jpg MAIN: 2026-09-07 16:53:05,953 - INFO - duration: 1.0489991860013106 MAIN: 2026-09-07 16:53:05,953 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/53' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:54:05,153 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:54:05,943 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:54:06,720 - INFO - taking picture MAIN: 2026-09-07 16:54:06,721 - INFO - we take 624 photos in this while loop MAIN: 2026-09-07 16:54:06,721 - INFO - /home/pi/Desktop/images/07092026/16/53/image_07092026_16_54_05_60772.jpg MAIN: 2026-09-07 16:54:06,721 - INFO - duration: 1.0441643869999098 MAIN: 2026-09-07 16:54:06,721 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/54' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:55:05,652 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:55:05,837 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:55:06,558 - INFO - taking picture MAIN: 2026-09-07 16:55:06,558 - INFO - we take 625 photos in this while loop MAIN: 2026-09-07 16:55:06,558 - INFO - /home/pi/Desktop/images/07092026/16/54/image_07092026_16_55_05_59905.jpg MAIN: 2026-09-07 16:55:06,559 - INFO - duration: 0.9762536580019514 MAIN: 2026-09-07 16:55:06,559 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/55' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:56:05,112 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:56:05,624 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:56:05,839 - INFO - taking picture MAIN: 2026-09-07 16:56:05,840 - INFO - we take 626 photos in this while loop MAIN: 2026-09-07 16:56:05,840 - INFO - /home/pi/Desktop/images/07092026/16/55/image_07092026_16_56_05_59265.jpg MAIN: 2026-09-07 16:56:05,840 - INFO - duration: 0.9922296719960286 MAIN: 2026-09-07 16:56:05,840 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/56' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:57:05,158 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:57:05,352 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:57:05,871 - INFO - taking picture MAIN: 2026-09-07 16:57:05,871 - INFO - we take 627 photos in this while loop MAIN: 2026-09-07 16:57:05,871 - INFO - /home/pi/Desktop/images/07092026/16/56/image_07092026_16_57_05_60035.jpg MAIN: 2026-09-07 16:57:05,871 - INFO - duration: 0.987852283004031 MAIN: 2026-09-07 16:57:05,872 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/57' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:58:05,347 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:58:05,768 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:58:06,069 - INFO - taking picture MAIN: 2026-09-07 16:58:06,069 - INFO - we take 628 photos in this while loop MAIN: 2026-09-07 16:58:06,069 - INFO - /home/pi/Desktop/images/07092026/16/57/image_07092026_16_58_05_60182.jpg MAIN: 2026-09-07 16:58:06,069 - INFO - duration: 1.003071686005569 MAIN: 2026-09-07 16:58:06,070 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/58' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 16:59:05,308 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 16:59:05,388 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 16:59:06,020 - INFO - taking picture MAIN: 2026-09-07 16:59:06,021 - INFO - we take 629 photos in this while loop MAIN: 2026-09-07 16:59:06,021 - INFO - /home/pi/Desktop/images/07092026/16/58/image_07092026_16_59_05_59960.jpg MAIN: 2026-09-07 16:59:06,021 - INFO - duration: 0.9939500149994274 MAIN: 2026-09-07 16:59:06,021 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/16/59' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:00:05,554 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:00:05,854 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:00:06,576 - INFO - taking picture MAIN: 2026-09-07 17:00:06,576 - INFO - we take 630 photos in this while loop MAIN: 2026-09-07 17:00:06,576 - INFO - /home/pi/Desktop/images/07092026/16/59/image_07092026_17_00_05_60595.jpg MAIN: 2026-09-07 17:00:06,576 - INFO - duration: 0.9540327590002562 MAIN: 2026-09-07 17:00:06,577 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/00' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:01:04,917 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:01:05,108 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:01:05,826 - INFO - taking picture MAIN: 2026-09-07 17:01:05,826 - INFO - we take 631 photos in this while loop MAIN: 2026-09-07 17:01:05,826 - INFO - /home/pi/Desktop/images/07092026/17/00/image_07092026_17_01_05_59181.jpg MAIN: 2026-09-07 17:01:05,827 - INFO - duration: 1.0229965230028029 MAIN: 2026-09-07 17:01:05,827 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/01' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:02:05,557 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:02:05,874 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:02:06,595 - INFO - taking picture MAIN: 2026-09-07 17:02:06,595 - INFO - we take 632 photos in this while loop MAIN: 2026-09-07 17:02:06,595 - INFO - /home/pi/Desktop/images/07092026/17/01/image_07092026_17_02_05_60826.jpg MAIN: 2026-09-07 17:02:06,595 - INFO - duration: 0.9648338139959378 MAIN: 2026-09-07 17:02:06,595 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/02' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:03:05,140 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:03:05,483 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:03:05,871 - INFO - taking picture MAIN: 2026-09-07 17:03:05,872 - INFO - we take 633 photos in this while loop MAIN: 2026-09-07 17:03:05,872 - INFO - /home/pi/Desktop/images/07092026/17/02/image_07092026_17_03_05_59239.jpg MAIN: 2026-09-07 17:03:05,872 - INFO - duration: 1.002515250002034 MAIN: 2026-09-07 17:03:05,872 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/03' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:04:05,785 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:04:05,956 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:04:06,675 - INFO - taking picture MAIN: 2026-09-07 17:04:06,675 - INFO - we take 634 photos in this while loop MAIN: 2026-09-07 17:04:06,675 - INFO - /home/pi/Desktop/images/07092026/17/03/image_07092026_17_04_05_60808.jpg MAIN: 2026-09-07 17:04:06,676 - INFO - duration: 0.9977570680057397 MAIN: 2026-09-07 17:04:06,676 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/04' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:05:05,268 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:05:05,946 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:05:06,044 - INFO - taking picture MAIN: 2026-09-07 17:05:06,045 - INFO - we take 635 photos in this while loop MAIN: 2026-09-07 17:05:06,045 - INFO - /home/pi/Desktop/images/07092026/17/04/image_07092026_17_05_05_59322.jpg MAIN: 2026-09-07 17:05:06,045 - INFO - duration: 1.045007920001808 MAIN: 2026-09-07 17:05:06,046 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/05' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:06:04,969 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:06:06,045 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:06:06,766 - INFO - taking picture MAIN: 2026-09-07 17:06:06,766 - INFO - we take 636 photos in this while loop MAIN: 2026-09-07 17:06:06,766 - INFO - /home/pi/Desktop/images/07092026/17/05/image_07092026_17_06_06_60756.jpg MAIN: 2026-09-07 17:06:06,766 - INFO - duration: 1.0094328900013352 MAIN: 2026-09-07 17:06:06,767 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/06' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:07:05,096 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:07:05,149 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:07:05,885 - INFO - taking picture MAIN: 2026-09-07 17:07:05,885 - INFO - we take 637 photos in this while loop MAIN: 2026-09-07 17:07:05,885 - INFO - /home/pi/Desktop/images/07092026/17/06/image_07092026_17_07_05_59078.jpg MAIN: 2026-09-07 17:07:05,885 - INFO - duration: 1.050254218003829 MAIN: 2026-09-07 17:07:05,886 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/07' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:08:05,568 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:08:05,874 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:08:06,663 - INFO - taking picture MAIN: 2026-09-07 17:08:06,663 - INFO - we take 638 photos in this while loop MAIN: 2026-09-07 17:08:06,664 - INFO - /home/pi/Desktop/images/07092026/17/07/image_07092026_17_08_05_60728.jpg MAIN: 2026-09-07 17:08:06,664 - INFO - duration: 1.099699624995992 MAIN: 2026-09-07 17:08:06,664 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/08' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:09:05,323 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:09:05,416 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:09:06,125 - INFO - taking picture MAIN: 2026-09-07 17:09:06,126 - INFO - we take 639 photos in this while loop MAIN: 2026-09-07 17:09:06,126 - INFO - /home/pi/Desktop/images/07092026/17/08/image_07092026_17_09_05_59551.jpg MAIN: 2026-09-07 17:09:06,126 - INFO - duration: 1.0100626109997393 MAIN: 2026-09-07 17:09:06,126 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/09' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:10:05,339 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:10:06,093 - INFO - taking picture MAIN: 2026-09-07 17:10:06,093 - INFO - we take 640 photos in this while loop MAIN: 2026-09-07 17:10:06,093 - INFO - /home/pi/Desktop/images/07092026/17/09/image_07092026_17_10_05_59972.jpg MAIN: 2026-09-07 17:10:06,093 - INFO - duration: 1.0050567039943417 MAIN: 2026-09-07 17:10:06,093 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/10' MAIN: 2026-09-07 17:10:06,333 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:11:04,755 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:11:05,399 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:11:06,107 - INFO - taking picture MAIN: 2026-09-07 17:11:06,107 - INFO - we take 641 photos in this while loop MAIN: 2026-09-07 17:11:06,107 - INFO - /home/pi/Desktop/images/07092026/17/10/image_07092026_17_11_05_60088.jpg MAIN: 2026-09-07 17:11:06,107 - INFO - duration: 0.9303497469954891 MAIN: 2026-09-07 17:11:06,107 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/11' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:12:05,308 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:12:05,606 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:12:06,313 - INFO - taking picture MAIN: 2026-09-07 17:12:06,314 - INFO - we take 642 photos in this while loop MAIN: 2026-09-07 17:12:06,314 - INFO - /home/pi/Desktop/images/07092026/17/11/image_07092026_17_12_05_60160.jpg MAIN: 2026-09-07 17:12:06,314 - INFO - duration: 0.9763290660048369 MAIN: 2026-09-07 17:12:06,314 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/12' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:13:05,398 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:13:05,502 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:13:06,217 - INFO - taking picture MAIN: 2026-09-07 17:13:06,217 - INFO - we take 643 photos in this while loop MAIN: 2026-09-07 17:13:06,217 - INFO - /home/pi/Desktop/images/07092026/17/12/image_07092026_17_13_05_59879.jpg MAIN: 2026-09-07 17:13:06,218 - INFO - duration: 1.000433206994785 MAIN: 2026-09-07 17:13:06,218 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/13' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:14:05,327 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:14:05,551 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:14:06,050 - INFO - taking picture MAIN: 2026-09-07 17:14:06,050 - INFO - we take 644 photos in this while loop MAIN: 2026-09-07 17:14:06,050 - INFO - /home/pi/Desktop/images/07092026/17/13/image_07092026_17_14_05_59839.jpg MAIN: 2026-09-07 17:14:06,050 - INFO - duration: 0.9937385579978582 MAIN: 2026-09-07 17:14:06,051 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/14' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:15:05,497 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:15:06,009 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:15:06,214 - INFO - taking picture MAIN: 2026-09-07 17:15:06,215 - INFO - we take 645 photos in this while loop MAIN: 2026-09-07 17:15:06,215 - INFO - /home/pi/Desktop/images/07092026/17/14/image_07092026_17_15_05_60161.jpg MAIN: 2026-09-07 17:15:06,215 - INFO - duration: 0.9963749449962052 MAIN: 2026-09-07 17:15:06,215 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/15' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:16:05,058 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:16:05,562 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:16:06,268 - INFO - taking picture MAIN: 2026-09-07 17:16:06,269 - INFO - we take 646 photos in this while loop MAIN: 2026-09-07 17:16:06,269 - INFO - /home/pi/Desktop/images/07092026/17/15/image_07092026_17_16_05_60118.jpg MAIN: 2026-09-07 17:16:06,269 - INFO - duration: 0.9317065639988868 MAIN: 2026-09-07 17:16:06,269 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/16' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:17:05,217 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:17:05,486 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:17:06,188 - INFO - taking picture MAIN: 2026-09-07 17:17:06,188 - INFO - we take 647 photos in this while loop MAIN: 2026-09-07 17:17:06,188 - INFO - /home/pi/Desktop/images/07092026/17/16/image_07092026_17_17_05_59905.jpg MAIN: 2026-09-07 17:17:06,188 - INFO - duration: 0.9458766019961331 MAIN: 2026-09-07 17:17:06,189 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/17' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:18:05,489 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:18:05,705 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:18:06,469 - INFO - taking picture MAIN: 2026-09-07 17:18:06,469 - INFO - we take 648 photos in this while loop MAIN: 2026-09-07 17:18:06,470 - INFO - /home/pi/Desktop/images/07092026/17/17/image_07092026_17_18_05_60176.jpg MAIN: 2026-09-07 17:18:06,470 - INFO - duration: 1.0508850680053001 MAIN: 2026-09-07 17:18:06,470 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/18' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:19:05,258 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:19:05,967 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:19:06,708 - INFO - taking picture MAIN: 2026-09-07 17:19:06,708 - INFO - we take 649 photos in this while loop MAIN: 2026-09-07 17:19:06,708 - INFO - /home/pi/Desktop/images/07092026/17/18/image_07092026_17_19_05_60324.jpg MAIN: 2026-09-07 17:19:06,708 - INFO - duration: 0.9654363549998379 MAIN: 2026-09-07 17:19:06,709 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/19' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:20:05,217 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:20:05,953 - INFO - taking picture MAIN: 2026-09-07 17:20:05,954 - INFO - we take 650 photos in this while loop MAIN: 2026-09-07 17:20:05,954 - INFO - /home/pi/Desktop/images/07092026/17/19/image_07092026_17_20_05_59214.jpg MAIN: 2026-09-07 17:20:05,954 - INFO - duration: 0.9962456420034869 MAIN: 2026-09-07 17:20:05,954 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/20' MAIN: 2026-09-07 17:20:06,019 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:21:05,680 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:21:05,682 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:21:06,475 - INFO - taking picture MAIN: 2026-09-07 17:21:06,475 - INFO - we take 651 photos in this while loop MAIN: 2026-09-07 17:21:06,475 - INFO - /home/pi/Desktop/images/07092026/17/20/image_07092026_17_21_05_60444.jpg MAIN: 2026-09-07 17:21:06,475 - INFO - duration: 1.0732397539977683 MAIN: 2026-09-07 17:21:06,476 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/21' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:22:05,190 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:22:05,785 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:22:06,549 - INFO - taking picture MAIN: 2026-09-07 17:22:06,549 - INFO - we take 652 photos in this while loop MAIN: 2026-09-07 17:22:06,549 - INFO - /home/pi/Desktop/images/07092026/17/21/image_07092026_17_22_05_60138.jpg MAIN: 2026-09-07 17:22:06,549 - INFO - duration: 1.0083127370016882 MAIN: 2026-09-07 17:22:06,550 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/22' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:23:05,057 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:23:05,131 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:23:05,834 - INFO - taking picture MAIN: 2026-09-07 17:23:05,834 - INFO - we take 653 photos in this while loop MAIN: 2026-09-07 17:23:05,834 - INFO - /home/pi/Desktop/images/07092026/17/22/image_07092026_17_23_05_59253.jpg MAIN: 2026-09-07 17:23:05,834 - INFO - duration: 1.0396120469958987 MAIN: 2026-09-07 17:23:05,835 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/23' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:24:05,169 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:24:05,454 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:24:06,152 - INFO - taking picture MAIN: 2026-09-07 17:24:06,153 - INFO - we take 654 photos in this while loop MAIN: 2026-09-07 17:24:06,153 - INFO - /home/pi/Desktop/images/07092026/17/23/image_07092026_17_24_05_60405.jpg MAIN: 2026-09-07 17:24:06,153 - INFO - duration: 0.9523181100012152 MAIN: 2026-09-07 17:24:06,153 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/24' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:25:05,542 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:25:05,555 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:25:06,261 - INFO - taking picture MAIN: 2026-09-07 17:25:06,261 - INFO - we take 655 photos in this while loop MAIN: 2026-09-07 17:25:06,261 - INFO - /home/pi/Desktop/images/07092026/17/24/image_07092026_17_25_05_60121.jpg MAIN: 2026-09-07 17:25:06,261 - INFO - duration: 0.9392186819968629 MAIN: 2026-09-07 17:25:06,262 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/25' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:26:05,630 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:26:05,653 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:26:06,377 - INFO - taking picture MAIN: 2026-09-07 17:26:06,378 - INFO - we take 656 photos in this while loop MAIN: 2026-09-07 17:26:06,378 - INFO - /home/pi/Desktop/images/07092026/17/25/image_07092026_17_26_05_60025.jpg MAIN: 2026-09-07 17:26:06,378 - INFO - duration: 1.030414632994507 MAIN: 2026-09-07 17:26:06,378 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/26' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:27:04,670 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:27:05,612 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:27:06,317 - INFO - taking picture MAIN: 2026-09-07 17:27:06,317 - INFO - we take 657 photos in this while loop MAIN: 2026-09-07 17:27:06,317 - INFO - /home/pi/Desktop/images/07092026/17/26/image_07092026_17_27_05_59986.jpg MAIN: 2026-09-07 17:27:06,317 - INFO - duration: 0.9836664850008674 MAIN: 2026-09-07 17:27:06,318 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/27' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:28:04,978 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:28:05,822 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:28:06,528 - INFO - taking picture MAIN: 2026-09-07 17:28:06,528 - INFO - we take 658 photos in this while loop MAIN: 2026-09-07 17:28:06,529 - INFO - /home/pi/Desktop/images/07092026/17/27/image_07092026_17_28_05_60213.jpg MAIN: 2026-09-07 17:28:06,529 - INFO - duration: 0.981379675999051 MAIN: 2026-09-07 17:28:06,529 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/28' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:29:04,720 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:29:05,804 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:29:06,510 - INFO - taking picture MAIN: 2026-09-07 17:29:06,510 - INFO - we take 659 photos in this while loop MAIN: 2026-09-07 17:29:06,510 - INFO - /home/pi/Desktop/images/07092026/17/28/image_07092026_17_29_05_59979.jpg MAIN: 2026-09-07 17:29:06,510 - INFO - duration: 0.9830554330037558 MAIN: 2026-09-07 17:29:06,510 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/29' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:30:04,822 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:30:05,523 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:30:05,566 - INFO - taking picture MAIN: 2026-09-07 17:30:05,566 - INFO - we take 660 photos in this while loop MAIN: 2026-09-07 17:30:05,567 - INFO - /home/pi/Desktop/images/07092026/17/29/image_07092026_17_30_04_59009.jpg MAIN: 2026-09-07 17:30:05,567 - INFO - duration: 1.030800894004642 MAIN: 2026-09-07 17:30:05,567 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/30' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:31:04,840 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:31:05,269 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:31:05,587 - INFO - taking picture MAIN: 2026-09-07 17:31:05,587 - INFO - we take 661 photos in this while loop MAIN: 2026-09-07 17:31:05,587 - INFO - /home/pi/Desktop/images/07092026/17/30/image_07092026_17_31_04_60030.jpg MAIN: 2026-09-07 17:31:05,587 - INFO - duration: 1.0202740430031554 MAIN: 2026-09-07 17:31:05,587 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/31' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:32:04,913 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:32:05,418 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:32:05,626 - INFO - taking picture MAIN: 2026-09-07 17:32:05,626 - INFO - we take 662 photos in this while loop MAIN: 2026-09-07 17:32:05,626 - INFO - /home/pi/Desktop/images/07092026/17/31/image_07092026_17_32_04_60119.jpg MAIN: 2026-09-07 17:32:05,626 - INFO - duration: 0.939751857004012 MAIN: 2026-09-07 17:32:05,627 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/32' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:33:04,916 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:33:05,385 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:33:05,706 - INFO - taking picture MAIN: 2026-09-07 17:33:05,706 - INFO - we take 663 photos in this while loop MAIN: 2026-09-07 17:33:05,707 - INFO - /home/pi/Desktop/images/07092026/17/32/image_07092026_17_33_04_59953.jpg MAIN: 2026-09-07 17:33:05,707 - INFO - duration: 1.0662086619995534 MAIN: 2026-09-07 17:33:05,707 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/33' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:34:05,666 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:34:05,898 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:34:06,381 - INFO - taking picture MAIN: 2026-09-07 17:34:06,381 - INFO - we take 664 photos in this while loop MAIN: 2026-09-07 17:34:06,381 - INFO - /home/pi/Desktop/images/07092026/17/33/image_07092026_17_34_05_60748.jpg MAIN: 2026-09-07 17:34:06,381 - INFO - duration: 0.9918879420001758 MAIN: 2026-09-07 17:34:06,382 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/34' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:35:05,321 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:35:05,792 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:35:06,501 - INFO - taking picture MAIN: 2026-09-07 17:35:06,501 - INFO - we take 665 photos in this while loop MAIN: 2026-09-07 17:35:06,501 - INFO - /home/pi/Desktop/images/07092026/17/34/image_07092026_17_35_05_60180.jpg MAIN: 2026-09-07 17:35:06,501 - INFO - duration: 0.9311628009963897 MAIN: 2026-09-07 17:35:06,501 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/35' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:36:05,116 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:36:06,025 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:36:06,762 - INFO - taking picture MAIN: 2026-09-07 17:36:06,762 - INFO - we take 666 photos in this while loop MAIN: 2026-09-07 17:36:06,762 - INFO - /home/pi/Desktop/images/07092026/17/35/image_07092026_17_36_06_60176.jpg MAIN: 2026-09-07 17:36:06,762 - INFO - duration: 1.0151939370043692 MAIN: 2026-09-07 17:36:06,762 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/36' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:37:04,871 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:37:05,217 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:37:05,583 - INFO - taking picture MAIN: 2026-09-07 17:37:05,583 - INFO - we take 667 photos in this while loop MAIN: 2026-09-07 17:37:05,583 - INFO - /home/pi/Desktop/images/07092026/17/36/image_07092026_17_37_04_58843.jpg MAIN: 2026-09-07 17:37:05,584 - INFO - duration: 0.9930058500031009 MAIN: 2026-09-07 17:37:05,584 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/37' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:38:05,189 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:38:05,889 - INFO - taking picture MAIN: 2026-09-07 17:38:05,889 - INFO - we take 668 photos in this while loop MAIN: 2026-09-07 17:38:05,890 - INFO - /home/pi/Desktop/images/07092026/17/37/image_07092026_17_38_05_60326.jpg MAIN: 2026-09-07 17:38:05,890 - INFO - duration: 0.9722507080005016 MAIN: 2026-09-07 17:38:05,890 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/38' MAIN: 2026-09-07 17:38:05,981 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:39:04,597 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:39:05,390 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:39:06,092 - INFO - taking picture MAIN: 2026-09-07 17:39:06,092 - INFO - we take 669 photos in this while loop MAIN: 2026-09-07 17:39:06,092 - INFO - /home/pi/Desktop/images/07092026/17/38/image_07092026_17_39_05_60199.jpg MAIN: 2026-09-07 17:39:06,092 - INFO - duration: 0.9752743040007772 MAIN: 2026-09-07 17:39:06,093 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/39' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:40:05,808 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:40:05,850 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:40:06,639 - INFO - taking picture MAIN: 2026-09-07 17:40:06,639 - INFO - we take 670 photos in this while loop MAIN: 2026-09-07 17:40:06,639 - INFO - /home/pi/Desktop/images/07092026/17/39/image_07092026_17_40_05_60463.jpg MAIN: 2026-09-07 17:40:06,639 - INFO - duration: 1.058773734002898 MAIN: 2026-09-07 17:40:06,639 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/40' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:41:04,859 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:41:05,222 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:41:06,005 - INFO - taking picture MAIN: 2026-09-07 17:41:06,005 - INFO - we take 671 photos in this while loop MAIN: 2026-09-07 17:41:06,006 - INFO - /home/pi/Desktop/images/07092026/17/40/image_07092026_17_41_05_59353.jpg MAIN: 2026-09-07 17:41:06,006 - INFO - duration: 1.071498427001643 MAIN: 2026-09-07 17:41:06,006 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/41' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:42:05,441 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:42:05,828 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:42:06,537 - INFO - taking picture MAIN: 2026-09-07 17:42:06,538 - INFO - we take 672 photos in this while loop MAIN: 2026-09-07 17:42:06,538 - INFO - /home/pi/Desktop/images/07092026/17/41/image_07092026_17_42_05_60655.jpg MAIN: 2026-09-07 17:42:06,538 - INFO - duration: 0.9479845980022219 MAIN: 2026-09-07 17:42:06,538 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/42' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:43:04,985 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:43:05,156 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:43:05,733 - INFO - taking picture MAIN: 2026-09-07 17:43:05,734 - INFO - we take 673 photos in this while loop MAIN: 2026-09-07 17:43:05,734 - INFO - /home/pi/Desktop/images/07092026/17/42/image_07092026_17_43_04_59105.jpg MAIN: 2026-09-07 17:43:05,734 - INFO - duration: 1.0384815459983656 MAIN: 2026-09-07 17:43:05,734 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/43' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:44:05,783 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:44:05,793 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:44:06,510 - INFO - taking picture MAIN: 2026-09-07 17:44:06,510 - INFO - we take 674 photos in this while loop MAIN: 2026-09-07 17:44:06,510 - INFO - /home/pi/Desktop/images/07092026/17/43/image_07092026_17_44_05_60802.jpg MAIN: 2026-09-07 17:44:06,510 - INFO - duration: 1.0120347140036756 MAIN: 2026-09-07 17:44:06,511 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/44' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:45:05,194 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:45:05,854 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:45:06,009 - INFO - taking picture MAIN: 2026-09-07 17:45:06,009 - INFO - we take 675 photos in this while loop MAIN: 2026-09-07 17:45:06,009 - INFO - /home/pi/Desktop/images/07092026/17/44/image_07092026_17_45_05_59430.jpg MAIN: 2026-09-07 17:45:06,009 - INFO - duration: 1.0808788159993128 MAIN: 2026-09-07 17:45:06,010 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/45' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:46:05,574 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:46:05,902 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:46:06,357 - INFO - taking picture MAIN: 2026-09-07 17:46:06,358 - INFO - we take 676 photos in this while loop MAIN: 2026-09-07 17:46:06,358 - INFO - /home/pi/Desktop/images/07092026/17/45/image_07092026_17_46_05_60344.jpg MAIN: 2026-09-07 17:46:06,358 - INFO - duration: 1.0852811579970876 MAIN: 2026-09-07 17:46:06,358 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/46' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:47:05,095 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:47:05,623 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:47:06,323 - INFO - taking picture MAIN: 2026-09-07 17:47:06,323 - INFO - we take 677 photos in this while loop MAIN: 2026-09-07 17:47:06,323 - INFO - /home/pi/Desktop/images/07092026/17/46/image_07092026_17_47_05_60126.jpg MAIN: 2026-09-07 17:47:06,323 - INFO - duration: 0.9236510519986041 MAIN: 2026-09-07 17:47:06,323 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/47' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:48:05,321 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:48:05,737 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:48:06,437 - INFO - taking picture MAIN: 2026-09-07 17:48:06,438 - INFO - we take 678 photos in this while loop MAIN: 2026-09-07 17:48:06,438 - INFO - /home/pi/Desktop/images/07092026/17/47/image_07092026_17_48_05_60115.jpg MAIN: 2026-09-07 17:48:06,438 - INFO - duration: 0.9227059620025102 MAIN: 2026-09-07 17:48:06,438 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/48' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:49:05,160 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:49:06,027 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:49:06,745 - INFO - taking picture MAIN: 2026-09-07 17:49:06,745 - INFO - we take 679 photos in this while loop MAIN: 2026-09-07 17:49:06,746 - INFO - /home/pi/Desktop/images/07092026/17/48/image_07092026_17_49_06_60227.jpg MAIN: 2026-09-07 17:49:06,746 - INFO - duration: 1.0032024320025812 MAIN: 2026-09-07 17:49:06,746 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/49' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:50:05,486 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:50:05,924 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:50:06,220 - INFO - taking picture MAIN: 2026-09-07 17:50:06,221 - INFO - we take 680 photos in this while loop MAIN: 2026-09-07 17:50:06,221 - INFO - /home/pi/Desktop/images/07092026/17/49/image_07092026_17_50_05_59491.jpg MAIN: 2026-09-07 17:50:06,221 - INFO - duration: 0.98711376600113 MAIN: 2026-09-07 17:50:06,221 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/50' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:51:05,484 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:51:05,844 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:51:06,634 - INFO - taking picture MAIN: 2026-09-07 17:51:06,635 - INFO - we take 681 photos in this while loop MAIN: 2026-09-07 17:51:06,635 - INFO - /home/pi/Desktop/images/07092026/17/50/image_07092026_17_51_05_60323.jpg MAIN: 2026-09-07 17:51:06,635 - INFO - duration: 1.0778790289987228 MAIN: 2026-09-07 17:51:06,635 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/51' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:52:05,168 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:52:05,567 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:52:06,283 - INFO - taking picture MAIN: 2026-09-07 17:52:06,283 - INFO - we take 682 photos in this while loop MAIN: 2026-09-07 17:52:06,283 - INFO - /home/pi/Desktop/images/07092026/17/51/image_07092026_17_52_05_59754.jpg MAIN: 2026-09-07 17:52:06,283 - INFO - duration: 0.9712962470002822 MAIN: 2026-09-07 17:52:06,283 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/52' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:53:04,626 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:53:06,059 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:53:06,848 - INFO - taking picture MAIN: 2026-09-07 17:53:06,848 - INFO - we take 683 photos in this while loop MAIN: 2026-09-07 17:53:06,848 - INFO - /home/pi/Desktop/images/07092026/17/52/image_07092026_17_53_06_60440.jpg MAIN: 2026-09-07 17:53:06,848 - INFO - duration: 1.0959461870006635 MAIN: 2026-09-07 17:53:06,849 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/53' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:54:05,500 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:54:05,906 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:54:06,698 - INFO - taking picture MAIN: 2026-09-07 17:54:06,698 - INFO - we take 684 photos in this while loop MAIN: 2026-09-07 17:54:06,699 - INFO - /home/pi/Desktop/images/07092026/17/53/image_07092026_17_54_05_59881.jpg MAIN: 2026-09-07 17:54:06,699 - INFO - duration: 1.0645877249990008 MAIN: 2026-09-07 17:54:06,699 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/54' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:55:05,102 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:55:05,754 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:55:05,859 - INFO - taking picture MAIN: 2026-09-07 17:55:05,859 - INFO - we take 685 photos in this while loop MAIN: 2026-09-07 17:55:05,860 - INFO - /home/pi/Desktop/images/07092026/17/54/image_07092026_17_55_05_59191.jpg MAIN: 2026-09-07 17:55:05,860 - INFO - duration: 1.0343699829973048 MAIN: 2026-09-07 17:55:05,860 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/55' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:56:05,509 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:56:05,678 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:56:06,235 - INFO - taking picture MAIN: 2026-09-07 17:56:06,235 - INFO - we take 686 photos in this while loop MAIN: 2026-09-07 17:56:06,235 - INFO - /home/pi/Desktop/images/07092026/17/55/image_07092026_17_56_05_60394.jpg MAIN: 2026-09-07 17:56:06,236 - INFO - duration: 1.0158934469945962 MAIN: 2026-09-07 17:56:06,236 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/56' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:57:05,153 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:57:05,863 - INFO - taking picture MAIN: 2026-09-07 17:57:05,863 - INFO - we take 687 photos in this while loop MAIN: 2026-09-07 17:57:05,863 - INFO - /home/pi/Desktop/images/07092026/17/56/image_07092026_17_57_05_59648.jpg MAIN: 2026-09-07 17:57:05,864 - INFO - duration: 0.9948814470044454 MAIN: 2026-09-07 17:57:05,864 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/57' MAIN: 2026-09-07 17:57:05,944 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:58:05,146 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:58:05,930 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:58:06,641 - INFO - taking picture MAIN: 2026-09-07 17:58:06,641 - INFO - we take 688 photos in this while loop MAIN: 2026-09-07 17:58:06,641 - INFO - /home/pi/Desktop/images/07092026/17/57/image_07092026_17_58_05_60782.jpg MAIN: 2026-09-07 17:58:06,642 - INFO - duration: 0.9904740190031589 MAIN: 2026-09-07 17:58:06,642 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/58' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 17:59:04,817 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 17:59:05,168 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 17:59:05,568 - INFO - taking picture MAIN: 2026-09-07 17:59:05,568 - INFO - we take 689 photos in this while loop MAIN: 2026-09-07 17:59:05,568 - INFO - /home/pi/Desktop/images/07092026/17/58/image_07092026_17_59_04_58898.jpg MAIN: 2026-09-07 17:59:05,568 - INFO - duration: 1.0184335749945603 MAIN: 2026-09-07 17:59:05,569 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/17/59' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:00:04,930 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:00:05,415 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:00:05,770 - INFO - taking picture MAIN: 2026-09-07 18:00:05,770 - INFO - we take 690 photos in this while loop MAIN: 2026-09-07 18:00:05,770 - INFO - /home/pi/Desktop/images/07092026/17/59/image_07092026_18_00_04_60089.jpg MAIN: 2026-09-07 18:00:05,770 - INFO - duration: 1.130825524996908 MAIN: 2026-09-07 18:00:05,771 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/00' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:01:05,180 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:01:05,203 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:01:05,892 - INFO - taking picture MAIN: 2026-09-07 18:01:05,893 - INFO - we take 691 photos in this while loop MAIN: 2026-09-07 18:01:05,893 - INFO - /home/pi/Desktop/images/07092026/18/00/image_07092026_18_01_05_60271.jpg MAIN: 2026-09-07 18:01:05,893 - INFO - duration: 0.9822729810039164 MAIN: 2026-09-07 18:01:05,893 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/01' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:02:05,311 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:02:05,630 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:02:06,053 - INFO - taking picture MAIN: 2026-09-07 18:02:06,053 - INFO - we take 692 photos in this while loop MAIN: 2026-09-07 18:02:06,053 - INFO - /home/pi/Desktop/images/07092026/18/01/image_07092026_18_02_05_60140.jpg MAIN: 2026-09-07 18:02:06,053 - INFO - duration: 1.0025071510026464 MAIN: 2026-09-07 18:02:06,054 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/02' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:03:05,349 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:03:05,388 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:03:06,112 - INFO - taking picture MAIN: 2026-09-07 18:03:06,112 - INFO - we take 693 photos in this while loop MAIN: 2026-09-07 18:03:06,112 - INFO - /home/pi/Desktop/images/07092026/18/02/image_07092026_18_03_05_60022.jpg MAIN: 2026-09-07 18:03:06,112 - INFO - duration: 1.0387043230002746 MAIN: 2026-09-07 18:03:06,113 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/03' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:04:05,722 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:04:05,831 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:04:06,535 - INFO - taking picture MAIN: 2026-09-07 18:04:06,536 - INFO - we take 694 photos in this while loop MAIN: 2026-09-07 18:04:06,536 - INFO - /home/pi/Desktop/images/07092026/18/03/image_07092026_18_04_05_60473.jpg MAIN: 2026-09-07 18:04:06,536 - INFO - duration: 0.9889148479996948 MAIN: 2026-09-07 18:04:06,536 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/04' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:05:04,818 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:05:05,224 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:05:05,579 - INFO - taking picture MAIN: 2026-09-07 18:05:05,579 - INFO - we take 695 photos in this while loop MAIN: 2026-09-07 18:05:05,579 - INFO - /home/pi/Desktop/images/07092026/18/04/image_07092026_18_05_04_59030.jpg MAIN: 2026-09-07 18:05:05,579 - INFO - duration: 1.0013844480054104 MAIN: 2026-09-07 18:05:05,579 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/05' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:06:05,125 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:06:05,634 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:06:06,334 - INFO - taking picture MAIN: 2026-09-07 18:06:06,334 - INFO - we take 696 photos in this while loop MAIN: 2026-09-07 18:06:06,335 - INFO - /home/pi/Desktop/images/07092026/18/05/image_07092026_18_06_05_60835.jpg MAIN: 2026-09-07 18:06:06,335 - INFO - duration: 0.9214815900049871 MAIN: 2026-09-07 18:06:06,335 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/06' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:07:05,491 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:07:05,768 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:07:06,462 - INFO - taking picture MAIN: 2026-09-07 18:07:06,462 - INFO - we take 697 photos in this while loop MAIN: 2026-09-07 18:07:06,463 - INFO - /home/pi/Desktop/images/07092026/18/06/image_07092026_18_07_05_60088.jpg MAIN: 2026-09-07 18:07:06,463 - INFO - duration: 0.9608201939990977 MAIN: 2026-09-07 18:07:06,463 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/07' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:08:04,805 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:08:05,512 - INFO - taking picture MAIN: 2026-09-07 18:08:05,513 - INFO - we take 698 photos in this while loop MAIN: 2026-09-07 18:08:05,513 - INFO - /home/pi/Desktop/images/07092026/18/07/image_07092026_18_08_04_59035.jpg MAIN: 2026-09-07 18:08:05,513 - INFO - duration: 0.9753459030034719 MAIN: 2026-09-07 18:08:05,513 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/08' MAIN: 2026-09-07 18:08:05,716 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:09:04,819 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:09:05,000 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:09:05,712 - INFO - taking picture MAIN: 2026-09-07 18:09:05,712 - INFO - we take 699 photos in this while loop MAIN: 2026-09-07 18:09:05,712 - INFO - /home/pi/Desktop/images/07092026/18/08/image_07092026_18_09_05_60164.jpg MAIN: 2026-09-07 18:09:05,713 - INFO - duration: 1.0107713489996968 MAIN: 2026-09-07 18:09:05,713 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/09' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:10:05,814 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:10:05,936 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:10:06,528 - INFO - taking picture MAIN: 2026-09-07 18:10:06,528 - INFO - we take 700 photos in this while loop MAIN: 2026-09-07 18:10:06,528 - INFO - /home/pi/Desktop/images/07092026/18/09/image_07092026_18_10_05_60883.jpg MAIN: 2026-09-07 18:10:06,528 - INFO - duration: 0.9429241870020633 MAIN: 2026-09-07 18:10:06,529 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/10' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:11:05,128 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:11:05,238 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:11:05,859 - INFO - taking picture MAIN: 2026-09-07 18:11:05,859 - INFO - we take 701 photos in this while loop MAIN: 2026-09-07 18:11:05,859 - INFO - /home/pi/Desktop/images/07092026/18/10/image_07092026_18_11_05_59266.jpg MAIN: 2026-09-07 18:11:05,859 - INFO - duration: 1.0074774620006792 MAIN: 2026-09-07 18:11:05,860 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/11' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:12:05,450 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:12:05,944 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:12:06,652 - INFO - taking picture MAIN: 2026-09-07 18:12:06,653 - INFO - we take 702 photos in this while loop MAIN: 2026-09-07 18:12:06,653 - INFO - /home/pi/Desktop/images/07092026/18/11/image_07092026_18_12_05_60813.jpg MAIN: 2026-09-07 18:12:06,653 - INFO - duration: 0.9871740930029773 MAIN: 2026-09-07 18:12:06,653 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/12' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:13:05,237 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:13:05,548 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:13:05,964 - INFO - taking picture MAIN: 2026-09-07 18:13:05,964 - INFO - we take 703 photos in this while loop MAIN: 2026-09-07 18:13:05,964 - INFO - /home/pi/Desktop/images/07092026/18/12/image_07092026_18_13_05_59285.jpg MAIN: 2026-09-07 18:13:05,964 - INFO - duration: 1.0135731519985711 MAIN: 2026-09-07 18:13:05,965 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/13' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:14:04,909 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:14:04,941 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:14:05,678 - INFO - taking picture MAIN: 2026-09-07 18:14:05,679 - INFO - we take 704 photos in this while loop MAIN: 2026-09-07 18:14:05,679 - INFO - /home/pi/Desktop/images/07092026/18/13/image_07092026_18_14_04_59651.jpg MAIN: 2026-09-07 18:14:05,679 - INFO - duration: 1.0765713099972345 MAIN: 2026-09-07 18:14:05,679 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/14' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:15:05,026 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:15:05,692 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:15:06,423 - INFO - taking picture MAIN: 2026-09-07 18:15:06,423 - INFO - we take 705 photos in this while loop MAIN: 2026-09-07 18:15:06,424 - INFO - /home/pi/Desktop/images/07092026/18/14/image_07092026_18_15_05_60845.jpg MAIN: 2026-09-07 18:15:06,424 - INFO - duration: 0.9757791189986165 MAIN: 2026-09-07 18:15:06,424 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/15' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:16:05,219 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:16:05,565 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:16:05,975 - INFO - taking picture MAIN: 2026-09-07 18:16:05,975 - INFO - we take 706 photos in this while loop MAIN: 2026-09-07 18:16:05,975 - INFO - /home/pi/Desktop/images/07092026/18/15/image_07092026_18_16_05_59467.jpg MAIN: 2026-09-07 18:16:05,976 - INFO - duration: 1.0600089480067254 MAIN: 2026-09-07 18:16:05,976 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/16' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:17:05,035 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:17:05,429 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:17:05,737 - INFO - taking picture MAIN: 2026-09-07 18:17:05,737 - INFO - we take 707 photos in this while loop MAIN: 2026-09-07 18:17:05,737 - INFO - /home/pi/Desktop/images/07092026/18/16/image_07092026_18_17_05_59834.jpg MAIN: 2026-09-07 18:17:05,737 - INFO - duration: 0.987539444999129 MAIN: 2026-09-07 18:17:05,738 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/17' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:18:05,445 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:18:05,595 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:18:06,188 - INFO - taking picture MAIN: 2026-09-07 18:18:06,189 - INFO - we take 708 photos in this while loop MAIN: 2026-09-07 18:18:06,189 - INFO - /home/pi/Desktop/images/07092026/18/17/image_07092026_18_18_05_60416.jpg MAIN: 2026-09-07 18:18:06,189 - INFO - duration: 1.0223510329960845 MAIN: 2026-09-07 18:18:06,189 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/18' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:19:04,676 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:19:05,091 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:19:05,797 - INFO - taking picture MAIN: 2026-09-07 18:19:05,798 - INFO - we take 709 photos in this while loop MAIN: 2026-09-07 18:19:05,798 - INFO - /home/pi/Desktop/images/07092026/18/18/image_07092026_18_19_05_59676.jpg MAIN: 2026-09-07 18:19:05,798 - INFO - duration: 0.9547496040031547 MAIN: 2026-09-07 18:19:05,798 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/19' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:20:05,298 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:20:05,960 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:20:06,701 - INFO - taking picture MAIN: 2026-09-07 18:20:06,701 - INFO - we take 710 photos in this while loop MAIN: 2026-09-07 18:20:06,701 - INFO - /home/pi/Desktop/images/07092026/18/19/image_07092026_18_20_05_60875.jpg MAIN: 2026-09-07 18:20:06,702 - INFO - duration: 0.98263392100489 MAIN: 2026-09-07 18:20:06,702 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/20' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:21:04,771 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:21:05,389 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:21:06,096 - INFO - taking picture MAIN: 2026-09-07 18:21:06,096 - INFO - we take 711 photos in this while loop MAIN: 2026-09-07 18:21:06,096 - INFO - /home/pi/Desktop/images/07092026/18/20/image_07092026_18_21_05_59439.jpg MAIN: 2026-09-07 18:21:06,096 - INFO - duration: 0.9376639019974391 MAIN: 2026-09-07 18:21:06,096 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/21' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:22:04,933 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:22:05,467 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:22:05,636 - INFO - taking picture MAIN: 2026-09-07 18:22:05,636 - INFO - we take 712 photos in this while loop MAIN: 2026-09-07 18:22:05,637 - INFO - /home/pi/Desktop/images/07092026/18/21/image_07092026_18_22_04_59552.jpg MAIN: 2026-09-07 18:22:05,637 - INFO - duration: 0.9259507250026218 MAIN: 2026-09-07 18:22:05,637 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/22' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:23:05,017 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:23:05,369 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:23:05,763 - INFO - taking picture MAIN: 2026-09-07 18:23:05,764 - INFO - we take 713 photos in this while loop MAIN: 2026-09-07 18:23:05,764 - INFO - /home/pi/Desktop/images/07092026/18/22/image_07092026_18_23_05_60044.jpg MAIN: 2026-09-07 18:23:05,764 - INFO - duration: 1.008491922999383 MAIN: 2026-09-07 18:23:05,764 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/23' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:24:05,581 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:24:05,699 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:24:06,282 - INFO - taking picture MAIN: 2026-09-07 18:24:06,282 - INFO - we take 714 photos in this while loop MAIN: 2026-09-07 18:24:06,282 - INFO - /home/pi/Desktop/images/07092026/18/23/image_07092026_18_24_05_60556.jpg MAIN: 2026-09-07 18:24:06,282 - INFO - duration: 0.9707117969956016 MAIN: 2026-09-07 18:24:06,283 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/24' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:25:05,124 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:25:05,733 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:25:06,430 - INFO - taking picture MAIN: 2026-09-07 18:25:06,431 - INFO - we take 715 photos in this while loop MAIN: 2026-09-07 18:25:06,431 - INFO - /home/pi/Desktop/images/07092026/18/24/image_07092026_18_25_05_60133.jpg MAIN: 2026-09-07 18:25:06,431 - INFO - duration: 0.9858502530041733 MAIN: 2026-09-07 18:25:06,431 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/25' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:26:05,226 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:26:05,764 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:26:06,458 - INFO - taking picture MAIN: 2026-09-07 18:26:06,459 - INFO - we take 716 photos in this while loop MAIN: 2026-09-07 18:26:06,459 - INFO - /home/pi/Desktop/images/07092026/18/25/image_07092026_18_26_05_60098.jpg MAIN: 2026-09-07 18:26:06,459 - INFO - duration: 0.9158115219979663 MAIN: 2026-09-07 18:26:06,459 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/26' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:27:05,159 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:27:05,815 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:27:06,512 - INFO - taking picture MAIN: 2026-09-07 18:27:06,512 - INFO - we take 717 photos in this while loop MAIN: 2026-09-07 18:27:06,512 - INFO - /home/pi/Desktop/images/07092026/18/26/image_07092026_18_27_05_60048.jpg MAIN: 2026-09-07 18:27:06,512 - INFO - duration: 0.9209949959986261 MAIN: 2026-09-07 18:27:06,512 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/27' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:28:05,761 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:28:06,038 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:28:06,736 - INFO - taking picture MAIN: 2026-09-07 18:28:06,736 - INFO - we take 718 photos in this while loop MAIN: 2026-09-07 18:28:06,736 - INFO - /home/pi/Desktop/images/07092026/18/27/image_07092026_18_28_06_60164.jpg MAIN: 2026-09-07 18:28:06,736 - INFO - duration: 0.9800865970028099 MAIN: 2026-09-07 18:28:06,736 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/28' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:29:04,901 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:29:05,307 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:29:05,608 - INFO - taking picture MAIN: 2026-09-07 18:29:05,608 - INFO - we take 719 photos in this while loop MAIN: 2026-09-07 18:29:05,608 - INFO - /home/pi/Desktop/images/07092026/18/28/image_07092026_18_29_04_58866.jpg MAIN: 2026-09-07 18:29:05,608 - INFO - duration: 0.985512021004979 MAIN: 2026-09-07 18:29:05,608 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/29' MAIN: 2026-09-07 18:30:05,035 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:30:05,784 - INFO - taking picture MAIN: 2026-09-07 18:30:05,784 - INFO - we take 720 photos in this while loop MAIN: 2026-09-07 18:30:05,784 - INFO - /home/pi/Desktop/images/07092026/18/29/image_07092026_18_30_05_60169.jpg MAIN: 2026-09-07 18:30:05,785 - INFO - duration: 0.9926342900071177 MAIN: 2026-09-07 18:30:05,785 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/30' MAIN: 2026-09-07 18:30:06,371 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:31:05,133 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:31:05,568 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:31:05,841 - INFO - taking picture MAIN: 2026-09-07 18:31:05,842 - INFO - we take 721 photos in this while loop MAIN: 2026-09-07 18:31:05,842 - INFO - /home/pi/Desktop/images/07092026/18/30/image_07092026_18_31_05_60072.jpg MAIN: 2026-09-07 18:31:05,842 - INFO - duration: 0.9769914210046409 MAIN: 2026-09-07 18:31:05,842 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/31' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:32:05,209 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:32:05,234 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:32:05,913 - INFO - taking picture MAIN: 2026-09-07 18:32:05,914 - INFO - we take 722 photos in this while loop MAIN: 2026-09-07 18:32:05,914 - INFO - /home/pi/Desktop/images/07092026/18/31/image_07092026_18_32_05_60055.jpg MAIN: 2026-09-07 18:32:05,914 - INFO - duration: 0.9936923349960125 MAIN: 2026-09-07 18:32:05,914 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/32' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:33:05,091 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:33:05,304 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:33:05,997 - INFO - taking picture MAIN: 2026-09-07 18:33:05,998 - INFO - we take 723 photos in this while loop MAIN: 2026-09-07 18:33:05,998 - INFO - /home/pi/Desktop/images/07092026/18/32/image_07092026_18_33_05_60122.jpg MAIN: 2026-09-07 18:33:05,998 - INFO - duration: 0.9554140049949638 MAIN: 2026-09-07 18:33:05,998 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/33' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:34:05,143 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:34:05,327 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:34:06,021 - INFO - taking picture MAIN: 2026-09-07 18:34:06,022 - INFO - we take 724 photos in this while loop MAIN: 2026-09-07 18:34:06,022 - INFO - /home/pi/Desktop/images/07092026/18/33/image_07092026_18_34_05_60005.jpg MAIN: 2026-09-07 18:34:06,022 - INFO - duration: 0.9736546140047722 MAIN: 2026-09-07 18:34:06,022 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/34' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:35:05,229 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:35:05,925 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:35:05,995 - INFO - taking picture MAIN: 2026-09-07 18:35:05,996 - INFO - we take 725 photos in this while loop MAIN: 2026-09-07 18:35:05,996 - INFO - /home/pi/Desktop/images/07092026/18/34/image_07092026_18_35_05_59928.jpg MAIN: 2026-09-07 18:35:05,996 - INFO - duration: 1.0189305990061257 MAIN: 2026-09-07 18:35:05,996 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/35' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:36:05,470 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:36:05,686 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:36:06,267 - INFO - taking picture MAIN: 2026-09-07 18:36:06,268 - INFO - we take 726 photos in this while loop MAIN: 2026-09-07 18:36:06,268 - INFO - /home/pi/Desktop/images/07092026/18/35/image_07092026_18_36_05_60214.jpg MAIN: 2026-09-07 18:36:06,268 - INFO - duration: 1.0765386869970826 MAIN: 2026-09-07 18:36:06,268 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/36' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:37:05,378 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:37:05,502 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:37:06,194 - INFO - taking picture MAIN: 2026-09-07 18:37:06,195 - INFO - we take 727 photos in this while loop MAIN: 2026-09-07 18:37:06,195 - INFO - /home/pi/Desktop/images/07092026/18/36/image_07092026_18_37_05_60033.jpg MAIN: 2026-09-07 18:37:06,195 - INFO - duration: 0.9697263420021045 MAIN: 2026-09-07 18:37:06,195 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/37' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:38:05,688 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:38:05,957 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:38:06,474 - INFO - taking picture MAIN: 2026-09-07 18:38:06,474 - INFO - we take 728 photos in this while loop MAIN: 2026-09-07 18:38:06,474 - INFO - /home/pi/Desktop/images/07092026/18/37/image_07092026_18_38_05_60157.jpg MAIN: 2026-09-07 18:38:06,475 - INFO - duration: 1.0921921780027333 MAIN: 2026-09-07 18:38:06,475 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/38' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:39:04,596 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:39:04,922 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:39:05,689 - INFO - taking picture MAIN: 2026-09-07 18:39:05,689 - INFO - we take 729 photos in this while loop MAIN: 2026-09-07 18:39:05,689 - INFO - /home/pi/Desktop/images/07092026/18/38/image_07092026_18_39_04_59268.jpg MAIN: 2026-09-07 18:39:05,690 - INFO - duration: 1.0386089849998825 MAIN: 2026-09-07 18:39:05,690 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/39' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:40:05,545 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:40:05,793 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:40:06,482 - INFO - taking picture MAIN: 2026-09-07 18:40:06,482 - INFO - we take 730 photos in this while loop MAIN: 2026-09-07 18:40:06,482 - INFO - /home/pi/Desktop/images/07092026/18/39/image_07092026_18_40_05_60905.jpg MAIN: 2026-09-07 18:40:06,482 - INFO - duration: 0.9254539860048681 MAIN: 2026-09-07 18:40:06,483 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/40' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:41:05,404 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:41:05,766 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:41:06,456 - INFO - taking picture MAIN: 2026-09-07 18:41:06,456 - INFO - we take 731 photos in this while loop MAIN: 2026-09-07 18:41:06,456 - INFO - /home/pi/Desktop/images/07092026/18/40/image_07092026_18_41_05_59980.jpg MAIN: 2026-09-07 18:41:06,456 - INFO - duration: 0.9191118369999458 MAIN: 2026-09-07 18:41:06,456 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/41' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:42:05,577 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:42:05,847 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:42:06,535 - INFO - taking picture MAIN: 2026-09-07 18:42:06,535 - INFO - we take 732 photos in this while loop MAIN: 2026-09-07 18:42:06,536 - INFO - /home/pi/Desktop/images/07092026/18/41/image_07092026_18_42_05_60022.jpg MAIN: 2026-09-07 18:42:06,536 - INFO - duration: 0.9760798319985042 MAIN: 2026-09-07 18:42:06,536 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/42' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:43:04,771 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:43:05,735 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:43:06,423 - INFO - taking picture MAIN: 2026-09-07 18:43:06,423 - INFO - we take 733 photos in this while loop MAIN: 2026-09-07 18:43:06,424 - INFO - /home/pi/Desktop/images/07092026/18/42/image_07092026_18_43_05_59897.jpg MAIN: 2026-09-07 18:43:06,424 - INFO - duration: 0.9667510150029557 MAIN: 2026-09-07 18:43:06,424 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/43' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:44:05,013 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:44:05,807 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:44:06,597 - INFO - taking picture MAIN: 2026-09-07 18:44:06,597 - INFO - we take 734 photos in this while loop MAIN: 2026-09-07 18:44:06,597 - INFO - /home/pi/Desktop/images/07092026/18/43/image_07092026_18_44_05_60103.jpg MAIN: 2026-09-07 18:44:06,597 - INFO - duration: 1.0371247630027938 MAIN: 2026-09-07 18:44:06,598 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/44' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:45:04,937 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:45:05,523 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:45:05,700 - INFO - taking picture MAIN: 2026-09-07 18:45:05,701 - INFO - we take 735 photos in this while loop MAIN: 2026-09-07 18:45:05,701 - INFO - /home/pi/Desktop/images/07092026/18/44/image_07092026_18_45_04_59089.jpg MAIN: 2026-09-07 18:45:05,701 - INFO - duration: 1.0516557119990466 MAIN: 2026-09-07 18:45:05,701 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/45' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:46:05,361 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:46:05,626 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:46:06,062 - INFO - taking picture MAIN: 2026-09-07 18:46:06,062 - INFO - we take 736 photos in this while loop MAIN: 2026-09-07 18:46:06,062 - INFO - /home/pi/Desktop/images/07092026/18/45/image_07092026_18_46_05_60432.jpg MAIN: 2026-09-07 18:46:06,062 - INFO - duration: 0.9803670520050218 MAIN: 2026-09-07 18:46:06,063 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/46' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:47:05,292 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:47:05,474 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:47:06,162 - INFO - taking picture MAIN: 2026-09-07 18:47:06,162 - INFO - we take 737 photos in this while loop MAIN: 2026-09-07 18:47:06,163 - INFO - /home/pi/Desktop/images/07092026/18/46/image_07092026_18_47_05_60108.jpg MAIN: 2026-09-07 18:47:06,163 - INFO - duration: 0.9727891049988102 MAIN: 2026-09-07 18:47:06,163 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/47' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:48:05,650 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:48:05,860 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:48:06,346 - INFO - taking picture MAIN: 2026-09-07 18:48:06,346 - INFO - we take 738 photos in this while loop MAIN: 2026-09-07 18:48:06,346 - INFO - /home/pi/Desktop/images/07092026/18/47/image_07092026_18_48_05_60174.jpg MAIN: 2026-09-07 18:48:06,346 - INFO - duration: 0.9812108940022881 MAIN: 2026-09-07 18:48:06,346 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/48' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:49:04,843 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:49:05,163 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:49:05,921 - INFO - taking picture MAIN: 2026-09-07 18:49:05,921 - INFO - we take 739 photos in this while loop MAIN: 2026-09-07 18:49:05,922 - INFO - /home/pi/Desktop/images/07092026/18/48/image_07092026_18_49_05_59494.jpg MAIN: 2026-09-07 18:49:05,922 - INFO - duration: 1.062805624998873 MAIN: 2026-09-07 18:49:05,922 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/49' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:50:05,573 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:50:05,812 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:50:06,500 - INFO - taking picture MAIN: 2026-09-07 18:50:06,501 - INFO - we take 740 photos in this while loop MAIN: 2026-09-07 18:50:06,501 - INFO - /home/pi/Desktop/images/07092026/18/49/image_07092026_18_50_05_60691.jpg MAIN: 2026-09-07 18:50:06,501 - INFO - duration: 0.9500688859989168 MAIN: 2026-09-07 18:50:06,501 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/50' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:51:05,205 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:51:05,961 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:51:06,756 - INFO - taking picture MAIN: 2026-09-07 18:51:06,756 - INFO - we take 741 photos in this while loop MAIN: 2026-09-07 18:51:06,756 - INFO - /home/pi/Desktop/images/07092026/18/50/image_07092026_18_51_05_60158.jpg MAIN: 2026-09-07 18:51:06,756 - INFO - duration: 1.046508609004377 MAIN: 2026-09-07 18:51:06,757 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/51' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:52:05,220 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:52:05,613 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:52:05,959 - INFO - taking picture MAIN: 2026-09-07 18:52:05,959 - INFO - we take 742 photos in this while loop MAIN: 2026-09-07 18:52:05,959 - INFO - /home/pi/Desktop/images/07092026/18/51/image_07092026_18_52_05_59230.jpg MAIN: 2026-09-07 18:52:05,959 - INFO - duration: 1.0183976240004995 MAIN: 2026-09-07 18:52:05,959 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/52' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:53:05,302 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:53:05,492 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:53:06,178 - INFO - taking picture MAIN: 2026-09-07 18:53:06,178 - INFO - we take 743 photos in this while loop MAIN: 2026-09-07 18:53:06,178 - INFO - /home/pi/Desktop/images/07092026/18/52/image_07092026_18_53_05_60261.jpg MAIN: 2026-09-07 18:53:06,178 - INFO - duration: 0.9757753219964798 MAIN: 2026-09-07 18:53:06,179 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/53' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:54:05,663 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:54:05,971 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:54:06,358 - INFO - taking picture MAIN: 2026-09-07 18:54:06,358 - INFO - we take 744 photos in this while loop MAIN: 2026-09-07 18:54:06,358 - INFO - /home/pi/Desktop/images/07092026/18/53/image_07092026_18_54_05_60174.jpg MAIN: 2026-09-07 18:54:06,359 - INFO - duration: 0.9812332910005352 MAIN: 2026-09-07 18:54:06,359 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/54' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:55:04,854 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:55:05,916 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:55:06,601 - INFO - taking picture MAIN: 2026-09-07 18:55:06,601 - INFO - we take 745 photos in this while loop MAIN: 2026-09-07 18:55:06,601 - INFO - /home/pi/Desktop/images/07092026/18/54/image_07092026_18_55_05_60261.jpg MAIN: 2026-09-07 18:55:06,601 - INFO - duration: 0.9624398119995021 MAIN: 2026-09-07 18:55:06,601 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/55' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:56:05,002 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:56:05,099 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:56:05,694 - INFO - taking picture MAIN: 2026-09-07 18:56:05,694 - INFO - we take 746 photos in this while loop MAIN: 2026-09-07 18:56:05,694 - INFO - /home/pi/Desktop/images/07092026/18/55/image_07092026_18_56_05_59103.jpg MAIN: 2026-09-07 18:56:05,694 - INFO - duration: 0.9520890959975077 MAIN: 2026-09-07 18:56:05,695 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/56' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:57:04,941 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:57:05,053 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:57:05,707 - INFO - taking picture MAIN: 2026-09-07 18:57:05,708 - INFO - we take 747 photos in this while loop MAIN: 2026-09-07 18:57:05,708 - INFO - /home/pi/Desktop/images/07092026/18/56/image_07092026_18_57_04_59891.jpg MAIN: 2026-09-07 18:57:05,708 - INFO - duration: 1.0744627449967084 MAIN: 2026-09-07 18:57:05,708 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/57' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:58:05,626 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:58:05,860 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:58:06,547 - INFO - taking picture MAIN: 2026-09-07 18:58:06,547 - INFO - we take 748 photos in this while loop MAIN: 2026-09-07 18:58:06,547 - INFO - /home/pi/Desktop/images/07092026/18/57/image_07092026_18_58_05_60966.jpg MAIN: 2026-09-07 18:58:06,547 - INFO - duration: 0.9467270780005492 MAIN: 2026-09-07 18:58:06,547 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/58' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 18:59:05,069 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 18:59:05,254 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 18:59:05,763 - INFO - taking picture MAIN: 2026-09-07 18:59:05,763 - INFO - we take 749 photos in this while loop MAIN: 2026-09-07 18:59:05,763 - INFO - /home/pi/Desktop/images/07092026/18/58/image_07092026_18_59_05_59183.jpg MAIN: 2026-09-07 18:59:05,764 - INFO - duration: 0.979603440995561 MAIN: 2026-09-07 18:59:05,764 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/18/59' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:00:05,371 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:00:05,372 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:00:06,063 - INFO - taking picture MAIN: 2026-09-07 19:00:06,063 - INFO - we take 750 photos in this while loop MAIN: 2026-09-07 19:00:06,063 - INFO - /home/pi/Desktop/images/07092026/18/59/image_07092026_19_00_05_60343.jpg MAIN: 2026-09-07 19:00:06,063 - INFO - duration: 0.9359388140001101 MAIN: 2026-09-07 19:00:06,063 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/00' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:01:05,358 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:01:05,359 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:01:06,115 - INFO - taking picture MAIN: 2026-09-07 19:01:06,116 - INFO - we take 751 photos in this while loop MAIN: 2026-09-07 19:01:06,116 - INFO - /home/pi/Desktop/images/07092026/19/00/image_07092026_19_01_05_59965.jpg MAIN: 2026-09-07 19:01:06,116 - INFO - duration: 1.0236589519990957 MAIN: 2026-09-07 19:01:06,116 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/01' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:02:05,326 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:02:05,660 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:02:06,063 - INFO - taking picture MAIN: 2026-09-07 19:02:06,063 - INFO - we take 752 photos in this while loop MAIN: 2026-09-07 19:02:06,063 - INFO - /home/pi/Desktop/images/07092026/19/01/image_07092026_19_02_05_59951.jpg MAIN: 2026-09-07 19:02:06,064 - INFO - duration: 1.020131332006713 MAIN: 2026-09-07 19:02:06,064 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/02' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:03:05,424 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:03:05,455 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:03:06,117 - INFO - taking picture MAIN: 2026-09-07 19:03:06,118 - INFO - we take 753 photos in this while loop MAIN: 2026-09-07 19:03:06,118 - INFO - /home/pi/Desktop/images/07092026/19/02/image_07092026_19_03_05_60101.jpg MAIN: 2026-09-07 19:03:06,118 - INFO - duration: 0.9730497609998565 MAIN: 2026-09-07 19:03:06,118 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/03' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:04:05,608 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:04:06,050 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:04:06,305 - INFO - taking picture MAIN: 2026-09-07 19:04:06,305 - INFO - we take 754 photos in this while loop MAIN: 2026-09-07 19:04:06,305 - INFO - /home/pi/Desktop/images/07092026/19/03/image_07092026_19_04_05_60200.jpg MAIN: 2026-09-07 19:04:06,305 - INFO - duration: 0.9598943759992835 MAIN: 2026-09-07 19:04:06,306 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/04' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:05:04,803 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:05:04,926 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:05:05,687 - INFO - taking picture MAIN: 2026-09-07 19:05:05,688 - INFO - we take 755 photos in this while loop MAIN: 2026-09-07 19:05:05,688 - INFO - /home/pi/Desktop/images/07092026/19/04/image_07092026_19_05_04_59326.jpg MAIN: 2026-09-07 19:05:05,688 - INFO - duration: 1.0159136229995056 MAIN: 2026-09-07 19:05:05,688 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/05' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:06:05,276 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:06:05,324 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:06:05,988 - INFO - taking picture MAIN: 2026-09-07 19:06:05,988 - INFO - we take 756 photos in this while loop MAIN: 2026-09-07 19:06:05,988 - INFO - /home/pi/Desktop/images/07092026/19/05/image_07092026_19_06_05_60303.jpg MAIN: 2026-09-07 19:06:05,988 - INFO - duration: 1.0125994579939288 MAIN: 2026-09-07 19:06:05,989 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/06' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:07:05,168 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:07:05,328 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:07:05,863 - INFO - taking picture MAIN: 2026-09-07 19:07:05,864 - INFO - we take 757 photos in this while loop MAIN: 2026-09-07 19:07:05,864 - INFO - /home/pi/Desktop/images/07092026/19/06/image_07092026_19_07_05_59914.jpg MAIN: 2026-09-07 19:07:05,864 - INFO - duration: 0.9735185440003988 MAIN: 2026-09-07 19:07:05,864 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/07' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:08:05,317 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:08:05,483 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:08:06,171 - INFO - taking picture MAIN: 2026-09-07 19:08:06,171 - INFO - we take 758 photos in this while loop MAIN: 2026-09-07 19:08:06,171 - INFO - /home/pi/Desktop/images/07092026/19/07/image_07092026_19_08_05_60329.jpg MAIN: 2026-09-07 19:08:06,171 - INFO - duration: 0.9515022960040369 MAIN: 2026-09-07 19:08:06,171 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/08' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:09:05,318 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:09:05,459 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:09:06,151 - INFO - taking picture MAIN: 2026-09-07 19:09:06,151 - INFO - we take 759 photos in this while loop MAIN: 2026-09-07 19:09:06,151 - INFO - /home/pi/Desktop/images/07092026/19/08/image_07092026_19_09_05_59944.jpg MAIN: 2026-09-07 19:09:06,152 - INFO - duration: 0.9869718340050895 MAIN: 2026-09-07 19:09:06,152 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/09' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:10:05,195 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:10:05,945 - INFO - taking picture MAIN: 2026-09-07 19:10:05,946 - INFO - we take 760 photos in this while loop MAIN: 2026-09-07 19:10:05,946 - INFO - /home/pi/Desktop/images/07092026/19/09/image_07092026_19_10_05_59785.jpg MAIN: 2026-09-07 19:10:05,946 - INFO - duration: 0.9960082310062717 MAIN: 2026-09-07 19:10:05,947 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/10' MAIN: 2026-09-07 19:10:06,135 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:11:05,123 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:11:05,633 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:11:06,399 - INFO - taking picture MAIN: 2026-09-07 19:11:06,399 - INFO - we take 761 photos in this while loop MAIN: 2026-09-07 19:11:06,399 - INFO - /home/pi/Desktop/images/07092026/19/10/image_07092026_19_11_05_60430.jpg MAIN: 2026-09-07 19:11:06,399 - INFO - duration: 1.0178144539968343 MAIN: 2026-09-07 19:11:06,399 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/11' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:12:04,837 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:12:05,363 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:12:05,533 - INFO - taking picture MAIN: 2026-09-07 19:12:05,534 - INFO - we take 762 photos in this while loop MAIN: 2026-09-07 19:12:05,534 - INFO - /home/pi/Desktop/images/07092026/19/11/image_07092026_19_12_04_59176.jpg MAIN: 2026-09-07 19:12:05,534 - INFO - duration: 0.9756532730025356 MAIN: 2026-09-07 19:12:05,534 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/12' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:13:05,121 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:13:05,953 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:13:06,638 - INFO - taking picture MAIN: 2026-09-07 19:13:06,638 - INFO - we take 763 photos in this while loop MAIN: 2026-09-07 19:13:06,638 - INFO - /home/pi/Desktop/images/07092026/19/12/image_07092026_19_13_05_61121.jpg MAIN: 2026-09-07 19:13:06,638 - INFO - duration: 0.9588594689994352 MAIN: 2026-09-07 19:13:06,639 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/13' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:14:04,864 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:14:05,510 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:14:05,559 - INFO - taking picture MAIN: 2026-09-07 19:14:05,559 - INFO - we take 764 photos in this while loop MAIN: 2026-09-07 19:14:05,559 - INFO - /home/pi/Desktop/images/07092026/19/13/image_07092026_19_14_04_58910.jpg MAIN: 2026-09-07 19:14:05,559 - INFO - duration: 0.9689597280012094 MAIN: 2026-09-07 19:14:05,560 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/14' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:15:04,893 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:15:05,688 - INFO - taking picture MAIN: 2026-09-07 19:15:05,688 - INFO - we take 765 photos in this while loop MAIN: 2026-09-07 19:15:05,689 - INFO - /home/pi/Desktop/images/07092026/19/14/image_07092026_19_15_04_60023.jpg MAIN: 2026-09-07 19:15:05,689 - INFO - duration: 1.0752118499949574 MAIN: 2026-09-07 19:15:05,689 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/15' MAIN: 2026-09-07 19:15:05,777 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:16:05,099 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:16:05,782 - INFO - taking picture MAIN: 2026-09-07 19:16:05,782 - INFO - we take 766 photos in this while loop MAIN: 2026-09-07 19:16:05,782 - INFO - /home/pi/Desktop/images/07092026/19/15/image_07092026_19_16_05_60236.jpg MAIN: 2026-09-07 19:16:05,782 - INFO - duration: 0.9318982980039436 MAIN: 2026-09-07 19:16:05,783 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/16' MAIN: 2026-09-07 19:16:05,843 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:17:04,617 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:17:04,911 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:17:05,595 - INFO - taking picture MAIN: 2026-09-07 19:17:05,595 - INFO - we take 767 photos in this while loop MAIN: 2026-09-07 19:17:05,596 - INFO - /home/pi/Desktop/images/07092026/19/16/image_07092026_19_17_04_59836.jpg MAIN: 2026-09-07 19:17:05,596 - INFO - duration: 0.9088037789988448 MAIN: 2026-09-07 19:17:05,596 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/17' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:18:04,925 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:18:05,160 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:18:05,622 - INFO - taking picture MAIN: 2026-09-07 19:18:05,622 - INFO - we take 768 photos in this while loop MAIN: 2026-09-07 19:18:05,623 - INFO - /home/pi/Desktop/images/07092026/19/17/image_07092026_19_18_04_59961.jpg MAIN: 2026-09-07 19:18:05,623 - INFO - duration: 0.9744764720016974 MAIN: 2026-09-07 19:18:05,623 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/18' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:19:04,849 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:19:05,067 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:19:05,619 - INFO - taking picture MAIN: 2026-09-07 19:19:05,620 - INFO - we take 769 photos in this while loop MAIN: 2026-09-07 19:19:05,620 - INFO - /home/pi/Desktop/images/07092026/19/18/image_07092026_19_19_04_59919.jpg MAIN: 2026-09-07 19:19:05,620 - INFO - duration: 1.0520159410007182 MAIN: 2026-09-07 19:19:05,620 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/19' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:20:05,329 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:20:06,054 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:20:06,077 - INFO - taking picture MAIN: 2026-09-07 19:20:06,077 - INFO - we take 770 photos in this while loop MAIN: 2026-09-07 19:20:06,077 - INFO - /home/pi/Desktop/images/07092026/19/19/image_07092026_19_20_05_60524.jpg MAIN: 2026-09-07 19:20:06,078 - INFO - duration: 0.9853813259978779 MAIN: 2026-09-07 19:20:06,078 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/20' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:21:05,295 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:21:05,679 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:21:06,030 - INFO - taking picture MAIN: 2026-09-07 19:21:06,030 - INFO - we take 771 photos in this while loop MAIN: 2026-09-07 19:21:06,031 - INFO - /home/pi/Desktop/images/07092026/19/20/image_07092026_19_21_05_59927.jpg MAIN: 2026-09-07 19:21:06,031 - INFO - duration: 1.0111683240029379 MAIN: 2026-09-07 19:21:06,031 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/21' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:22:05,099 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:22:05,704 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:22:06,472 - INFO - taking picture MAIN: 2026-09-07 19:22:06,473 - INFO - we take 772 photos in this while loop MAIN: 2026-09-07 19:22:06,473 - INFO - /home/pi/Desktop/images/07092026/19/21/image_07092026_19_22_05_60460.jpg MAIN: 2026-09-07 19:22:06,473 - INFO - duration: 0.9928561870037811 MAIN: 2026-09-07 19:22:06,473 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/22' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:23:04,858 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:23:05,931 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:23:06,622 - INFO - taking picture MAIN: 2026-09-07 19:23:06,622 - INFO - we take 773 photos in this while loop MAIN: 2026-09-07 19:23:06,622 - INFO - /home/pi/Desktop/images/07092026/19/22/image_07092026_19_23_05_60172.jpg MAIN: 2026-09-07 19:23:06,622 - INFO - duration: 0.969665206001082 MAIN: 2026-09-07 19:23:06,623 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/23' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:24:04,800 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:24:05,373 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:24:05,495 - INFO - taking picture MAIN: 2026-09-07 19:24:05,495 - INFO - we take 774 photos in this while loop MAIN: 2026-09-07 19:24:05,495 - INFO - /home/pi/Desktop/images/07092026/19/23/image_07092026_19_24_04_58872.jpg MAIN: 2026-09-07 19:24:05,496 - INFO - duration: 0.9706970359984552 MAIN: 2026-09-07 19:24:05,496 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/24' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:25:05,271 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:25:05,966 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:25:06,657 - INFO - taking picture MAIN: 2026-09-07 19:25:06,657 - INFO - we take 775 photos in this while loop MAIN: 2026-09-07 19:25:06,657 - INFO - /home/pi/Desktop/images/07092026/19/24/image_07092026_19_25_05_61172.jpg MAIN: 2026-09-07 19:25:06,657 - INFO - duration: 0.9596224229971995 MAIN: 2026-09-07 19:25:06,658 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/25' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:26:04,944 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:26:05,528 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:26:05,698 - INFO - taking picture MAIN: 2026-09-07 19:26:05,698 - INFO - we take 776 photos in this while loop MAIN: 2026-09-07 19:26:05,698 - INFO - /home/pi/Desktop/images/07092026/19/25/image_07092026_19_26_04_58965.jpg MAIN: 2026-09-07 19:26:05,698 - INFO - duration: 1.035308040001837 MAIN: 2026-09-07 19:26:05,699 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/26' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:27:04,869 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:27:05,520 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:27:05,567 - INFO - taking picture MAIN: 2026-09-07 19:27:05,567 - INFO - we take 777 photos in this while loop MAIN: 2026-09-07 19:27:05,567 - INFO - /home/pi/Desktop/images/07092026/19/26/image_07092026_19_27_04_59942.jpg MAIN: 2026-09-07 19:27:05,567 - INFO - duration: 0.9621742620001896 MAIN: 2026-09-07 19:27:05,568 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/27' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:28:05,005 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:28:05,912 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:28:06,600 - INFO - taking picture MAIN: 2026-09-07 19:28:06,600 - INFO - we take 778 photos in this while loop MAIN: 2026-09-07 19:28:06,600 - INFO - /home/pi/Desktop/images/07092026/19/27/image_07092026_19_28_05_61045.jpg MAIN: 2026-09-07 19:28:06,600 - INFO - duration: 0.9494423069991171 MAIN: 2026-09-07 19:28:06,601 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/28' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:29:04,706 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:29:05,844 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:29:06,530 - INFO - taking picture MAIN: 2026-09-07 19:29:06,530 - INFO - we take 779 photos in this while loop MAIN: 2026-09-07 19:29:06,530 - INFO - /home/pi/Desktop/images/07092026/19/28/image_07092026_19_29_05_59911.jpg MAIN: 2026-09-07 19:29:06,530 - INFO - duration: 0.9679522970036487 MAIN: 2026-09-07 19:29:06,531 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/29' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:30:05,022 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:30:05,819 - INFO - taking picture MAIN: 2026-09-07 19:30:05,819 - INFO - we take 780 photos in this while loop MAIN: 2026-09-07 19:30:05,820 - INFO - /home/pi/Desktop/images/07092026/19/29/image_07092026_19_30_05_59196.jpg MAIN: 2026-09-07 19:30:05,820 - INFO - duration: 1.0608699329968658 MAIN: 2026-09-07 19:30:05,820 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/30' MAIN: 2026-09-07 19:30:06,024 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:31:05,174 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:31:05,302 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:31:05,891 - INFO - taking picture MAIN: 2026-09-07 19:31:05,891 - INFO - we take 781 photos in this while loop MAIN: 2026-09-07 19:31:05,891 - INFO - /home/pi/Desktop/images/07092026/19/30/image_07092026_19_31_05_60138.jpg MAIN: 2026-09-07 19:31:05,892 - INFO - duration: 0.9940298239962431 MAIN: 2026-09-07 19:31:05,892 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/31' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:32:05,116 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:32:05,675 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:32:05,825 - INFO - taking picture MAIN: 2026-09-07 19:32:05,826 - INFO - we take 782 photos in this while loop MAIN: 2026-09-07 19:32:05,826 - INFO - /home/pi/Desktop/images/07092026/19/31/image_07092026_19_32_05_59971.jpg MAIN: 2026-09-07 19:32:05,826 - INFO - duration: 0.957014182000421 MAIN: 2026-09-07 19:32:05,826 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/32' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:33:05,144 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:33:05,866 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:33:05,905 - INFO - taking picture MAIN: 2026-09-07 19:33:05,906 - INFO - we take 783 photos in this while loop MAIN: 2026-09-07 19:33:05,906 - INFO - /home/pi/Desktop/images/07092026/19/32/image_07092026_19_33_05_59971.jpg MAIN: 2026-09-07 19:33:05,906 - INFO - duration: 1.0655442450006376 MAIN: 2026-09-07 19:33:05,907 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/33' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:34:04,987 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:34:05,908 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:34:06,589 - INFO - taking picture MAIN: 2026-09-07 19:34:06,590 - INFO - we take 784 photos in this while loop MAIN: 2026-09-07 19:34:06,590 - INFO - /home/pi/Desktop/images/07092026/19/33/image_07092026_19_34_05_60800.jpg MAIN: 2026-09-07 19:34:06,590 - INFO - duration: 0.9484460759995272 MAIN: 2026-09-07 19:34:06,590 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/34' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:35:04,886 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:35:05,177 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:35:05,633 - INFO - taking picture MAIN: 2026-09-07 19:35:05,633 - INFO - we take 785 photos in this while loop MAIN: 2026-09-07 19:35:05,633 - INFO - /home/pi/Desktop/images/07092026/19/34/image_07092026_19_35_04_58998.jpg MAIN: 2026-09-07 19:35:05,633 - INFO - duration: 0.9930481670016889 MAIN: 2026-09-07 19:35:05,634 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/35' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:36:05,177 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:36:05,624 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:36:05,873 - INFO - taking picture MAIN: 2026-09-07 19:36:05,873 - INFO - we take 786 photos in this while loop MAIN: 2026-09-07 19:36:05,873 - INFO - /home/pi/Desktop/images/07092026/19/35/image_07092026_19_36_05_60266.jpg MAIN: 2026-09-07 19:36:05,873 - INFO - duration: 0.966201348004688 MAIN: 2026-09-07 19:36:05,874 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/36' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:37:05,100 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:37:05,474 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:37:05,791 - INFO - taking picture MAIN: 2026-09-07 19:37:05,792 - INFO - we take 787 photos in this while loop MAIN: 2026-09-07 19:37:05,792 - INFO - /home/pi/Desktop/images/07092026/19/36/image_07092026_19_37_05_59916.jpg MAIN: 2026-09-07 19:37:05,792 - INFO - duration: 0.9685531229988555 MAIN: 2026-09-07 19:37:05,792 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/37' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:38:05,163 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:38:05,843 - INFO - taking picture MAIN: 2026-09-07 19:38:05,843 - INFO - we take 788 photos in this while loop MAIN: 2026-09-07 19:38:05,843 - INFO - /home/pi/Desktop/images/07092026/19/37/image_07092026_19_38_05_60079.jpg MAIN: 2026-09-07 19:38:05,843 - INFO - duration: 0.9400053499994101 MAIN: 2026-09-07 19:38:05,844 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/38' MAIN: 2026-09-07 19:38:05,861 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:39:04,948 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:39:05,513 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:39:05,666 - INFO - taking picture MAIN: 2026-09-07 19:39:05,666 - INFO - we take 789 photos in this while loop MAIN: 2026-09-07 19:39:05,666 - INFO - /home/pi/Desktop/images/07092026/19/38/image_07092026_19_39_04_59792.jpg MAIN: 2026-09-07 19:39:05,667 - INFO - duration: 0.9706698020017939 MAIN: 2026-09-07 19:39:05,667 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/39' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:40:04,896 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:40:05,370 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:40:05,596 - INFO - taking picture MAIN: 2026-09-07 19:40:05,597 - INFO - we take 790 photos in this while loop MAIN: 2026-09-07 19:40:05,597 - INFO - /home/pi/Desktop/images/07092026/19/39/image_07092026_19_40_04_59961.jpg MAIN: 2026-09-07 19:40:05,597 - INFO - duration: 0.9399159079985111 MAIN: 2026-09-07 19:40:05,597 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/40' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:41:04,876 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:41:04,899 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:41:05,663 - INFO - taking picture MAIN: 2026-09-07 19:41:05,664 - INFO - we take 791 photos in this while loop MAIN: 2026-09-07 19:41:05,664 - INFO - /home/pi/Desktop/images/07092026/19/40/image_07092026_19_41_04_59949.jpg MAIN: 2026-09-07 19:41:05,664 - INFO - duration: 1.0577198780010804 MAIN: 2026-09-07 19:41:05,664 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/41' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:42:05,295 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:42:05,332 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:42:05,982 - INFO - taking picture MAIN: 2026-09-07 19:42:05,983 - INFO - we take 792 photos in this while loop MAIN: 2026-09-07 19:42:05,983 - INFO - /home/pi/Desktop/images/07092026/19/41/image_07092026_19_42_05_60408.jpg MAIN: 2026-09-07 19:42:05,983 - INFO - duration: 0.9681603459976031 MAIN: 2026-09-07 19:42:05,983 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/42' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:43:05,041 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:43:05,088 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:43:05,753 - INFO - taking picture MAIN: 2026-09-07 19:43:05,754 - INFO - we take 793 photos in this while loop MAIN: 2026-09-07 19:43:05,754 - INFO - /home/pi/Desktop/images/07092026/19/42/image_07092026_19_43_05_59790.jpg MAIN: 2026-09-07 19:43:05,754 - INFO - duration: 0.948299595998833 MAIN: 2026-09-07 19:43:05,754 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/43' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:44:05,069 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:44:05,605 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:44:05,821 - INFO - taking picture MAIN: 2026-09-07 19:44:05,822 - INFO - we take 794 photos in this while loop MAIN: 2026-09-07 19:44:05,822 - INFO - /home/pi/Desktop/images/07092026/19/43/image_07092026_19_44_05_60035.jpg MAIN: 2026-09-07 19:44:05,822 - INFO - duration: 0.9805077189957956 MAIN: 2026-09-07 19:44:05,822 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/44' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:45:05,082 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:45:05,798 - INFO - taking picture MAIN: 2026-09-07 19:45:05,798 - INFO - we take 795 photos in this while loop MAIN: 2026-09-07 19:45:05,798 - INFO - /home/pi/Desktop/images/07092026/19/44/image_07092026_19_45_05_59995.jpg MAIN: 2026-09-07 19:45:05,798 - INFO - duration: 0.9611608240011265 MAIN: 2026-09-07 19:45:05,798 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/45' MAIN: 2026-09-07 19:45:05,905 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:46:04,958 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:46:05,304 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:46:05,978 - INFO - taking picture MAIN: 2026-09-07 19:46:05,978 - INFO - we take 796 photos in this while loop MAIN: 2026-09-07 19:46:05,978 - INFO - /home/pi/Desktop/images/07092026/19/45/image_07092026_19_46_05_60223.jpg MAIN: 2026-09-07 19:46:05,978 - INFO - duration: 0.9175994100005482 MAIN: 2026-09-07 19:46:05,978 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/46' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:47:04,955 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:47:05,437 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:47:06,111 - INFO - taking picture MAIN: 2026-09-07 19:47:06,111 - INFO - we take 797 photos in this while loop MAIN: 2026-09-07 19:47:06,111 - INFO - /home/pi/Desktop/images/07092026/19/46/image_07092026_19_47_05_60151.jpg MAIN: 2026-09-07 19:47:06,111 - INFO - duration: 0.8990221099957125 MAIN: 2026-09-07 19:47:06,112 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/47' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:48:05,359 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:48:05,676 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:48:06,386 - INFO - taking picture MAIN: 2026-09-07 19:48:06,386 - INFO - we take 798 photos in this while loop MAIN: 2026-09-07 19:48:06,386 - INFO - /home/pi/Desktop/images/07092026/19/47/image_07092026_19_48_05_60191.jpg MAIN: 2026-09-07 19:48:06,386 - INFO - duration: 0.9825190949995886 MAIN: 2026-09-07 19:48:06,387 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/48' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:49:04,816 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:49:05,468 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:49:05,532 - INFO - taking picture MAIN: 2026-09-07 19:49:05,533 - INFO - we take 799 photos in this while loop MAIN: 2026-09-07 19:49:05,533 - INFO - /home/pi/Desktop/images/07092026/19/48/image_07092026_19_49_04_59158.jpg MAIN: 2026-09-07 19:49:05,533 - INFO - duration: 0.970700965001015 MAIN: 2026-09-07 19:49:05,533 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/49' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:50:05,523 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:50:06,051 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:50:06,269 - INFO - taking picture MAIN: 2026-09-07 19:50:06,269 - INFO - we take 800 photos in this while loop MAIN: 2026-09-07 19:50:06,269 - INFO - /home/pi/Desktop/images/07092026/19/49/image_07092026_19_50_05_60716.jpg MAIN: 2026-09-07 19:50:06,270 - INFO - duration: 0.9904811300002621 MAIN: 2026-09-07 19:50:06,270 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/50' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:51:04,761 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:51:04,816 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:51:05,584 - INFO - taking picture MAIN: 2026-09-07 19:51:05,584 - INFO - we take 801 photos in this while loop MAIN: 2026-09-07 19:51:05,584 - INFO - /home/pi/Desktop/images/07092026/19/50/image_07092026_19_51_04_59254.jpg MAIN: 2026-09-07 19:51:05,584 - INFO - duration: 1.050850284002081 MAIN: 2026-09-07 19:51:05,585 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/51' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:52:05,042 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:52:05,647 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:52:06,425 - INFO - taking picture MAIN: 2026-09-07 19:52:06,425 - INFO - we take 802 photos in this while loop MAIN: 2026-09-07 19:52:06,426 - INFO - /home/pi/Desktop/images/07092026/19/51/image_07092026_19_52_05_60854.jpg MAIN: 2026-09-07 19:52:06,426 - INFO - duration: 1.037701768000261 MAIN: 2026-09-07 19:52:06,426 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/52' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:53:05,048 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:53:05,718 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:53:06,421 - INFO - taking picture MAIN: 2026-09-07 19:53:06,421 - INFO - we take 803 photos in this while loop MAIN: 2026-09-07 19:53:06,422 - INFO - /home/pi/Desktop/images/07092026/19/52/image_07092026_19_53_05_60050.jpg MAIN: 2026-09-07 19:53:06,422 - INFO - duration: 0.9828347380025662 MAIN: 2026-09-07 19:53:06,422 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/53' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:54:04,900 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:54:05,585 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:54:05,609 - INFO - taking picture MAIN: 2026-09-07 19:54:05,609 - INFO - we take 804 photos in this while loop MAIN: 2026-09-07 19:54:05,609 - INFO - /home/pi/Desktop/images/07092026/19/53/image_07092026_19_54_04_59228.jpg MAIN: 2026-09-07 19:54:05,609 - INFO - duration: 0.9417913620054605 MAIN: 2026-09-07 19:54:05,610 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/54' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:55:05,402 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:55:05,794 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:55:06,171 - INFO - taking picture MAIN: 2026-09-07 19:55:06,172 - INFO - we take 805 photos in this while loop MAIN: 2026-09-07 19:55:06,172 - INFO - /home/pi/Desktop/images/07092026/19/54/image_07092026_19_55_05_60478.jpg MAIN: 2026-09-07 19:55:06,172 - INFO - duration: 1.0259670000014012 MAIN: 2026-09-07 19:55:06,172 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/55' MAIN: 2026-09-07 19:56:04,908 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:56:05,617 - INFO - taking picture MAIN: 2026-09-07 19:56:05,617 - INFO - we take 806 photos in this while loop MAIN: 2026-09-07 19:56:05,617 - INFO - /home/pi/Desktop/images/07092026/19/55/image_07092026_19_56_04_59449.jpg MAIN: 2026-09-07 19:56:05,618 - INFO - duration: 1.0224265050055692 MAIN: 2026-09-07 19:56:05,618 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/56' MAIN: 2026-09-07 19:56:05,922 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:57:04,705 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:57:05,385 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:57:06,211 - INFO - taking picture MAIN: 2026-09-07 19:57:06,211 - INFO - we take 807 photos in this while loop MAIN: 2026-09-07 19:57:06,211 - INFO - /home/pi/Desktop/images/07092026/19/56/image_07092026_19_57_05_60561.jpg MAIN: 2026-09-07 19:57:06,211 - INFO - duration: 1.054425941001682 MAIN: 2026-09-07 19:57:06,211 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/57' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:58:04,733 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:58:05,986 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:58:06,688 - INFO - taking picture MAIN: 2026-09-07 19:58:06,688 - INFO - we take 808 photos in this while loop MAIN: 2026-09-07 19:58:06,688 - INFO - /home/pi/Desktop/images/07092026/19/57/image_07092026_19_58_05_60562.jpg MAIN: 2026-09-07 19:58:06,689 - INFO - duration: 0.9692669870055397 MAIN: 2026-09-07 19:58:06,689 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/58' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 19:59:04,884 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 19:59:05,095 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 19:59:05,797 - INFO - taking picture MAIN: 2026-09-07 19:59:05,797 - INFO - we take 809 photos in this while loop MAIN: 2026-09-07 19:59:05,798 - INFO - /home/pi/Desktop/images/07092026/19/58/image_07092026_19_59_05_59084.jpg MAIN: 2026-09-07 19:59:05,798 - INFO - duration: 0.9943902189988876 MAIN: 2026-09-07 19:59:05,798 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/19/59' MAIN: 2026-09-07 20:00:04,809 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:00:05,516 - INFO - taking picture MAIN: 2026-09-07 20:00:05,516 - INFO - we take 810 photos in this while loop MAIN: 2026-09-07 20:00:05,516 - INFO - /home/pi/Desktop/images/07092026/19/59/image_07092026_20_00_04_59762.jpg MAIN: 2026-09-07 20:00:05,516 - INFO - duration: 0.9509599879966117 MAIN: 2026-09-07 20:00:05,517 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/00' MAIN: 2026-09-07 20:00:05,880 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:01:05,116 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:01:05,310 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:01:05,829 - INFO - taking picture MAIN: 2026-09-07 20:01:05,830 - INFO - we take 811 photos in this while loop MAIN: 2026-09-07 20:01:05,830 - INFO - /home/pi/Desktop/images/07092026/20/00/image_07092026_20_01_05_60292.jpg MAIN: 2026-09-07 20:01:05,830 - INFO - duration: 0.9715832300062175 MAIN: 2026-09-07 20:01:05,830 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/01' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:02:05,674 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:02:05,766 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:02:06,407 - INFO - taking picture MAIN: 2026-09-07 20:02:06,407 - INFO - we take 812 photos in this while loop MAIN: 2026-09-07 20:02:06,407 - INFO - /home/pi/Desktop/images/07092026/20/01/image_07092026_20_02_05_60499.jpg MAIN: 2026-09-07 20:02:06,407 - INFO - duration: 1.0488812390030944 MAIN: 2026-09-07 20:02:06,407 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/02' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:03:04,571 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:03:04,893 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:03:05,670 - INFO - taking picture MAIN: 2026-09-07 20:03:05,671 - INFO - we take 813 photos in this while loop MAIN: 2026-09-07 20:03:05,671 - INFO - /home/pi/Desktop/images/07092026/20/02/image_07092026_20_03_04_59242.jpg MAIN: 2026-09-07 20:03:05,671 - INFO - duration: 1.0702823409956181 MAIN: 2026-09-07 20:03:05,671 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/03' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:04:05,334 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:04:05,636 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:04:06,382 - INFO - taking picture MAIN: 2026-09-07 20:04:06,382 - INFO - we take 814 photos in this while loop MAIN: 2026-09-07 20:04:06,382 - INFO - /home/pi/Desktop/images/07092026/20/03/image_07092026_20_04_05_60780.jpg MAIN: 2026-09-07 20:04:06,383 - INFO - duration: 1.0018772600014927 MAIN: 2026-09-07 20:04:06,383 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/04' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:05:04,825 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:05:05,249 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:05:05,544 - INFO - taking picture MAIN: 2026-09-07 20:05:05,544 - INFO - we take 815 photos in this while loop MAIN: 2026-09-07 20:05:05,544 - INFO - /home/pi/Desktop/images/07092026/20/04/image_07092026_20_05_04_59191.jpg MAIN: 2026-09-07 20:05:05,545 - INFO - duration: 0.9723952439962886 MAIN: 2026-09-07 20:05:05,545 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/05' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:06:05,241 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:06:05,242 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:06:05,964 - INFO - taking picture MAIN: 2026-09-07 20:06:05,964 - INFO - we take 816 photos in this while loop MAIN: 2026-09-07 20:06:05,964 - INFO - /home/pi/Desktop/images/07092026/20/05/image_07092026_20_06_05_60365.jpg MAIN: 2026-09-07 20:06:05,964 - INFO - duration: 1.0262371510034427 MAIN: 2026-09-07 20:06:05,965 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/06' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:07:05,365 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:07:05,375 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:07:06,084 - INFO - taking picture MAIN: 2026-09-07 20:07:06,084 - INFO - we take 817 photos in this while loop MAIN: 2026-09-07 20:07:06,084 - INFO - /home/pi/Desktop/images/07092026/20/06/image_07092026_20_07_05_60162.jpg MAIN: 2026-09-07 20:07:06,085 - INFO - duration: 0.9834751180023886 MAIN: 2026-09-07 20:07:06,085 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/07' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:08:05,051 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:08:05,753 - INFO - taking picture MAIN: 2026-09-07 20:08:05,753 - INFO - we take 818 photos in this while loop MAIN: 2026-09-07 20:08:05,753 - INFO - /home/pi/Desktop/images/07092026/20/07/image_07092026_20_08_05_59724.jpg MAIN: 2026-09-07 20:08:05,753 - INFO - duration: 0.9278338430012809 MAIN: 2026-09-07 20:08:05,753 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/08' MAIN: 2026-09-07 20:08:05,759 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:09:05,287 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:09:05,524 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:09:06,041 - INFO - taking picture MAIN: 2026-09-07 20:09:06,042 - INFO - we take 819 photos in this while loop MAIN: 2026-09-07 20:09:06,042 - INFO - /home/pi/Desktop/images/07092026/20/08/image_07092026_20_09_05_60176.jpg MAIN: 2026-09-07 20:09:06,042 - INFO - duration: 1.0401964430056978 MAIN: 2026-09-07 20:09:06,042 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/09' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:10:04,951 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:10:05,259 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:10:05,664 - INFO - taking picture MAIN: 2026-09-07 20:10:05,665 - INFO - we take 820 photos in this while loop MAIN: 2026-09-07 20:10:05,665 - INFO - /home/pi/Desktop/images/07092026/20/09/image_07092026_20_10_04_59675.jpg MAIN: 2026-09-07 20:10:05,665 - INFO - duration: 0.988182050998148 MAIN: 2026-09-07 20:10:05,665 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/10' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:11:04,980 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:11:05,415 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:11:06,117 - INFO - taking picture MAIN: 2026-09-07 20:11:06,117 - INFO - we take 821 photos in this while loop MAIN: 2026-09-07 20:11:06,117 - INFO - /home/pi/Desktop/images/07092026/20/10/image_07092026_20_11_05_60508.jpg MAIN: 2026-09-07 20:11:06,118 - INFO - duration: 0.9321919979993254 MAIN: 2026-09-07 20:11:06,118 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/11' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:12:05,185 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:12:05,785 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:12:06,530 - INFO - taking picture MAIN: 2026-09-07 20:12:06,530 - INFO - we take 822 photos in this while loop MAIN: 2026-09-07 20:12:06,530 - INFO - /home/pi/Desktop/images/07092026/20/11/image_07092026_20_12_05_60371.jpg MAIN: 2026-09-07 20:12:06,530 - INFO - duration: 0.9735417679985403 MAIN: 2026-09-07 20:12:06,531 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/12' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:13:04,839 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:13:05,229 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:13:05,550 - INFO - taking picture MAIN: 2026-09-07 20:13:05,551 - INFO - we take 823 photos in this while loop MAIN: 2026-09-07 20:13:05,551 - INFO - /home/pi/Desktop/images/07092026/20/12/image_07092026_20_13_04_59023.jpg MAIN: 2026-09-07 20:13:05,551 - INFO - duration: 0.9707100830055424 MAIN: 2026-09-07 20:13:05,551 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/13' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:14:05,363 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:14:05,437 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:14:06,151 - INFO - taking picture MAIN: 2026-09-07 20:14:06,151 - INFO - we take 824 photos in this while loop MAIN: 2026-09-07 20:14:06,151 - INFO - /home/pi/Desktop/images/07092026/20/13/image_07092026_20_14_05_60504.jpg MAIN: 2026-09-07 20:14:06,151 - INFO - duration: 1.0661981550001656 MAIN: 2026-09-07 20:14:06,152 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/14' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:15:04,919 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:15:05,621 - INFO - taking picture MAIN: 2026-09-07 20:15:05,621 - INFO - we take 825 photos in this while loop MAIN: 2026-09-07 20:15:05,621 - INFO - /home/pi/Desktop/images/07092026/20/14/image_07092026_20_15_04_59557.jpg MAIN: 2026-09-07 20:15:05,621 - INFO - duration: 0.9780975429966929 MAIN: 2026-09-07 20:15:05,621 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/15' MAIN: 2026-09-07 20:15:05,810 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:16:05,425 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:16:05,855 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:16:06,140 - INFO - taking picture MAIN: 2026-09-07 20:16:06,141 - INFO - we take 826 photos in this while loop MAIN: 2026-09-07 20:16:06,141 - INFO - /home/pi/Desktop/images/07092026/20/15/image_07092026_20_16_05_60506.jpg MAIN: 2026-09-07 20:16:06,141 - INFO - duration: 0.9914536889991723 MAIN: 2026-09-07 20:16:06,141 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/16' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:17:04,648 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:17:05,921 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:17:06,702 - INFO - taking picture MAIN: 2026-09-07 20:17:06,702 - INFO - we take 827 photos in this while loop MAIN: 2026-09-07 20:17:06,703 - INFO - /home/pi/Desktop/images/07092026/20/16/image_07092026_20_17_05_60478.jpg MAIN: 2026-09-07 20:17:06,703 - INFO - duration: 1.0747343100010767 MAIN: 2026-09-07 20:17:06,703 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/17' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:18:05,161 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:18:05,293 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:18:05,926 - INFO - taking picture MAIN: 2026-09-07 20:18:05,927 - INFO - we take 828 photos in this while loop MAIN: 2026-09-07 20:18:05,927 - INFO - /home/pi/Desktop/images/07092026/20/17/image_07092026_20_18_05_59265.jpg MAIN: 2026-09-07 20:18:05,927 - INFO - duration: 1.0336511360001168 MAIN: 2026-09-07 20:18:05,927 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/18' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:19:04,948 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:19:05,715 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:19:06,418 - INFO - taking picture MAIN: 2026-09-07 20:19:06,418 - INFO - we take 829 photos in this while loop MAIN: 2026-09-07 20:19:06,418 - INFO - /home/pi/Desktop/images/07092026/20/18/image_07092026_20_19_05_60525.jpg MAIN: 2026-09-07 20:19:06,418 - INFO - duration: 0.9994968840037473 MAIN: 2026-09-07 20:19:06,418 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/19' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:20:05,219 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:20:05,663 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:20:06,035 - INFO - taking picture MAIN: 2026-09-07 20:20:06,035 - INFO - we take 830 photos in this while loop MAIN: 2026-09-07 20:20:06,035 - INFO - /home/pi/Desktop/images/07092026/20/19/image_07092026_20_20_05_59528.jpg MAIN: 2026-09-07 20:20:06,035 - INFO - duration: 1.0883822160030832 MAIN: 2026-09-07 20:20:06,036 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/20' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:21:05,256 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:21:05,842 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:21:06,621 - INFO - taking picture MAIN: 2026-09-07 20:21:06,621 - INFO - we take 831 photos in this while loop MAIN: 2026-09-07 20:21:06,621 - INFO - /home/pi/Desktop/images/07092026/20/20/image_07092026_20_21_05_60635.jpg MAIN: 2026-09-07 20:21:06,621 - INFO - duration: 1.0380946479999693 MAIN: 2026-09-07 20:21:06,621 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/21' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:22:05,284 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:22:05,671 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:22:05,997 - INFO - taking picture MAIN: 2026-09-07 20:22:05,997 - INFO - we take 832 photos in this while loop MAIN: 2026-09-07 20:22:05,997 - INFO - /home/pi/Desktop/images/07092026/20/21/image_07092026_20_22_05_59442.jpg MAIN: 2026-09-07 20:22:05,997 - INFO - duration: 0.971754318998137 MAIN: 2026-09-07 20:22:05,997 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/22' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:23:05,679 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:23:05,746 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:23:06,524 - INFO - taking picture MAIN: 2026-09-07 20:23:06,525 - INFO - we take 833 photos in this while loop MAIN: 2026-09-07 20:23:06,525 - INFO - /home/pi/Desktop/images/07092026/20/22/image_07092026_20_23_05_60417.jpg MAIN: 2026-09-07 20:23:06,525 - INFO - duration: 1.0821871630032547 MAIN: 2026-09-07 20:23:06,525 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/23' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:24:05,073 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:24:05,437 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:24:06,211 - INFO - taking picture MAIN: 2026-09-07 20:24:06,211 - INFO - we take 834 photos in this while loop MAIN: 2026-09-07 20:24:06,211 - INFO - /home/pi/Desktop/images/07092026/20/23/image_07092026_20_24_05_59727.jpg MAIN: 2026-09-07 20:24:06,211 - INFO - duration: 1.0412568199972156 MAIN: 2026-09-07 20:24:06,212 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/24' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:25:05,321 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:25:05,842 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:25:06,535 - INFO - taking picture MAIN: 2026-09-07 20:25:06,535 - INFO - we take 835 photos in this while loop MAIN: 2026-09-07 20:25:06,536 - INFO - /home/pi/Desktop/images/07092026/20/24/image_07092026_20_25_05_60448.jpg MAIN: 2026-09-07 20:25:06,536 - INFO - duration: 0.9166715100000147 MAIN: 2026-09-07 20:25:06,536 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/25' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:26:05,420 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:26:05,969 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:26:06,733 - INFO - taking picture MAIN: 2026-09-07 20:26:06,733 - INFO - we take 836 photos in this while loop MAIN: 2026-09-07 20:26:06,733 - INFO - /home/pi/Desktop/images/07092026/20/25/image_07092026_20_26_05_60109.jpg MAIN: 2026-09-07 20:26:06,733 - INFO - duration: 1.0044707630004268 MAIN: 2026-09-07 20:26:06,734 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/26' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:27:05,337 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:27:06,018 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:27:06,710 - INFO - taking picture MAIN: 2026-09-07 20:27:06,710 - INFO - we take 837 photos in this while loop MAIN: 2026-09-07 20:27:06,710 - INFO - /home/pi/Desktop/images/07092026/20/26/image_07092026_20_27_06_60025.jpg MAIN: 2026-09-07 20:27:06,710 - INFO - duration: 0.9562821250001434 MAIN: 2026-09-07 20:27:06,711 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/27' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:28:05,130 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:28:05,823 - INFO - taking picture MAIN: 2026-09-07 20:28:05,823 - INFO - we take 838 photos in this while loop MAIN: 2026-09-07 20:28:05,823 - INFO - /home/pi/Desktop/images/07092026/20/27/image_07092026_20_28_05_59108.jpg MAIN: 2026-09-07 20:28:05,823 - INFO - duration: 0.9606304109984194 MAIN: 2026-09-07 20:28:05,824 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/28' MAIN: 2026-09-07 20:28:05,916 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:29:04,713 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:29:05,283 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:29:06,083 - INFO - taking picture MAIN: 2026-09-07 20:29:06,084 - INFO - we take 839 photos in this while loop MAIN: 2026-09-07 20:29:06,084 - INFO - /home/pi/Desktop/images/07092026/20/28/image_07092026_20_29_05_60198.jpg MAIN: 2026-09-07 20:29:06,084 - INFO - duration: 1.0226637509986176 MAIN: 2026-09-07 20:29:06,084 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/29' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:30:05,713 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:30:05,818 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:30:06,511 - INFO - taking picture MAIN: 2026-09-07 20:30:06,511 - INFO - we take 840 photos in this while loop MAIN: 2026-09-07 20:30:06,511 - INFO - /home/pi/Desktop/images/07092026/20/29/image_07092026_20_30_05_60465.jpg MAIN: 2026-09-07 20:30:06,511 - INFO - duration: 0.9844003710022662 MAIN: 2026-09-07 20:30:06,512 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/30' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:31:05,233 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:31:05,960 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:31:06,726 - INFO - taking picture MAIN: 2026-09-07 20:31:06,726 - INFO - we take 841 photos in this while loop MAIN: 2026-09-07 20:31:06,726 - INFO - /home/pi/Desktop/images/07092026/20/30/image_07092026_20_31_05_60138.jpg MAIN: 2026-09-07 20:31:06,726 - INFO - duration: 1.0606689139967784 MAIN: 2026-09-07 20:31:06,726 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/31' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:32:04,787 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:32:05,479 - INFO - taking picture MAIN: 2026-09-07 20:32:05,480 - INFO - we take 842 photos in this while loop MAIN: 2026-09-07 20:32:05,480 - INFO - /home/pi/Desktop/images/07092026/20/31/image_07092026_20_32_04_58876.jpg MAIN: 2026-09-07 20:32:05,480 - INFO - duration: 0.9379091070004506 MAIN: 2026-09-07 20:32:05,480 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/32' MAIN: 2026-09-07 20:32:05,791 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:33:04,955 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:33:05,554 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:33:05,670 - INFO - taking picture MAIN: 2026-09-07 20:33:05,670 - INFO - we take 843 photos in this while loop MAIN: 2026-09-07 20:33:05,670 - INFO - /home/pi/Desktop/images/07092026/20/32/image_07092026_20_33_04_60149.jpg MAIN: 2026-09-07 20:33:05,670 - INFO - duration: 0.9785365450006793 MAIN: 2026-09-07 20:33:05,670 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/33' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:34:04,849 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:34:05,536 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:34:06,230 - INFO - taking picture MAIN: 2026-09-07 20:34:06,231 - INFO - we take 844 photos in this while loop MAIN: 2026-09-07 20:34:06,231 - INFO - /home/pi/Desktop/images/07092026/20/33/image_07092026_20_34_05_60621.jpg MAIN: 2026-09-07 20:34:06,231 - INFO - duration: 0.917318535000959 MAIN: 2026-09-07 20:34:06,231 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/34' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:35:05,363 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:35:05,703 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:35:06,395 - INFO - taking picture MAIN: 2026-09-07 20:35:06,396 - INFO - we take 845 photos in this while loop MAIN: 2026-09-07 20:35:06,396 - INFO - /home/pi/Desktop/images/07092026/20/34/image_07092026_20_35_05_60164.jpg MAIN: 2026-09-07 20:35:06,396 - INFO - duration: 0.917703266000899 MAIN: 2026-09-07 20:35:06,396 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/35' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:36:05,371 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:36:05,893 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:36:06,585 - INFO - taking picture MAIN: 2026-09-07 20:36:06,586 - INFO - we take 846 photos in this while loop MAIN: 2026-09-07 20:36:06,586 - INFO - /home/pi/Desktop/images/07092026/20/35/image_07092026_20_36_05_60193.jpg MAIN: 2026-09-07 20:36:06,586 - INFO - duration: 0.9142968779997318 MAIN: 2026-09-07 20:36:06,586 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/36' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:37:05,153 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:37:05,940 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:37:06,702 - INFO - taking picture MAIN: 2026-09-07 20:37:06,702 - INFO - we take 847 photos in this while loop MAIN: 2026-09-07 20:37:06,702 - INFO - /home/pi/Desktop/images/07092026/20/36/image_07092026_20_37_05_59988.jpg MAIN: 2026-09-07 20:37:06,703 - INFO - duration: 1.042057692000526 MAIN: 2026-09-07 20:37:06,703 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/37' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:38:05,044 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:38:05,736 - INFO - taking picture MAIN: 2026-09-07 20:38:05,736 - INFO - we take 848 photos in this while loop MAIN: 2026-09-07 20:38:05,736 - INFO - /home/pi/Desktop/images/07092026/20/37/image_07092026_20_38_05_59095.jpg MAIN: 2026-09-07 20:38:05,736 - INFO - duration: 0.9805025829991791 MAIN: 2026-09-07 20:38:05,737 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/38' MAIN: 2026-09-07 20:38:05,743 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:39:05,602 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:39:05,731 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:39:06,347 - INFO - taking picture MAIN: 2026-09-07 20:39:06,347 - INFO - we take 849 photos in this while loop MAIN: 2026-09-07 20:39:06,348 - INFO - /home/pi/Desktop/images/07092026/20/38/image_07092026_20_39_05_60597.jpg MAIN: 2026-09-07 20:39:06,348 - INFO - duration: 0.9939249160015606 MAIN: 2026-09-07 20:39:06,348 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/39' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:40:05,015 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:40:05,237 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:40:05,768 - INFO - taking picture MAIN: 2026-09-07 20:40:05,768 - INFO - we take 850 photos in this while loop MAIN: 2026-09-07 20:40:05,768 - INFO - /home/pi/Desktop/images/07092026/20/39/image_07092026_20_40_05_59406.jpg MAIN: 2026-09-07 20:40:05,768 - INFO - duration: 1.00813868700061 MAIN: 2026-09-07 20:40:05,768 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/40' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:41:04,987 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:41:05,185 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:41:05,878 - INFO - taking picture MAIN: 2026-09-07 20:41:05,878 - INFO - we take 851 photos in this while loop MAIN: 2026-09-07 20:41:05,878 - INFO - /home/pi/Desktop/images/07092026/20/40/image_07092026_20_41_05_60166.jpg MAIN: 2026-09-07 20:41:05,878 - INFO - duration: 0.9520944460018654 MAIN: 2026-09-07 20:41:05,878 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/41' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:42:05,274 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:42:05,440 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:42:06,135 - INFO - taking picture MAIN: 2026-09-07 20:42:06,135 - INFO - we take 852 photos in this while loop MAIN: 2026-09-07 20:42:06,136 - INFO - /home/pi/Desktop/images/07092026/20/41/image_07092026_20_42_05_60231.jpg MAIN: 2026-09-07 20:42:06,136 - INFO - duration: 0.9777475380033138 MAIN: 2026-09-07 20:42:06,136 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/42' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:43:05,159 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:43:05,406 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:43:06,098 - INFO - taking picture MAIN: 2026-09-07 20:43:06,099 - INFO - we take 853 photos in this while loop MAIN: 2026-09-07 20:43:06,099 - INFO - /home/pi/Desktop/images/07092026/20/42/image_07092026_20_43_05_59966.jpg MAIN: 2026-09-07 20:43:06,099 - INFO - duration: 0.9742285259999335 MAIN: 2026-09-07 20:43:06,099 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/43' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:44:05,448 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:44:05,655 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:44:06,149 - INFO - taking picture MAIN: 2026-09-07 20:44:06,149 - INFO - we take 854 photos in this while loop MAIN: 2026-09-07 20:44:06,149 - INFO - /home/pi/Desktop/images/07092026/20/43/image_07092026_20_44_05_60048.jpg MAIN: 2026-09-07 20:44:06,149 - INFO - duration: 0.9755091269980767 MAIN: 2026-09-07 20:44:06,149 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/44' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:45:05,662 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:45:05,981 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:45:06,364 - INFO - taking picture MAIN: 2026-09-07 20:45:06,365 - INFO - we take 855 photos in this while loop MAIN: 2026-09-07 20:45:06,365 - INFO - /home/pi/Desktop/images/07092026/20/44/image_07092026_20_45_05_60237.jpg MAIN: 2026-09-07 20:45:06,365 - INFO - duration: 0.9534548020019429 MAIN: 2026-09-07 20:45:06,365 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/45' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:46:05,348 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:46:05,744 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:46:06,436 - INFO - taking picture MAIN: 2026-09-07 20:46:06,436 - INFO - we take 856 photos in this while loop MAIN: 2026-09-07 20:46:06,436 - INFO - /home/pi/Desktop/images/07092026/20/45/image_07092026_20_46_05_60104.jpg MAIN: 2026-09-07 20:46:06,437 - INFO - duration: 0.9205939390012645 MAIN: 2026-09-07 20:46:06,437 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/46' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:47:05,039 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:47:05,844 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:47:06,541 - INFO - taking picture MAIN: 2026-09-07 20:47:06,542 - INFO - we take 857 photos in this while loop MAIN: 2026-09-07 20:47:06,542 - INFO - /home/pi/Desktop/images/07092026/20/46/image_07092026_20_47_05_60045.jpg MAIN: 2026-09-07 20:47:06,542 - INFO - duration: 0.9803808670039871 MAIN: 2026-09-07 20:47:06,542 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/47' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:48:05,608 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:48:05,799 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:48:06,491 - INFO - taking picture MAIN: 2026-09-07 20:48:06,492 - INFO - we take 858 photos in this while loop MAIN: 2026-09-07 20:48:06,492 - INFO - /home/pi/Desktop/images/07092026/20/47/image_07092026_20_48_05_59955.jpg MAIN: 2026-09-07 20:48:06,492 - INFO - duration: 0.9752691140020033 MAIN: 2026-09-07 20:48:06,492 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/48' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:49:04,840 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:49:05,374 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:49:05,540 - INFO - taking picture MAIN: 2026-09-07 20:49:05,541 - INFO - we take 859 photos in this while loop MAIN: 2026-09-07 20:49:05,541 - INFO - /home/pi/Desktop/images/07092026/20/48/image_07092026_20_49_04_59057.jpg MAIN: 2026-09-07 20:49:05,541 - INFO - duration: 0.9663246240015724 MAIN: 2026-09-07 20:49:05,541 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/49' MAIN: 2026-09-07 20:50:05,309 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:50:06,085 - INFO - taking picture MAIN: 2026-09-07 20:50:06,085 - INFO - we take 860 photos in this while loop MAIN: 2026-09-07 20:50:06,085 - INFO - /home/pi/Desktop/images/07092026/20/49/image_07092026_20_50_05_60514.jpg MAIN: 2026-09-07 20:50:06,085 - INFO - duration: 0.9964840929969796 MAIN: 2026-09-07 20:50:06,086 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/50' MAIN: 2026-09-07 20:50:06,448 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:51:04,801 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:51:05,527 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:51:06,221 - INFO - taking picture MAIN: 2026-09-07 20:51:06,221 - INFO - we take 861 photos in this while loop MAIN: 2026-09-07 20:51:06,221 - INFO - /home/pi/Desktop/images/07092026/20/50/image_07092026_20_51_05_60187.jpg MAIN: 2026-09-07 20:51:06,221 - INFO - duration: 0.945672387999366 MAIN: 2026-09-07 20:51:06,222 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/51' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:52:05,340 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:52:05,807 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:52:06,572 - INFO - taking picture MAIN: 2026-09-07 20:52:06,572 - INFO - we take 862 photos in this while loop MAIN: 2026-09-07 20:52:06,572 - INFO - /home/pi/Desktop/images/07092026/20/51/image_07092026_20_52_05_60279.jpg MAIN: 2026-09-07 20:52:06,572 - INFO - duration: 1.0168830129987327 MAIN: 2026-09-07 20:52:06,572 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/52' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:53:05,273 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:53:05,556 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:53:05,977 - INFO - taking picture MAIN: 2026-09-07 20:53:05,977 - INFO - we take 863 photos in this while loop MAIN: 2026-09-07 20:53:05,977 - INFO - /home/pi/Desktop/images/07092026/20/52/image_07092026_20_53_05_59440.jpg MAIN: 2026-09-07 20:53:05,977 - INFO - duration: 0.9817394700003206 MAIN: 2026-09-07 20:53:05,977 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/53' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:54:05,640 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:54:05,776 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:54:06,471 - INFO - taking picture MAIN: 2026-09-07 20:54:06,471 - INFO - we take 864 photos in this while loop MAIN: 2026-09-07 20:54:06,471 - INFO - /home/pi/Desktop/images/07092026/20/53/image_07092026_20_54_05_60501.jpg MAIN: 2026-09-07 20:54:06,471 - INFO - duration: 0.9746631029993296 MAIN: 2026-09-07 20:54:06,472 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/54' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:55:05,997 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:55:06,116 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:55:06,708 - INFO - taking picture MAIN: 2026-09-07 20:55:06,708 - INFO - we take 865 photos in this while loop MAIN: 2026-09-07 20:55:06,708 - INFO - /home/pi/Desktop/images/07092026/20/54/image_07092026_20_55_05_60211.jpg MAIN: 2026-09-07 20:55:06,708 - INFO - duration: 0.9999702120039728 MAIN: 2026-09-07 20:55:06,709 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/55' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:56:04,796 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:56:05,037 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:56:05,728 - INFO - taking picture MAIN: 2026-09-07 20:56:05,728 - INFO - we take 866 photos in this while loop MAIN: 2026-09-07 20:56:05,728 - INFO - /home/pi/Desktop/images/07092026/20/55/image_07092026_20_56_05_59051.jpg MAIN: 2026-09-07 20:56:05,728 - INFO - duration: 0.9688235880021239 MAIN: 2026-09-07 20:56:05,729 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/56' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:57:04,818 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:57:05,139 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:57:05,834 - INFO - taking picture MAIN: 2026-09-07 20:57:05,834 - INFO - we take 867 photos in this while loop MAIN: 2026-09-07 20:57:05,834 - INFO - /home/pi/Desktop/images/07092026/20/56/image_07092026_20_57_05_60156.jpg MAIN: 2026-09-07 20:57:05,835 - INFO - duration: 0.9183327790015028 MAIN: 2026-09-07 20:57:05,835 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/57' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:58:05,108 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:58:05,771 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:58:06,504 - INFO - taking picture MAIN: 2026-09-07 20:58:06,505 - INFO - we take 868 photos in this while loop MAIN: 2026-09-07 20:58:06,505 - INFO - /home/pi/Desktop/images/07092026/20/57/image_07092026_20_58_05_60634.jpg MAIN: 2026-09-07 20:58:06,505 - INFO - duration: 0.9542596009996487 MAIN: 2026-09-07 20:58:06,505 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/58' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 20:59:04,826 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 20:59:05,284 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 20:59:05,528 - INFO - taking picture MAIN: 2026-09-07 20:59:05,528 - INFO - we take 869 photos in this while loop MAIN: 2026-09-07 20:59:05,528 - INFO - /home/pi/Desktop/images/07092026/20/58/image_07092026_20_59_04_58981.jpg MAIN: 2026-09-07 20:59:05,528 - INFO - duration: 0.9960965890059015 MAIN: 2026-09-07 20:59:05,529 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/20/59' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:00:05,172 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:00:05,868 - INFO - taking picture MAIN: 2026-09-07 21:00:05,868 - INFO - we take 870 photos in this while loop MAIN: 2026-09-07 21:00:05,869 - INFO - /home/pi/Desktop/images/07092026/20/59/image_07092026_21_00_05_60415.jpg MAIN: 2026-09-07 21:00:05,869 - INFO - duration: 0.9212578189981286 MAIN: 2026-09-07 21:00:05,869 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/00' MAIN: 2026-09-07 21:00:06,059 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:01:05,222 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:01:05,749 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:01:05,926 - INFO - taking picture MAIN: 2026-09-07 21:01:05,927 - INFO - we take 871 photos in this while loop MAIN: 2026-09-07 21:01:05,927 - INFO - /home/pi/Desktop/images/07092026/21/00/image_07092026_21_01_05_59995.jpg MAIN: 2026-09-07 21:01:05,927 - INFO - duration: 0.9841875819984125 MAIN: 2026-09-07 21:01:05,927 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/01' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:02:04,894 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:02:05,472 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:02:06,237 - INFO - taking picture MAIN: 2026-09-07 21:02:06,237 - INFO - we take 872 photos in this while loop MAIN: 2026-09-07 21:02:06,237 - INFO - /home/pi/Desktop/images/07092026/21/01/image_07092026_21_02_05_60279.jpg MAIN: 2026-09-07 21:02:06,238 - INFO - duration: 1.0153020119978464 MAIN: 2026-09-07 21:02:06,238 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/02' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:03:04,915 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:03:05,917 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:03:06,610 - INFO - taking picture MAIN: 2026-09-07 21:03:06,610 - INFO - we take 873 photos in this while loop MAIN: 2026-09-07 21:03:06,610 - INFO - /home/pi/Desktop/images/07092026/21/02/image_07092026_21_03_05_60427.jpg MAIN: 2026-09-07 21:03:06,610 - INFO - duration: 0.9605129920018953 MAIN: 2026-09-07 21:03:06,611 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/03' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:04:05,081 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:04:05,106 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:04:05,805 - INFO - taking picture MAIN: 2026-09-07 21:04:05,805 - INFO - we take 874 photos in this while loop MAIN: 2026-09-07 21:04:05,805 - INFO - /home/pi/Desktop/images/07092026/21/03/image_07092026_21_04_05_59174.jpg MAIN: 2026-09-07 21:04:05,805 - INFO - duration: 0.9807292900004541 MAIN: 2026-09-07 21:04:05,805 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/04' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:05:05,130 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:05:05,507 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:05:05,882 - INFO - taking picture MAIN: 2026-09-07 21:05:05,882 - INFO - we take 875 photos in this while loop MAIN: 2026-09-07 21:05:05,882 - INFO - /home/pi/Desktop/images/07092026/21/04/image_07092026_21_05_05_60008.jpg MAIN: 2026-09-07 21:05:05,882 - INFO - duration: 1.04998420800257 MAIN: 2026-09-07 21:05:05,883 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/05' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:06:05,362 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:06:05,666 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:06:06,065 - INFO - taking picture MAIN: 2026-09-07 21:06:06,065 - INFO - we take 876 photos in this while loop MAIN: 2026-09-07 21:06:06,065 - INFO - /home/pi/Desktop/images/07092026/21/05/image_07092026_21_06_05_60262.jpg MAIN: 2026-09-07 21:06:06,065 - INFO - duration: 0.9700490960021853 MAIN: 2026-09-07 21:06:06,065 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/06' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:07:05,393 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:07:05,548 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:07:06,313 - INFO - taking picture MAIN: 2026-09-07 21:07:06,313 - INFO - we take 877 photos in this while loop MAIN: 2026-09-07 21:07:06,314 - INFO - /home/pi/Desktop/images/07092026/21/06/image_07092026_21_07_05_60113.jpg MAIN: 2026-09-07 21:07:06,314 - INFO - duration: 1.1047195049977745 MAIN: 2026-09-07 21:07:06,314 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/07' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:08:04,967 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:08:05,797 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:08:06,493 - INFO - taking picture MAIN: 2026-09-07 21:08:06,493 - INFO - we take 878 photos in this while loop MAIN: 2026-09-07 21:08:06,493 - INFO - /home/pi/Desktop/images/07092026/21/07/image_07092026_21_08_05_60322.jpg MAIN: 2026-09-07 21:08:06,493 - INFO - duration: 0.9616391659947112 MAIN: 2026-09-07 21:08:06,494 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/08' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:09:05,107 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:09:05,762 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:09:06,571 - INFO - taking picture MAIN: 2026-09-07 21:09:06,572 - INFO - we take 879 photos in this while loop MAIN: 2026-09-07 21:09:06,572 - INFO - /home/pi/Desktop/images/07092026/21/08/image_07092026_21_09_05_59992.jpg MAIN: 2026-09-07 21:09:06,572 - INFO - duration: 1.0474112189986045 MAIN: 2026-09-07 21:09:06,572 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/09' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:10:04,984 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:10:05,345 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:10:05,725 - INFO - taking picture MAIN: 2026-09-07 21:10:05,726 - INFO - we take 880 photos in this while loop MAIN: 2026-09-07 21:10:05,726 - INFO - /home/pi/Desktop/images/07092026/21/09/image_07092026_21_10_04_59238.jpg MAIN: 2026-09-07 21:10:05,726 - INFO - duration: 0.9632132019978599 MAIN: 2026-09-07 21:10:05,726 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/10' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:11:05,086 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:11:05,274 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:11:05,825 - INFO - taking picture MAIN: 2026-09-07 21:11:05,826 - INFO - we take 881 photos in this while loop MAIN: 2026-09-07 21:11:05,826 - INFO - /home/pi/Desktop/images/07092026/21/10/image_07092026_21_11_05_60069.jpg MAIN: 2026-09-07 21:11:05,826 - INFO - duration: 0.994193204001931 MAIN: 2026-09-07 21:11:05,826 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/11' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:12:05,243 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:12:05,546 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:12:05,946 - INFO - taking picture MAIN: 2026-09-07 21:12:05,947 - INFO - we take 882 photos in this while loop MAIN: 2026-09-07 21:12:05,947 - INFO - /home/pi/Desktop/images/07092026/21/11/image_07092026_21_12_05_60135.jpg MAIN: 2026-09-07 21:12:05,947 - INFO - duration: 0.9797339020005893 MAIN: 2026-09-07 21:12:05,947 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/12' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:13:05,191 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:13:05,270 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:13:05,890 - INFO - taking picture MAIN: 2026-09-07 21:13:05,890 - INFO - we take 883 photos in this while loop MAIN: 2026-09-07 21:13:05,891 - INFO - /home/pi/Desktop/images/07092026/21/12/image_07092026_21_13_05_59959.jpg MAIN: 2026-09-07 21:13:05,891 - INFO - duration: 0.964206163000199 MAIN: 2026-09-07 21:13:05,891 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/13' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:14:05,354 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:14:06,046 - INFO - taking picture MAIN: 2026-09-07 21:14:06,046 - INFO - we take 884 photos in this while loop MAIN: 2026-09-07 21:14:06,046 - INFO - /home/pi/Desktop/images/07092026/21/13/image_07092026_21_14_05_60179.jpg MAIN: 2026-09-07 21:14:06,046 - INFO - cam.read() return no image MAIN: 2026-09-07 21:14:06,046 - INFO - duration: 0.9401355430018157 MAIN: 2026-09-07 21:14:06,047 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/14' Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:15:05,148 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:15:05,469 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:15:06,161 - INFO - taking picture MAIN: 2026-09-07 21:15:06,161 - INFO - we take 885 photos in this while loop MAIN: 2026-09-07 21:15:06,161 - INFO - /home/pi/Desktop/images/07092026/21/14/image_07092026_21_15_05_60120.jpg MAIN: 2026-09-07 21:15:06,162 - INFO - duration: 0.935038222996809 MAIN: 2026-09-07 21:15:06,162 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/15' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:16:05,399 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:16:05,801 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:16:06,493 - INFO - taking picture MAIN: 2026-09-07 21:16:06,493 - INFO - we take 886 photos in this while loop MAIN: 2026-09-07 21:16:06,493 - INFO - /home/pi/Desktop/images/07092026/21/15/image_07092026_21_16_05_60345.jpg MAIN: 2026-09-07 21:16:06,493 - INFO - duration: 0.9215330990045913 MAIN: 2026-09-07 21:16:06,493 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/16' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:17:05,169 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:17:05,707 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:17:06,431 - INFO - taking picture MAIN: 2026-09-07 21:17:06,431 - INFO - we take 887 photos in this while loop MAIN: 2026-09-07 21:17:06,431 - INFO - /home/pi/Desktop/images/07092026/21/16/image_07092026_21_17_05_59912.jpg MAIN: 2026-09-07 21:17:06,431 - INFO - duration: 0.9468775249988539 MAIN: 2026-09-07 21:17:06,432 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/17' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:18:04,831 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:18:05,595 - INFO - taking picture MAIN: 2026-09-07 21:18:05,596 - INFO - we take 888 photos in this while loop MAIN: 2026-09-07 21:18:05,596 - INFO - /home/pi/Desktop/images/07092026/21/17/image_07092026_21_18_04_59099.jpg MAIN: 2026-09-07 21:18:05,596 - INFO - duration: 1.011826910005766 MAIN: 2026-09-07 21:18:05,596 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/18' MAIN: 2026-09-07 21:18:05,693 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:19:05,217 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:19:05,286 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:19:05,989 - INFO - taking picture MAIN: 2026-09-07 21:19:05,989 - INFO - we take 889 photos in this while loop MAIN: 2026-09-07 21:19:05,989 - INFO - /home/pi/Desktop/images/07092026/21/18/image_07092026_21_19_05_60354.jpg MAIN: 2026-09-07 21:19:05,989 - INFO - duration: 1.0505590329994448 MAIN: 2026-09-07 21:19:05,989 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/19' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:20:05,605 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:20:06,118 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:20:06,380 - INFO - taking picture MAIN: 2026-09-07 21:20:06,380 - INFO - we take 890 photos in this while loop MAIN: 2026-09-07 21:20:06,380 - INFO - /home/pi/Desktop/images/07092026/21/19/image_07092026_21_20_05_60418.jpg MAIN: 2026-09-07 21:20:06,380 - INFO - duration: 1.023608333998709 MAIN: 2026-09-07 21:20:06,381 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/20' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:21:05,646 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:21:05,733 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:21:06,428 - INFO - taking picture MAIN: 2026-09-07 21:21:06,428 - INFO - we take 891 photos in this while loop MAIN: 2026-09-07 21:21:06,428 - INFO - /home/pi/Desktop/images/07092026/21/20/image_07092026_21_21_05_60060.jpg MAIN: 2026-09-07 21:21:06,428 - INFO - duration: 1.0109384820025298 MAIN: 2026-09-07 21:21:06,428 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/21' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:22:05,154 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:22:05,771 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:22:06,506 - INFO - taking picture MAIN: 2026-09-07 21:22:06,506 - INFO - we take 892 photos in this while loop MAIN: 2026-09-07 21:22:06,506 - INFO - /home/pi/Desktop/images/07092026/21/21/image_07092026_21_22_05_60133.jpg MAIN: 2026-09-07 21:22:06,507 - INFO - duration: 0.9561931779971928 MAIN: 2026-09-07 21:22:06,507 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/22' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:23:04,763 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:23:05,802 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:23:06,494 - INFO - taking picture MAIN: 2026-09-07 21:23:06,495 - INFO - we take 893 photos in this while loop MAIN: 2026-09-07 21:23:06,495 - INFO - /home/pi/Desktop/images/07092026/21/22/image_07092026_21_23_05_59986.jpg MAIN: 2026-09-07 21:23:06,495 - INFO - duration: 0.9584897710010409 MAIN: 2026-09-07 21:23:06,495 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/23' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:24:05,051 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:24:05,883 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:24:06,577 - INFO - taking picture MAIN: 2026-09-07 21:24:06,577 - INFO - we take 894 photos in this while loop MAIN: 2026-09-07 21:24:06,577 - INFO - /home/pi/Desktop/images/07092026/21/23/image_07092026_21_24_05_60077.jpg MAIN: 2026-09-07 21:24:06,577 - INFO - duration: 0.9632138809975004 MAIN: 2026-09-07 21:24:06,578 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/24' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:25:04,801 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:25:05,483 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:25:05,493 - INFO - taking picture MAIN: 2026-09-07 21:25:05,494 - INFO - we take 895 photos in this while loop MAIN: 2026-09-07 21:25:05,494 - INFO - /home/pi/Desktop/images/07092026/21/24/image_07092026_21_25_04_58966.jpg MAIN: 2026-09-07 21:25:05,494 - INFO - duration: 0.9134062049997738 MAIN: 2026-09-07 21:25:05,495 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/25' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:26:05,211 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:26:05,648 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:26:05,987 - INFO - taking picture MAIN: 2026-09-07 21:26:05,988 - INFO - we take 896 photos in this while loop MAIN: 2026-09-07 21:26:05,988 - INFO - /home/pi/Desktop/images/07092026/21/25/image_07092026_21_26_05_60323.jpg MAIN: 2026-09-07 21:26:05,988 - INFO - duration: 1.084115121004288 MAIN: 2026-09-07 21:26:05,988 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/26' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:27:05,396 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:27:05,551 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:27:06,098 - INFO - taking picture MAIN: 2026-09-07 21:27:06,098 - INFO - we take 897 photos in this while loop MAIN: 2026-09-07 21:27:06,098 - INFO - /home/pi/Desktop/images/07092026/21/26/image_07092026_21_27_05_60216.jpg MAIN: 2026-09-07 21:27:06,099 - INFO - duration: 0.9778805310052121 MAIN: 2026-09-07 21:27:06,099 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/27' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:28:05,457 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:28:05,717 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:28:06,196 - INFO - taking picture MAIN: 2026-09-07 21:28:06,197 - INFO - we take 898 photos in this while loop MAIN: 2026-09-07 21:28:06,197 - INFO - /home/pi/Desktop/images/07092026/21/27/image_07092026_21_28_05_60056.jpg MAIN: 2026-09-07 21:28:06,197 - INFO - duration: 1.0192101700013154 MAIN: 2026-09-07 21:28:06,197 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/28' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:29:04,610 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:29:05,486 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:29:06,178 - INFO - taking picture MAIN: 2026-09-07 21:29:06,179 - INFO - we take 899 photos in this while loop MAIN: 2026-09-07 21:29:06,179 - INFO - /home/pi/Desktop/images/07092026/21/28/image_07092026_21_29_05_60056.jpg MAIN: 2026-09-07 21:29:06,179 - INFO - duration: 0.9445494009996764 MAIN: 2026-09-07 21:29:06,179 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/29' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:30:05,350 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:30:05,727 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:30:06,420 - INFO - taking picture MAIN: 2026-09-07 21:30:06,420 - INFO - we take 900 photos in this while loop MAIN: 2026-09-07 21:30:06,420 - INFO - /home/pi/Desktop/images/07092026/21/29/image_07092026_21_30_05_60270.jpg MAIN: 2026-09-07 21:30:06,421 - INFO - duration: 0.9156626789990696 MAIN: 2026-09-07 21:30:06,421 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/30' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:31:05,139 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:31:05,825 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:31:06,552 - INFO - taking picture MAIN: 2026-09-07 21:31:06,552 - INFO - we take 901 photos in this while loop MAIN: 2026-09-07 21:31:06,552 - INFO - /home/pi/Desktop/images/07092026/21/30/image_07092026_21_31_05_60096.jpg MAIN: 2026-09-07 21:31:06,552 - INFO - duration: 0.9506777669957955 MAIN: 2026-09-07 21:31:06,553 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/31' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:32:04,835 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:32:05,358 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:32:05,539 - INFO - taking picture MAIN: 2026-09-07 21:32:05,539 - INFO - we take 902 photos in this while loop MAIN: 2026-09-07 21:32:05,539 - INFO - /home/pi/Desktop/images/07092026/21/31/image_07092026_21_32_04_58947.jpg MAIN: 2026-09-07 21:32:05,539 - INFO - duration: 0.9901774610043503 MAIN: 2026-09-07 21:32:05,540 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/32' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:33:04,925 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:33:05,496 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:33:05,678 - INFO - taking picture MAIN: 2026-09-07 21:33:05,678 - INFO - we take 903 photos in this while loop MAIN: 2026-09-07 21:33:05,678 - INFO - /home/pi/Desktop/images/07092026/21/32/image_07092026_21_33_04_60077.jpg MAIN: 2026-09-07 21:33:05,678 - INFO - duration: 1.0517320459985058 MAIN: 2026-09-07 21:33:05,679 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/33' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:34:05,295 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:34:05,989 - INFO - taking picture MAIN: 2026-09-07 21:34:05,990 - INFO - we take 904 photos in this while loop MAIN: 2026-09-07 21:34:05,990 - INFO - /home/pi/Desktop/images/07092026/21/33/image_07092026_21_34_05_60445.jpg MAIN: 2026-09-07 21:34:05,990 - INFO - duration: 0.9174957180002821 MAIN: 2026-09-07 21:34:05,990 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/34' MAIN: 2026-09-07 21:34:06,052 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:35:04,824 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:35:05,515 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:35:06,244 - INFO - taking picture MAIN: 2026-09-07 21:35:06,245 - INFO - we take 905 photos in this while loop MAIN: 2026-09-07 21:35:06,245 - INFO - /home/pi/Desktop/images/07092026/21/34/image_07092026_21_35_05_60219.jpg MAIN: 2026-09-07 21:35:06,245 - INFO - duration: 0.9531725010019727 MAIN: 2026-09-07 21:35:06,245 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/35' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:36:05,237 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:36:05,581 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:36:06,279 - INFO - taking picture MAIN: 2026-09-07 21:36:06,279 - INFO - we take 906 photos in this while loop MAIN: 2026-09-07 21:36:06,279 - INFO - /home/pi/Desktop/images/07092026/21/35/image_07092026_21_36_05_60066.jpg MAIN: 2026-09-07 21:36:06,280 - INFO - duration: 0.9212994959962089 MAIN: 2026-09-07 21:36:06,280 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/36' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:37:05,033 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:37:05,586 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:37:06,321 - INFO - taking picture MAIN: 2026-09-07 21:37:06,322 - INFO - we take 907 photos in this while loop MAIN: 2026-09-07 21:37:06,322 - INFO - /home/pi/Desktop/images/07092026/21/36/image_07092026_21_37_05_60005.jpg MAIN: 2026-09-07 21:37:06,322 - INFO - duration: 0.957816049005487 MAIN: 2026-09-07 21:37:06,322 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/37' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:38:05,295 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:38:05,756 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:38:06,453 - INFO - taking picture MAIN: 2026-09-07 21:38:06,453 - INFO - we take 908 photos in this while loop MAIN: 2026-09-07 21:38:06,453 - INFO - /home/pi/Desktop/images/07092026/21/37/image_07092026_21_38_05_60169.jpg MAIN: 2026-09-07 21:38:06,453 - INFO - duration: 0.9198482680003508 MAIN: 2026-09-07 21:38:06,453 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/38' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:39:04,934 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:39:05,474 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:39:05,644 - INFO - taking picture MAIN: 2026-09-07 21:39:05,644 - INFO - we take 909 photos in this while loop MAIN: 2026-09-07 21:39:05,644 - INFO - /home/pi/Desktop/images/07092026/21/38/image_07092026_21_39_04_59134.jpg MAIN: 2026-09-07 21:39:05,644 - INFO - duration: 0.9770105460047489 MAIN: 2026-09-07 21:39:05,645 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/39' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:40:05,538 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:40:06,264 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:40:06,267 - INFO - taking picture MAIN: 2026-09-07 21:40:06,267 - INFO - we take 910 photos in this while loop MAIN: 2026-09-07 21:40:06,268 - INFO - /home/pi/Desktop/images/07092026/21/39/image_07092026_21_40_05_60633.jpg MAIN: 2026-09-07 21:40:06,268 - INFO - duration: 0.9669567930031917 MAIN: 2026-09-07 21:40:06,268 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/40' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:41:04,736 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:41:05,672 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:41:06,370 - INFO - taking picture MAIN: 2026-09-07 21:41:06,370 - INFO - we take 911 photos in this while loop MAIN: 2026-09-07 21:41:06,370 - INFO - /home/pi/Desktop/images/07092026/21/40/image_07092026_21_41_05_60099.jpg MAIN: 2026-09-07 21:41:06,371 - INFO - duration: 0.9699237429958885 MAIN: 2026-09-07 21:41:06,371 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/41' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:42:05,312 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:42:05,885 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:42:06,613 - INFO - taking picture MAIN: 2026-09-07 21:42:06,613 - INFO - we take 912 photos in this while loop MAIN: 2026-09-07 21:42:06,613 - INFO - /home/pi/Desktop/images/07092026/21/41/image_07092026_21_42_05_60261.jpg MAIN: 2026-09-07 21:42:06,614 - INFO - duration: 0.9515598400030285 MAIN: 2026-09-07 21:42:06,614 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/42' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:43:05,046 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:43:05,060 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:43:05,747 - INFO - taking picture MAIN: 2026-09-07 21:43:05,748 - INFO - we take 913 photos in this while loop MAIN: 2026-09-07 21:43:05,748 - INFO - /home/pi/Desktop/images/07092026/21/42/image_07092026_21_43_05_59101.jpg MAIN: 2026-09-07 21:43:05,748 - INFO - duration: 0.9845969989983132 MAIN: 2026-09-07 21:43:05,748 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/43' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:44:05,261 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:44:05,438 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:44:05,965 - INFO - taking picture MAIN: 2026-09-07 21:44:05,965 - INFO - we take 914 photos in this while loop MAIN: 2026-09-07 21:44:05,965 - INFO - /home/pi/Desktop/images/07092026/21/43/image_07092026_21_44_05_60222.jpg MAIN: 2026-09-07 21:44:05,966 - INFO - duration: 0.9800269920015126 MAIN: 2026-09-07 21:44:05,966 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/44' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:45:05,734 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:45:05,859 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:45:06,435 - INFO - taking picture MAIN: 2026-09-07 21:45:06,435 - INFO - we take 915 photos in this while loop MAIN: 2026-09-07 21:45:06,435 - INFO - /home/pi/Desktop/images/07092026/21/44/image_07092026_21_45_05_60490.jpg MAIN: 2026-09-07 21:45:06,436 - INFO - duration: 0.9593933919968549 MAIN: 2026-09-07 21:45:06,436 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/45' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:46:05,068 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:46:05,935 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:46:06,629 - INFO - taking picture MAIN: 2026-09-07 21:46:06,630 - INFO - we take 916 photos in this while loop MAIN: 2026-09-07 21:46:06,630 - INFO - /home/pi/Desktop/images/07092026/21/45/image_07092026_21_46_05_60183.jpg MAIN: 2026-09-07 21:46:06,630 - INFO - duration: 0.9705948009941494 MAIN: 2026-09-07 21:46:06,630 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/46' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:47:04,901 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:47:06,018 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:47:06,713 - INFO - taking picture MAIN: 2026-09-07 21:47:06,713 - INFO - we take 917 photos in this while loop MAIN: 2026-09-07 21:47:06,713 - INFO - /home/pi/Desktop/images/07092026/21/46/image_07092026_21_47_06_60096.jpg MAIN: 2026-09-07 21:47:06,713 - INFO - duration: 0.9569195299991407 MAIN: 2026-09-07 21:47:06,714 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/47' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:48:05,115 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:48:05,468 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:48:05,821 - INFO - taking picture MAIN: 2026-09-07 21:48:05,822 - INFO - we take 918 photos in this while loop MAIN: 2026-09-07 21:48:05,822 - INFO - /home/pi/Desktop/images/07092026/21/47/image_07092026_21_48_05_59083.jpg MAIN: 2026-09-07 21:48:05,822 - INFO - duration: 0.9814565039996523 MAIN: 2026-09-07 21:48:05,822 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/48' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:49:05,176 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:49:05,428 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:49:06,197 - INFO - taking picture MAIN: 2026-09-07 21:49:06,197 - INFO - we take 919 photos in this while loop MAIN: 2026-09-07 21:49:06,198 - INFO - /home/pi/Desktop/images/07092026/21/48/image_07092026_21_49_05_60285.jpg MAIN: 2026-09-07 21:49:06,198 - INFO - duration: 1.0713989249998122 MAIN: 2026-09-07 21:49:06,198 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/49' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:50:05,089 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:50:05,776 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:50:05,788 - INFO - taking picture MAIN: 2026-09-07 21:50:05,788 - INFO - we take 920 photos in this while loop MAIN: 2026-09-07 21:50:05,788 - INFO - /home/pi/Desktop/images/07092026/21/49/image_07092026_21_50_05_59721.jpg MAIN: 2026-09-07 21:50:05,789 - INFO - duration: 0.9408675939994282 MAIN: 2026-09-07 21:50:05,789 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/50' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:51:05,118 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:51:05,321 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:51:05,857 - INFO - taking picture MAIN: 2026-09-07 21:51:05,858 - INFO - we take 921 photos in this while loop MAIN: 2026-09-07 21:51:05,858 - INFO - /home/pi/Desktop/images/07092026/21/50/image_07092026_21_51_05_59983.jpg MAIN: 2026-09-07 21:51:05,858 - INFO - duration: 1.0261380699957954 MAIN: 2026-09-07 21:51:05,858 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/51' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:52:05,597 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:52:05,873 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:52:06,302 - INFO - taking picture MAIN: 2026-09-07 21:52:06,302 - INFO - we take 922 photos in this while loop MAIN: 2026-09-07 21:52:06,302 - INFO - /home/pi/Desktop/images/07092026/21/51/image_07092026_21_52_05_60491.jpg MAIN: 2026-09-07 21:52:06,302 - INFO - duration: 0.9784798969994881 MAIN: 2026-09-07 21:52:06,302 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/52' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:53:04,752 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:53:05,647 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:53:06,345 - INFO - taking picture MAIN: 2026-09-07 21:53:06,345 - INFO - we take 923 photos in this while loop MAIN: 2026-09-07 21:53:06,345 - INFO - /home/pi/Desktop/images/07092026/21/52/image_07092026_21_53_05_60063.jpg MAIN: 2026-09-07 21:53:06,346 - INFO - duration: 0.9588438260034309 MAIN: 2026-09-07 21:53:06,346 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/53' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:54:04,989 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:54:05,833 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:54:06,568 - INFO - taking picture MAIN: 2026-09-07 21:54:06,569 - INFO - we take 924 photos in this while loop MAIN: 2026-09-07 21:54:06,569 - INFO - /home/pi/Desktop/images/07092026/21/53/image_07092026_21_54_05_60220.jpg MAIN: 2026-09-07 21:54:06,569 - INFO - duration: 0.9622509389955667 MAIN: 2026-09-07 21:54:06,569 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/54' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:55:05,439 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:55:05,938 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:55:06,633 - INFO - taking picture MAIN: 2026-09-07 21:55:06,633 - INFO - we take 925 photos in this while loop MAIN: 2026-09-07 21:55:06,634 - INFO - /home/pi/Desktop/images/07092026/21/54/image_07092026_21_55_05_60108.jpg MAIN: 2026-09-07 21:55:06,634 - INFO - duration: 0.9186876990061137 MAIN: 2026-09-07 21:55:06,634 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/55' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:56:04,816 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:56:05,512 - INFO - taking picture MAIN: 2026-09-07 21:56:05,512 - INFO - we take 926 photos in this while loop MAIN: 2026-09-07 21:56:05,512 - INFO - /home/pi/Desktop/images/07092026/21/55/image_07092026_21_56_04_58876.jpg MAIN: 2026-09-07 21:56:05,513 - INFO - duration: 0.9206583679988398 MAIN: 2026-09-07 21:56:05,513 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/56' MAIN: 2026-09-07 21:56:05,515 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:57:04,988 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:57:05,039 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:57:05,814 - INFO - taking picture MAIN: 2026-09-07 21:57:05,815 - INFO - we take 927 photos in this while loop MAIN: 2026-09-07 21:57:05,815 - INFO - /home/pi/Desktop/images/07092026/21/56/image_07092026_21_57_05_60142.jpg MAIN: 2026-09-07 21:57:05,815 - INFO - duration: 1.0801356919982936 MAIN: 2026-09-07 21:57:05,815 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/57' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:58:05,161 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:58:05,459 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:58:05,867 - INFO - taking picture MAIN: 2026-09-07 21:58:05,867 - INFO - we take 928 photos in this while loop MAIN: 2026-09-07 21:58:05,867 - INFO - /home/pi/Desktop/images/07092026/21/57/image_07092026_21_58_05_60152.jpg MAIN: 2026-09-07 21:58:05,868 - INFO - duration: 0.9800661350018345 MAIN: 2026-09-07 21:58:05,868 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/58' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 21:59:05,067 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 21:59:05,196 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 21:59:05,857 - INFO - taking picture MAIN: 2026-09-07 21:59:05,858 - INFO - we take 929 photos in this while loop MAIN: 2026-09-07 21:59:05,858 - INFO - /home/pi/Desktop/images/07092026/21/58/image_07092026_21_59_05_59920.jpg MAIN: 2026-09-07 21:59:05,858 - INFO - duration: 1.050137159996666 MAIN: 2026-09-07 21:59:05,858 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/21/59' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:00:05,591 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:00:05,617 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:00:06,292 - INFO - taking picture MAIN: 2026-09-07 22:00:06,292 - INFO - we take 930 photos in this while loop MAIN: 2026-09-07 22:00:06,292 - INFO - /home/pi/Desktop/images/07092026/21/59/image_07092026_22_00_05_60508.jpg MAIN: 2026-09-07 22:00:06,293 - INFO - duration: 0.9762424590007868 MAIN: 2026-09-07 22:00:06,293 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/00' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:01:05,008 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:01:05,790 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:01:06,483 - INFO - taking picture MAIN: 2026-09-07 22:01:06,483 - INFO - we take 931 photos in this while loop MAIN: 2026-09-07 22:01:06,483 - INFO - /home/pi/Desktop/images/07092026/22/00/image_07092026_22_01_05_60211.jpg MAIN: 2026-09-07 22:01:06,483 - INFO - duration: 0.9560616039962042 MAIN: 2026-09-07 22:01:06,484 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/01' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:02:04,800 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:02:05,497 - INFO - taking picture MAIN: 2026-09-07 22:02:05,497 - INFO - we take 932 photos in this while loop MAIN: 2026-09-07 22:02:05,497 - INFO - /home/pi/Desktop/images/07092026/22/01/image_07092026_22_02_04_59029.jpg MAIN: 2026-09-07 22:02:05,497 - INFO - duration: 0.940327044998412 MAIN: 2026-09-07 22:02:05,497 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/02' MAIN: 2026-09-07 22:02:05,603 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:03:04,846 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:03:05,216 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:03:05,562 - INFO - taking picture MAIN: 2026-09-07 22:03:05,562 - INFO - we take 933 photos in this while loop MAIN: 2026-09-07 22:03:05,562 - INFO - /home/pi/Desktop/images/07092026/22/02/image_07092026_22_03_04_60034.jpg MAIN: 2026-09-07 22:03:05,563 - INFO - duration: 0.9711967590046697 MAIN: 2026-09-07 22:03:05,563 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/03' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:04:05,127 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:04:05,823 - INFO - taking picture MAIN: 2026-09-07 22:04:05,823 - INFO - we take 934 photos in this while loop MAIN: 2026-09-07 22:04:05,823 - INFO - /home/pi/Desktop/images/07092026/22/03/image_07092026_22_04_05_60278.jpg MAIN: 2026-09-07 22:04:05,823 - INFO - duration: 0.9532785339979455 MAIN: 2026-09-07 22:04:05,824 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/04' MAIN: 2026-09-07 22:04:06,039 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:05:04,998 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:05:05,420 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:05:06,167 - INFO - taking picture MAIN: 2026-09-07 22:05:06,167 - INFO - we take 935 photos in this while loop MAIN: 2026-09-07 22:05:06,167 - INFO - /home/pi/Desktop/images/07092026/22/04/image_07092026_22_05_05_60298.jpg MAIN: 2026-09-07 22:05:06,167 - INFO - duration: 0.9984090979996836 MAIN: 2026-09-07 22:05:06,168 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/05' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:06:05,271 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:06:05,708 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:06:06,401 - INFO - taking picture MAIN: 2026-09-07 22:06:06,401 - INFO - we take 936 photos in this while loop MAIN: 2026-09-07 22:06:06,401 - INFO - /home/pi/Desktop/images/07092026/22/05/image_07092026_22_06_05_60316.jpg MAIN: 2026-09-07 22:06:06,401 - INFO - duration: 0.916040233001695 MAIN: 2026-09-07 22:06:06,402 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/06' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:07:05,183 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:07:05,749 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:07:06,475 - INFO - taking picture MAIN: 2026-09-07 22:07:06,475 - INFO - we take 937 photos in this while loop MAIN: 2026-09-07 22:07:06,475 - INFO - /home/pi/Desktop/images/07092026/22/06/image_07092026_22_07_05_60041.jpg MAIN: 2026-09-07 22:07:06,475 - INFO - duration: 0.9485404649967677 MAIN: 2026-09-07 22:07:06,476 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/07' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:08:04,833 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:08:05,526 - INFO - taking picture MAIN: 2026-09-07 22:08:05,527 - INFO - we take 938 photos in this while loop MAIN: 2026-09-07 22:08:05,527 - INFO - /home/pi/Desktop/images/07092026/22/07/image_07092026_22_08_04_59085.jpg MAIN: 2026-09-07 22:08:05,527 - INFO - duration: 0.9144576670005335 MAIN: 2026-09-07 22:08:05,527 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/08' MAIN: 2026-09-07 22:08:05,570 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:09:05,335 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:09:06,000 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:09:06,696 - INFO - taking picture MAIN: 2026-09-07 22:09:06,697 - INFO - we take 939 photos in this while loop MAIN: 2026-09-07 22:09:06,697 - INFO - /home/pi/Desktop/images/07092026/22/08/image_07092026_22_09_06_61110.jpg MAIN: 2026-09-07 22:09:06,697 - INFO - duration: 0.9739178399977391 MAIN: 2026-09-07 22:09:06,697 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/09' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:10:05,663 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:10:06,283 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:10:06,455 - INFO - taking picture MAIN: 2026-09-07 22:10:06,455 - INFO - we take 940 photos in this while loop MAIN: 2026-09-07 22:10:06,455 - INFO - /home/pi/Desktop/images/07092026/22/09/image_07092026_22_10_05_59691.jpg MAIN: 2026-09-07 22:10:06,455 - INFO - duration: 1.0411428270017495 MAIN: 2026-09-07 22:10:06,456 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/10' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:11:04,805 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:11:06,014 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:11:06,779 - INFO - taking picture MAIN: 2026-09-07 22:11:06,779 - INFO - we take 941 photos in this while loop MAIN: 2026-09-07 22:11:06,779 - INFO - /home/pi/Desktop/images/07092026/22/10/image_07092026_22_11_06_60295.jpg MAIN: 2026-09-07 22:11:06,780 - INFO - duration: 1.0693577049969463 MAIN: 2026-09-07 22:11:06,780 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/11' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:12:04,926 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:12:05,191 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:12:05,633 - INFO - taking picture MAIN: 2026-09-07 22:12:05,633 - INFO - we take 942 photos in this while loop MAIN: 2026-09-07 22:12:05,633 - INFO - /home/pi/Desktop/images/07092026/22/11/image_07092026_22_12_04_58951.jpg MAIN: 2026-09-07 22:12:05,633 - INFO - duration: 0.9714426810023724 MAIN: 2026-09-07 22:12:05,634 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/12' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:13:04,973 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:13:05,167 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:13:05,864 - INFO - taking picture MAIN: 2026-09-07 22:13:05,864 - INFO - we take 943 photos in this while loop MAIN: 2026-09-07 22:13:05,864 - INFO - /home/pi/Desktop/images/07092026/22/12/image_07092026_22_13_05_60243.jpg MAIN: 2026-09-07 22:13:05,864 - INFO - duration: 0.9587830160016892 MAIN: 2026-09-07 22:13:05,864 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/13' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:14:05,274 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:14:05,407 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:14:06,102 - INFO - taking picture MAIN: 2026-09-07 22:14:06,102 - INFO - we take 944 photos in this while loop MAIN: 2026-09-07 22:14:06,103 - INFO - /home/pi/Desktop/images/07092026/22/13/image_07092026_22_14_05_60218.jpg MAIN: 2026-09-07 22:14:06,103 - INFO - duration: 0.9784368690015981 MAIN: 2026-09-07 22:14:06,103 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/14' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:15:05,171 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:15:05,864 - INFO - taking picture MAIN: 2026-09-07 22:15:05,865 - INFO - we take 945 photos in this while loop MAIN: 2026-09-07 22:15:05,865 - INFO - /home/pi/Desktop/images/07092026/22/14/image_07092026_22_15_05_59812.jpg MAIN: 2026-09-07 22:15:05,865 - INFO - duration: 0.9280346929954248 MAIN: 2026-09-07 22:15:05,865 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/15' MAIN: 2026-09-07 22:15:05,898 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:16:05,103 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:16:05,422 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:16:06,115 - INFO - taking picture MAIN: 2026-09-07 22:16:06,115 - INFO - we take 946 photos in this while loop MAIN: 2026-09-07 22:16:06,116 - INFO - /home/pi/Desktop/images/07092026/22/15/image_07092026_22_16_05_60235.jpg MAIN: 2026-09-07 22:16:06,116 - INFO - duration: 0.9436350609976216 MAIN: 2026-09-07 22:16:06,116 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/16' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:17:04,962 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:17:05,487 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:17:06,182 - INFO - taking picture MAIN: 2026-09-07 22:17:06,182 - INFO - we take 947 photos in this while loop MAIN: 2026-09-07 22:17:06,182 - INFO - /home/pi/Desktop/images/07092026/22/16/image_07092026_22_17_05_60090.jpg MAIN: 2026-09-07 22:17:06,182 - INFO - duration: 0.9195480610069353 MAIN: 2026-09-07 22:17:06,183 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/17' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:18:05,409 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:18:05,918 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:18:06,688 - INFO - taking picture MAIN: 2026-09-07 22:18:06,688 - INFO - we take 948 photos in this while loop MAIN: 2026-09-07 22:18:06,688 - INFO - /home/pi/Desktop/images/07092026/22/17/image_07092026_22_18_05_60402.jpg MAIN: 2026-09-07 22:18:06,688 - INFO - duration: 1.022921846997633 MAIN: 2026-09-07 22:18:06,688 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/18' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:19:05,024 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:19:05,939 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:19:06,634 - INFO - taking picture MAIN: 2026-09-07 22:19:06,634 - INFO - we take 949 photos in this while loop MAIN: 2026-09-07 22:19:06,634 - INFO - /home/pi/Desktop/images/07092026/22/18/image_07092026_22_19_05_60019.jpg MAIN: 2026-09-07 22:19:06,634 - INFO - duration: 0.9495967280017794 MAIN: 2026-09-07 22:19:06,635 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/19' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:20:05,107 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:20:05,579 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:20:05,851 - INFO - taking picture MAIN: 2026-09-07 22:20:05,851 - INFO - we take 950 photos in this while loop MAIN: 2026-09-07 22:20:05,851 - INFO - /home/pi/Desktop/images/07092026/22/19/image_07092026_22_20_05_59177.jpg MAIN: 2026-09-07 22:20:05,851 - INFO - duration: 0.9886747509954148 MAIN: 2026-09-07 22:20:05,852 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/20' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:21:05,132 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:21:05,188 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:21:05,959 - INFO - taking picture MAIN: 2026-09-07 22:21:05,959 - INFO - we take 951 photos in this while loop MAIN: 2026-09-07 22:21:05,959 - INFO - /home/pi/Desktop/images/07092026/22/20/image_07092026_22_21_05_60058.jpg MAIN: 2026-09-07 22:21:05,959 - INFO - duration: 1.0378966459975345 MAIN: 2026-09-07 22:21:05,960 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/21' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:22:05,433 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:22:05,594 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:22:06,200 - INFO - taking picture MAIN: 2026-09-07 22:22:06,200 - INFO - we take 952 photos in this while loop MAIN: 2026-09-07 22:22:06,200 - INFO - /home/pi/Desktop/images/07092026/22/21/image_07092026_22_22_05_60229.jpg MAIN: 2026-09-07 22:22:06,201 - INFO - duration: 1.0497183019979275 MAIN: 2026-09-07 22:22:06,201 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/22' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:23:05,465 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:23:05,535 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:23:06,168 - INFO - taking picture MAIN: 2026-09-07 22:23:06,168 - INFO - we take 953 photos in this while loop MAIN: 2026-09-07 22:23:06,168 - INFO - /home/pi/Desktop/images/07092026/22/22/image_07092026_22_23_05_60041.jpg MAIN: 2026-09-07 22:23:06,168 - INFO - duration: 0.9759049950007466 MAIN: 2026-09-07 22:23:06,169 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/23' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:24:05,121 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:24:05,633 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:24:06,402 - INFO - taking picture MAIN: 2026-09-07 22:24:06,402 - INFO - we take 954 photos in this while loop MAIN: 2026-09-07 22:24:06,402 - INFO - /home/pi/Desktop/images/07092026/22/23/image_07092026_22_24_05_60171.jpg MAIN: 2026-09-07 22:24:06,402 - INFO - duration: 1.038305098998535 MAIN: 2026-09-07 22:24:06,402 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/24' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:25:05,505 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:25:05,942 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:25:06,712 - INFO - taking picture MAIN: 2026-09-07 22:25:06,712 - INFO - we take 955 photos in this while loop MAIN: 2026-09-07 22:25:06,713 - INFO - /home/pi/Desktop/images/07092026/22/24/image_07092026_22_25_05_60327.jpg MAIN: 2026-09-07 22:25:06,713 - INFO - duration: 1.021551379999437 MAIN: 2026-09-07 22:25:06,713 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/25' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:26:05,329 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:26:05,539 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:26:06,032 - INFO - taking picture MAIN: 2026-09-07 22:26:06,032 - INFO - we take 956 photos in this while loop MAIN: 2026-09-07 22:26:06,032 - INFO - /home/pi/Desktop/images/07092026/22/25/image_07092026_22_26_05_59359.jpg MAIN: 2026-09-07 22:26:06,032 - INFO - duration: 0.9814461060013855 MAIN: 2026-09-07 22:26:06,032 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/26' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:27:05,545 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:27:05,587 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:27:06,287 - INFO - taking picture MAIN: 2026-09-07 22:27:06,287 - INFO - we take 957 photos in this while loop MAIN: 2026-09-07 22:27:06,287 - INFO - /home/pi/Desktop/images/07092026/22/26/image_07092026_22_27_05_60271.jpg MAIN: 2026-09-07 22:27:06,288 - INFO - duration: 0.9656148979993304 MAIN: 2026-09-07 22:27:06,288 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/27' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:28:05,624 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:28:05,869 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:28:06,329 - INFO - taking picture MAIN: 2026-09-07 22:28:06,330 - INFO - we take 958 photos in this while loop MAIN: 2026-09-07 22:28:06,330 - INFO - /home/pi/Desktop/images/07092026/22/27/image_07092026_22_28_05_60024.jpg MAIN: 2026-09-07 22:28:06,330 - INFO - duration: 0.9831594619972748 MAIN: 2026-09-07 22:28:06,330 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/28' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:29:05,020 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:29:05,512 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:29:06,240 - INFO - taking picture MAIN: 2026-09-07 22:29:06,241 - INFO - we take 959 photos in this while loop MAIN: 2026-09-07 22:29:06,241 - INFO - /home/pi/Desktop/images/07092026/22/28/image_07092026_22_29_05_59941.jpg MAIN: 2026-09-07 22:29:06,241 - INFO - duration: 0.9530213239995646 MAIN: 2026-09-07 22:29:06,241 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/29' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:30:04,927 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:30:05,621 - INFO - taking picture MAIN: 2026-09-07 22:30:05,621 - INFO - we take 960 photos in this while loop MAIN: 2026-09-07 22:30:05,621 - INFO - /home/pi/Desktop/images/07092026/22/29/image_07092026_22_30_04_59409.jpg MAIN: 2026-09-07 22:30:05,621 - INFO - duration: 0.9234260819939664 MAIN: 2026-09-07 22:30:05,621 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/30' MAIN: 2026-09-07 22:30:05,667 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:31:05,038 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:31:05,831 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:31:06,525 - INFO - taking picture MAIN: 2026-09-07 22:31:06,525 - INFO - we take 961 photos in this while loop MAIN: 2026-09-07 22:31:06,525 - INFO - /home/pi/Desktop/images/07092026/22/30/image_07092026_22_31_05_60845.jpg MAIN: 2026-09-07 22:31:06,526 - INFO - duration: 0.9824367649998749 MAIN: 2026-09-07 22:31:06,526 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/31' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:32:05,103 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:32:05,783 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:32:05,799 - INFO - taking picture MAIN: 2026-09-07 22:32:05,800 - INFO - we take 962 photos in this while loop MAIN: 2026-09-07 22:32:05,800 - INFO - /home/pi/Desktop/images/07092026/22/31/image_07092026_22_32_05_59340.jpg MAIN: 2026-09-07 22:32:05,800 - INFO - duration: 0.9166755440019188 MAIN: 2026-09-07 22:32:05,801 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/32' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:33:04,995 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:33:05,509 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:33:05,724 - INFO - taking picture MAIN: 2026-09-07 22:33:05,724 - INFO - we take 963 photos in this while loop MAIN: 2026-09-07 22:33:05,724 - INFO - /home/pi/Desktop/images/07092026/22/32/image_07092026_22_33_04_59834.jpg MAIN: 2026-09-07 22:33:05,724 - INFO - duration: 1.0066159260022687 MAIN: 2026-09-07 22:33:05,725 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/33' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:34:05,127 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:34:05,505 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:34:06,199 - INFO - taking picture MAIN: 2026-09-07 22:34:06,199 - INFO - we take 964 photos in this while loop MAIN: 2026-09-07 22:34:06,200 - INFO - /home/pi/Desktop/images/07092026/22/33/image_07092026_22_34_05_60565.jpg MAIN: 2026-09-07 22:34:06,200 - INFO - duration: 0.9162783080028021 MAIN: 2026-09-07 22:34:06,200 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/34' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:35:05,419 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:35:05,755 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:35:06,449 - INFO - taking picture MAIN: 2026-09-07 22:35:06,449 - INFO - we take 965 photos in this while loop MAIN: 2026-09-07 22:35:06,449 - INFO - /home/pi/Desktop/images/07092026/22/34/image_07092026_22_35_05_60247.jpg MAIN: 2026-09-07 22:35:06,449 - INFO - duration: 0.9181050789993606 MAIN: 2026-09-07 22:35:06,449 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/35' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:36:04,818 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:36:05,250 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:36:05,524 - INFO - taking picture MAIN: 2026-09-07 22:36:05,524 - INFO - we take 966 photos in this while loop MAIN: 2026-09-07 22:36:05,524 - INFO - /home/pi/Desktop/images/07092026/22/35/image_07092026_22_36_04_59055.jpg MAIN: 2026-09-07 22:36:05,525 - INFO - duration: 0.9379339110018918 MAIN: 2026-09-07 22:36:05,525 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/36' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:37:04,863 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:37:05,246 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:37:05,644 - INFO - taking picture MAIN: 2026-09-07 22:37:05,645 - INFO - we take 967 photos in this while loop MAIN: 2026-09-07 22:37:05,645 - INFO - /home/pi/Desktop/images/07092026/22/36/image_07092026_22_37_04_60002.jpg MAIN: 2026-09-07 22:37:05,645 - INFO - duration: 1.0559992880007485 MAIN: 2026-09-07 22:37:05,645 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/37' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:38:05,369 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:38:06,026 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:38:06,139 - INFO - taking picture MAIN: 2026-09-07 22:38:06,139 - INFO - we take 968 photos in this while loop MAIN: 2026-09-07 22:38:06,140 - INFO - /home/pi/Desktop/images/07092026/22/37/image_07092026_22_38_05_60528.jpg MAIN: 2026-09-07 22:38:06,140 - INFO - duration: 1.022035836998839 MAIN: 2026-09-07 22:38:06,140 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/38' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:39:04,855 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:39:05,335 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:39:06,062 - INFO - taking picture MAIN: 2026-09-07 22:39:06,063 - INFO - we take 969 photos in this while loop MAIN: 2026-09-07 22:39:06,063 - INFO - /home/pi/Desktop/images/07092026/22/38/image_07092026_22_39_05_59993.jpg MAIN: 2026-09-07 22:39:06,063 - INFO - duration: 0.9511933609974221 MAIN: 2026-09-07 22:39:06,063 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/39' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:40:05,350 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:40:05,892 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:40:06,696 - INFO - taking picture MAIN: 2026-09-07 22:40:06,696 - INFO - we take 970 photos in this while loop MAIN: 2026-09-07 22:40:06,696 - INFO - /home/pi/Desktop/images/07092026/22/39/image_07092026_22_40_05_60559.jpg MAIN: 2026-09-07 22:40:06,696 - INFO - duration: 1.0252531339938287 MAIN: 2026-09-07 22:40:06,696 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/40' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:41:04,979 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:41:06,010 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:41:06,704 - INFO - taking picture MAIN: 2026-09-07 22:41:06,704 - INFO - we take 971 photos in this while loop MAIN: 2026-09-07 22:41:06,704 - INFO - /home/pi/Desktop/images/07092026/22/40/image_07092026_22_41_06_60071.jpg MAIN: 2026-09-07 22:41:06,705 - INFO - duration: 0.9626313900007517 MAIN: 2026-09-07 22:41:06,705 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/41' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:42:04,970 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:42:05,193 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:42:05,679 - INFO - taking picture MAIN: 2026-09-07 22:42:05,679 - INFO - we take 972 photos in this while loop MAIN: 2026-09-07 22:42:05,679 - INFO - /home/pi/Desktop/images/07092026/22/41/image_07092026_22_42_04_58954.jpg MAIN: 2026-09-07 22:42:05,679 - INFO - duration: 0.983162688993616 MAIN: 2026-09-07 22:42:05,680 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/42' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:43:05,099 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:43:05,205 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:43:05,876 - INFO - taking picture MAIN: 2026-09-07 22:43:05,877 - INFO - we take 973 photos in this while loop MAIN: 2026-09-07 22:43:05,877 - INFO - /home/pi/Desktop/images/07092026/22/42/image_07092026_22_43_05_60135.jpg MAIN: 2026-09-07 22:43:05,877 - INFO - duration: 1.0451329950010404 MAIN: 2026-09-07 22:43:05,877 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/43' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:44:05,332 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:44:05,388 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:44:06,093 - INFO - taking picture MAIN: 2026-09-07 22:44:06,094 - INFO - we take 974 photos in this while loop MAIN: 2026-09-07 22:44:06,094 - INFO - /home/pi/Desktop/images/07092026/22/43/image_07092026_22_44_05_60219.jpg MAIN: 2026-09-07 22:44:06,094 - INFO - duration: 1.0423092639975948 MAIN: 2026-09-07 22:44:06,094 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/44' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:45:05,493 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:45:05,855 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:45:06,246 - INFO - taking picture MAIN: 2026-09-07 22:45:06,247 - INFO - we take 975 photos in this while loop MAIN: 2026-09-07 22:45:06,247 - INFO - /home/pi/Desktop/images/07092026/22/44/image_07092026_22_45_05_60197.jpg MAIN: 2026-09-07 22:45:06,247 - INFO - duration: 0.997724899003515 MAIN: 2026-09-07 22:45:06,247 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/45' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:46:05,703 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:46:05,807 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:46:06,404 - INFO - taking picture MAIN: 2026-09-07 22:46:06,405 - INFO - we take 976 photos in this while loop MAIN: 2026-09-07 22:46:06,405 - INFO - /home/pi/Desktop/images/07092026/22/45/image_07092026_22_46_05_60181.jpg MAIN: 2026-09-07 22:46:06,405 - INFO - duration: 0.9743064539943589 MAIN: 2026-09-07 22:46:06,405 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/46' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:47:04,681 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:47:05,933 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:47:06,628 - INFO - taking picture MAIN: 2026-09-07 22:47:06,629 - INFO - we take 977 photos in this while loop MAIN: 2026-09-07 22:47:06,629 - INFO - /home/pi/Desktop/images/07092026/22/46/image_07092026_22_47_05_60239.jpg MAIN: 2026-09-07 22:47:06,629 - INFO - duration: 0.9582890360034071 MAIN: 2026-09-07 22:47:06,629 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/47' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:48:04,969 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:48:05,269 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:48:05,709 - INFO - taking picture MAIN: 2026-09-07 22:48:05,709 - INFO - we take 978 photos in this while loop MAIN: 2026-09-07 22:48:05,710 - INFO - /home/pi/Desktop/images/07092026/22/47/image_07092026_22_48_04_59019.jpg MAIN: 2026-09-07 22:48:05,710 - INFO - duration: 1.0194434000004549 MAIN: 2026-09-07 22:48:05,710 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/48' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:49:04,832 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:49:05,008 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:49:05,540 - INFO - taking picture MAIN: 2026-09-07 22:49:05,540 - INFO - we take 979 photos in this while loop MAIN: 2026-09-07 22:49:05,540 - INFO - /home/pi/Desktop/images/07092026/22/48/image_07092026_22_49_04_59874.jpg MAIN: 2026-09-07 22:49:05,541 - INFO - duration: 0.9757150799996452 MAIN: 2026-09-07 22:49:05,541 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/49' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:50:05,167 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:50:05,772 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:50:05,873 - INFO - taking picture MAIN: 2026-09-07 22:50:05,873 - INFO - we take 980 photos in this while loop MAIN: 2026-09-07 22:50:05,873 - INFO - /home/pi/Desktop/images/07092026/22/49/image_07092026_22_50_05_60379.jpg MAIN: 2026-09-07 22:50:05,874 - INFO - duration: 0.9292786450096173 MAIN: 2026-09-07 22:50:05,874 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/50' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:51:05,089 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:51:05,442 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:51:05,858 - INFO - taking picture MAIN: 2026-09-07 22:51:05,859 - INFO - we take 981 photos in this while loop MAIN: 2026-09-07 22:51:05,859 - INFO - /home/pi/Desktop/images/07092026/22/50/image_07092026_22_51_05_59915.jpg MAIN: 2026-09-07 22:51:05,859 - INFO - duration: 0.9989043829991715 MAIN: 2026-09-07 22:51:05,859 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/51' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:52:05,384 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:52:05,749 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:52:06,116 - INFO - taking picture MAIN: 2026-09-07 22:52:06,117 - INFO - we take 982 photos in this while loop MAIN: 2026-09-07 22:52:06,117 - INFO - /home/pi/Desktop/images/07092026/22/51/image_07092026_22_52_05_60302.jpg MAIN: 2026-09-07 22:52:06,117 - INFO - duration: 0.9541001270117704 MAIN: 2026-09-07 22:52:06,117 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/52' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:53:05,398 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:53:05,582 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:53:06,276 - INFO - taking picture MAIN: 2026-09-07 22:53:06,277 - INFO - we take 983 photos in this while loop MAIN: 2026-09-07 22:53:06,277 - INFO - /home/pi/Desktop/images/07092026/22/52/image_07092026_22_53_05_60132.jpg MAIN: 2026-09-07 22:53:06,277 - INFO - duration: 0.9817076600011205 MAIN: 2026-09-07 22:53:06,277 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/53' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:54:04,850 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:54:05,711 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:54:06,405 - INFO - taking picture MAIN: 2026-09-07 22:54:06,405 - INFO - we take 984 photos in this while loop MAIN: 2026-09-07 22:54:06,405 - INFO - /home/pi/Desktop/images/07092026/22/53/image_07092026_22_54_05_60153.jpg MAIN: 2026-09-07 22:54:06,406 - INFO - duration: 0.9573971709905891 MAIN: 2026-09-07 22:54:06,406 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/54' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:55:05,176 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:55:05,739 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:55:06,474 - INFO - taking picture MAIN: 2026-09-07 22:55:06,474 - INFO - we take 985 photos in this while loop MAIN: 2026-09-07 22:55:06,474 - INFO - /home/pi/Desktop/images/07092026/22/54/image_07092026_22_55_05_60069.jpg MAIN: 2026-09-07 22:55:06,474 - INFO - duration: 0.9563897890038788 MAIN: 2026-09-07 22:55:06,474 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/55' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:56:04,886 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:56:05,418 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:56:05,598 - INFO - taking picture MAIN: 2026-09-07 22:56:05,598 - INFO - we take 986 photos in this while loop MAIN: 2026-09-07 22:56:05,598 - INFO - /home/pi/Desktop/images/07092026/22/55/image_07092026_22_56_04_59082.jpg MAIN: 2026-09-07 22:56:05,598 - INFO - duration: 0.9977091149921762 MAIN: 2026-09-07 22:56:05,599 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/56' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:57:04,807 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:57:05,284 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:57:05,537 - INFO - taking picture MAIN: 2026-09-07 22:57:05,537 - INFO - we take 987 photos in this while loop MAIN: 2026-09-07 22:57:05,537 - INFO - /home/pi/Desktop/images/07092026/22/56/image_07092026_22_57_04_59940.jpg MAIN: 2026-09-07 22:57:05,537 - INFO - duration: 0.9966387989989016 MAIN: 2026-09-07 22:57:05,538 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/57' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:58:05,544 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:58:05,730 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:58:06,424 - INFO - taking picture MAIN: 2026-09-07 22:58:06,424 - INFO - we take 988 photos in this while loop MAIN: 2026-09-07 22:58:06,425 - INFO - /home/pi/Desktop/images/07092026/22/57/image_07092026_22_58_05_60919.jpg MAIN: 2026-09-07 22:58:06,425 - INFO - duration: 0.9641588189988397 MAIN: 2026-09-07 22:58:06,425 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/58' [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index MAIN: 2026-09-07 22:59:04,429 - INFO - cam.read() return no image Will output and maybe also write in take_pic/pic_log.txt Using /dev/video for video capture ! MAIN: 2026-09-07 22:59:05,502 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 22:59:06,198 - INFO - taking picture MAIN: 2026-09-07 22:59:06,198 - INFO - we take 989 photos in this while loop MAIN: 2026-09-07 22:59:06,198 - INFO - /home/pi/Desktop/images/07092026/22/58/image_07092026_22_59_05_59785.jpg MAIN: 2026-09-07 22:59:06,199 - INFO - duration: 0.952689334997558 MAIN: 2026-09-07 22:59:06,199 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/07092026/22/59' MAIN: 2026-09-07 23:00:05,941 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:00:06,635 - INFO - taking picture MAIN: 2026-09-07 23:00:06,635 - INFO - we take 990 photos in this while loop MAIN: 2026-09-07 23:00:06,635 - INFO - /home/pi/Desktop/images/07092026/22/59/image_07092026_23_00_05_60441.jpg MAIN: 2026-09-07 23:00:06,635 - INFO - duration: 0.9480435389996273 MAIN: 2026-09-07 23:01:05,923 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:01:06,618 - INFO - taking picture MAIN: 2026-09-07 23:01:06,619 - INFO - we take 991 photos in this while loop MAIN: 2026-09-07 23:01:06,619 - INFO - /home/pi/Desktop/images/07092026/23/00/image_07092026_23_01_05_59976.jpg MAIN: 2026-09-07 23:01:06,619 - INFO - duration: 0.9550960049964488 MAIN: 2026-09-07 23:02:04,900 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:02:05,604 - INFO - taking picture MAIN: 2026-09-07 23:02:05,604 - INFO - we take 992 photos in this while loop MAIN: 2026-09-07 23:02:05,604 - INFO - /home/pi/Desktop/images/07092026/23/01/image_07092026_23_02_04_58982.jpg MAIN: 2026-09-07 23:02:05,604 - INFO - duration: 0.9582731839909684 MAIN: 2026-09-07 23:03:05,226 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:03:05,977 - INFO - taking picture MAIN: 2026-09-07 23:03:05,977 - INFO - we take 993 photos in this while loop MAIN: 2026-09-07 23:03:05,978 - INFO - /home/pi/Desktop/images/07092026/23/02/image_07092026_23_03_05_60281.jpg MAIN: 2026-09-07 23:03:05,978 - INFO - duration: 1.0497835179994581 MAIN: 2026-09-07 23:04:05,420 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:04:06,184 - INFO - taking picture MAIN: 2026-09-07 23:04:06,184 - INFO - we take 994 photos in this while loop MAIN: 2026-09-07 23:04:06,185 - INFO - /home/pi/Desktop/images/07092026/23/03/image_07092026_23_04_05_60198.jpg MAIN: 2026-09-07 23:04:06,185 - INFO - duration: 1.0579666059929878 MAIN: 2026-09-07 23:05:05,851 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:05:06,548 - INFO - taking picture MAIN: 2026-09-07 23:05:06,548 - INFO - we take 995 photos in this while loop MAIN: 2026-09-07 23:05:06,548 - INFO - /home/pi/Desktop/images/07092026/23/04/image_07092026_23_05_05_60447.jpg MAIN: 2026-09-07 23:05:06,548 - INFO - duration: 0.9740566830005264 MAIN: 2026-09-07 23:06:04,904 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:06:05,597 - INFO - taking picture MAIN: 2026-09-07 23:06:05,597 - INFO - we take 996 photos in this while loop MAIN: 2026-09-07 23:06:05,597 - INFO - /home/pi/Desktop/images/07092026/23/05/image_07092026_23_06_04_59075.jpg MAIN: 2026-09-07 23:06:05,598 - INFO - duration: 0.9478791290021036 MAIN: 2026-09-07 23:07:05,856 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:07:06,552 - INFO - taking picture MAIN: 2026-09-07 23:07:06,552 - INFO - we take 997 photos in this while loop MAIN: 2026-09-07 23:07:06,552 - INFO - /home/pi/Desktop/images/07092026/23/06/image_07092026_23_07_05_60921.jpg MAIN: 2026-09-07 23:07:06,552 - INFO - duration: 0.9812783840025077 MAIN: 2026-09-07 23:08:04,857 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:08:05,631 - INFO - taking picture MAIN: 2026-09-07 23:08:05,631 - INFO - we take 998 photos in this while loop MAIN: 2026-09-07 23:08:05,631 - INFO - /home/pi/Desktop/images/07092026/23/07/image_07092026_23_08_04_58993.jpg MAIN: 2026-09-07 23:08:05,631 - INFO - duration: 1.0662669979938073 MAIN: 2026-09-07 23:09:04,968 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:09:05,703 - INFO - taking picture MAIN: 2026-09-07 23:09:05,704 - INFO - we take 999 photos in this while loop MAIN: 2026-09-07 23:09:05,704 - INFO - /home/pi/Desktop/images/07092026/23/08/image_07092026_23_09_04_60139.jpg MAIN: 2026-09-07 23:09:05,704 - INFO - duration: 0.9996582059975481 MAIN: 2026-09-07 23:10:05,231 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:10:05,929 - INFO - taking picture MAIN: 2026-09-07 23:10:05,929 - INFO - we take 1000 photos in this while loop MAIN: 2026-09-07 23:10:05,929 - INFO - /home/pi/Desktop/images/07092026/23/09/image_07092026_23_10_05_60248.jpg MAIN: 2026-09-07 23:10:05,929 - INFO - duration: 0.9763059980032267 MAIN: 2026-09-07 23:11:05,034 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:11:05,730 - INFO - taking picture MAIN: 2026-09-07 23:11:05,730 - INFO - we take 1001 photos in this while loop MAIN: 2026-09-07 23:11:05,730 - INFO - /home/pi/Desktop/images/07092026/23/10/image_07092026_23_11_05_59812.jpg MAIN: 2026-09-07 23:11:05,730 - INFO - duration: 0.9652302440081257 MAIN: 2026-09-07 23:12:05,538 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:12:06,305 - INFO - taking picture MAIN: 2026-09-07 23:12:06,306 - INFO - we take 1002 photos in this while loop MAIN: 2026-09-07 23:12:06,306 - INFO - /home/pi/Desktop/images/07092026/23/11/image_07092026_23_12_05_60492.jpg MAIN: 2026-09-07 23:12:06,306 - INFO - duration: 1.0486885629943572 MAIN: 2026-09-07 23:13:04,923 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:13:05,688 - INFO - taking picture MAIN: 2026-09-07 23:13:05,688 - INFO - we take 1003 photos in this while loop MAIN: 2026-09-07 23:13:05,688 - INFO - /home/pi/Desktop/images/07092026/23/12/image_07092026_23_13_04_59358.jpg MAIN: 2026-09-07 23:13:05,688 - INFO - duration: 1.072494338004617 MAIN: 2026-09-07 23:14:05,085 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:14:05,779 - INFO - taking picture MAIN: 2026-09-07 23:14:05,780 - INFO - we take 1004 photos in this while loop MAIN: 2026-09-07 23:14:05,780 - INFO - /home/pi/Desktop/images/07092026/23/13/image_07092026_23_14_05_60199.jpg MAIN: 2026-09-07 23:14:05,780 - INFO - duration: 0.9650233360007405 MAIN: 2026-09-07 23:15:05,422 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:15:06,117 - INFO - taking picture MAIN: 2026-09-07 23:15:06,118 - INFO - we take 1005 photos in this while loop MAIN: 2026-09-07 23:15:06,118 - INFO - /home/pi/Desktop/images/07092026/23/14/image_07092026_23_15_05_60331.jpg MAIN: 2026-09-07 23:15:06,118 - INFO - duration: 0.9712466110067908 MAIN: 2026-09-07 23:16:05,661 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:16:06,429 - INFO - taking picture MAIN: 2026-09-07 23:16:06,429 - INFO - we take 1006 photos in this while loop MAIN: 2026-09-07 23:16:06,429 - INFO - /home/pi/Desktop/images/07092026/23/15/image_07092026_23_16_05_60261.jpg MAIN: 2026-09-07 23:16:06,430 - INFO - duration: 1.0218983230006415 MAIN: 2026-09-07 23:17:05,649 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:17:06,346 - INFO - taking picture MAIN: 2026-09-07 23:17:06,346 - INFO - we take 1007 photos in this while loop MAIN: 2026-09-07 23:17:06,346 - INFO - /home/pi/Desktop/images/07092026/23/16/image_07092026_23_17_05_59985.jpg MAIN: 2026-09-07 23:17:06,346 - INFO - duration: 0.9529183480044594 MAIN: 2026-09-07 23:18:05,905 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:18:06,601 - INFO - taking picture MAIN: 2026-09-07 23:18:06,601 - INFO - we take 1008 photos in this while loop MAIN: 2026-09-07 23:18:06,601 - INFO - /home/pi/Desktop/images/07092026/23/17/image_07092026_23_18_05_60227.jpg MAIN: 2026-09-07 23:18:06,601 - INFO - duration: 0.9801434569963021 MAIN: 2026-09-07 23:19:04,803 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:19:05,566 - INFO - taking picture MAIN: 2026-09-07 23:19:05,566 - INFO - we take 1009 photos in this while loop MAIN: 2026-09-07 23:19:05,566 - INFO - /home/pi/Desktop/images/07092026/23/18/image_07092026_23_19_04_58916.jpg MAIN: 2026-09-07 23:19:05,566 - INFO - duration: 1.0290287700045155 MAIN: 2026-09-07 23:20:05,016 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:20:05,712 - INFO - taking picture MAIN: 2026-09-07 23:20:05,712 - INFO - we take 1010 photos in this while loop MAIN: 2026-09-07 23:20:05,712 - INFO - /home/pi/Desktop/images/07092026/23/19/image_07092026_23_20_05_60239.jpg MAIN: 2026-09-07 23:20:05,712 - INFO - duration: 0.9359463849978056 MAIN: 2026-09-07 23:21:05,063 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:21:05,757 - INFO - taking picture MAIN: 2026-09-07 23:21:05,757 - INFO - we take 1011 photos in this while loop MAIN: 2026-09-07 23:21:05,757 - INFO - /home/pi/Desktop/images/07092026/23/20/image_07092026_23_21_05_60012.jpg MAIN: 2026-09-07 23:21:05,757 - INFO - duration: 0.9685999390057987 MAIN: 2026-09-07 23:22:05,348 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:22:06,114 - INFO - taking picture MAIN: 2026-09-07 23:22:06,114 - INFO - we take 1012 photos in this while loop MAIN: 2026-09-07 23:22:06,114 - INFO - /home/pi/Desktop/images/07092026/23/21/image_07092026_23_22_05_60276.jpg MAIN: 2026-09-07 23:22:06,114 - INFO - duration: 1.0489779260096839 MAIN: 2026-09-07 23:23:05,375 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:23:06,070 - INFO - taking picture MAIN: 2026-09-07 23:23:06,070 - INFO - we take 1013 photos in this while loop MAIN: 2026-09-07 23:23:06,071 - INFO - /home/pi/Desktop/images/07092026/23/22/image_07092026_23_23_05_60032.jpg MAIN: 2026-09-07 23:23:06,071 - INFO - duration: 0.9724049030046444 MAIN: 2026-09-07 23:24:05,445 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:24:06,210 - INFO - taking picture MAIN: 2026-09-07 23:24:06,211 - INFO - we take 1014 photos in this while loop MAIN: 2026-09-07 23:24:06,211 - INFO - /home/pi/Desktop/images/07092026/23/23/image_07092026_23_24_05_60024.jpg MAIN: 2026-09-07 23:24:06,211 - INFO - duration: 1.088269036001293 MAIN: 2026-09-07 23:25:05,481 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:25:06,173 - INFO - taking picture MAIN: 2026-09-07 23:25:06,174 - INFO - we take 1015 photos in this while loop MAIN: 2026-09-07 23:25:06,174 - INFO - /home/pi/Desktop/images/07092026/23/24/image_07092026_23_25_05_60089.jpg MAIN: 2026-09-07 23:25:06,174 - INFO - duration: 0.9614456840063212 MAIN: 2026-09-07 23:26:05,406 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:26:06,104 - INFO - taking picture MAIN: 2026-09-07 23:26:06,104 - INFO - we take 1016 photos in this while loop MAIN: 2026-09-07 23:26:06,104 - INFO - /home/pi/Desktop/images/07092026/23/25/image_07092026_23_26_05_59911.jpg MAIN: 2026-09-07 23:26:06,104 - INFO - duration: 0.979929640001501 MAIN: 2026-09-07 23:27:05,383 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:27:06,075 - INFO - taking picture MAIN: 2026-09-07 23:27:06,076 - INFO - we take 1017 photos in this while loop MAIN: 2026-09-07 23:27:06,076 - INFO - /home/pi/Desktop/images/07092026/23/26/image_07092026_23_27_05_59992.jpg MAIN: 2026-09-07 23:27:06,076 - INFO - duration: 0.9588174959935714 MAIN: 2026-09-07 23:28:05,428 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:28:06,122 - INFO - taking picture MAIN: 2026-09-07 23:28:06,122 - INFO - we take 1018 photos in this while loop MAIN: 2026-09-07 23:28:06,123 - INFO - /home/pi/Desktop/images/07092026/23/27/image_07092026_23_28_05_60030.jpg MAIN: 2026-09-07 23:28:06,123 - INFO - duration: 0.97460102099285 MAIN: 2026-09-07 23:29:05,559 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:29:06,254 - INFO - taking picture MAIN: 2026-09-07 23:29:06,255 - INFO - we take 1019 photos in this while loop MAIN: 2026-09-07 23:29:06,255 - INFO - /home/pi/Desktop/images/07092026/23/28/image_07092026_23_29_05_60159.jpg MAIN: 2026-09-07 23:29:06,255 - INFO - duration: 0.9466851210017921 MAIN: 2026-09-07 23:30:05,932 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:30:06,685 - INFO - taking picture MAIN: 2026-09-07 23:30:06,685 - INFO - we take 1020 photos in this while loop MAIN: 2026-09-07 23:30:06,685 - INFO - /home/pi/Desktop/images/07092026/23/29/image_07092026_23_30_05_60322.jpg MAIN: 2026-09-07 23:30:06,686 - INFO - duration: 1.0550481179961935 MAIN: 2026-09-07 23:31:04,961 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:31:05,712 - INFO - taking picture MAIN: 2026-09-07 23:31:05,713 - INFO - we take 1021 photos in this while loop MAIN: 2026-09-07 23:31:05,713 - INFO - /home/pi/Desktop/images/07092026/23/30/image_07092026_23_31_04_59028.jpg MAIN: 2026-09-07 23:31:05,713 - INFO - duration: 1.0540778529975796 MAIN: 2026-09-07 23:32:05,208 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:32:05,974 - INFO - taking picture MAIN: 2026-09-07 23:32:05,974 - INFO - we take 1022 photos in this while loop MAIN: 2026-09-07 23:32:05,974 - INFO - /home/pi/Desktop/images/07092026/23/31/image_07092026_23_32_05_60277.jpg MAIN: 2026-09-07 23:32:05,974 - INFO - duration: 1.0384519970102701 MAIN: 2026-09-07 23:33:05,100 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:33:05,794 - INFO - taking picture MAIN: 2026-09-07 23:33:05,794 - INFO - we take 1023 photos in this while loop MAIN: 2026-09-07 23:33:05,794 - INFO - /home/pi/Desktop/images/07092026/23/32/image_07092026_23_33_05_59889.jpg MAIN: 2026-09-07 23:33:05,794 - INFO - duration: 0.9687713909952436 MAIN: 2026-09-07 23:34:05,217 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:34:05,911 - INFO - taking picture MAIN: 2026-09-07 23:34:05,911 - INFO - we take 1024 photos in this while loop MAIN: 2026-09-07 23:34:05,911 - INFO - /home/pi/Desktop/images/07092026/23/33/image_07092026_23_34_05_60138.jpg MAIN: 2026-09-07 23:34:05,911 - INFO - duration: 0.9467891439999221 MAIN: 2026-09-07 23:35:05,365 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:35:06,060 - INFO - taking picture MAIN: 2026-09-07 23:35:06,060 - INFO - we take 1025 photos in this while loop MAIN: 2026-09-07 23:35:06,060 - INFO - /home/pi/Desktop/images/07092026/23/34/image_07092026_23_35_05_60150.jpg MAIN: 2026-09-07 23:35:06,060 - INFO - duration: 0.9457740640064003 MAIN: 2026-09-07 23:36:05,475 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:36:06,173 - INFO - taking picture MAIN: 2026-09-07 23:36:06,173 - INFO - we take 1026 photos in this while loop MAIN: 2026-09-07 23:36:06,173 - INFO - /home/pi/Desktop/images/07092026/23/35/image_07092026_23_36_05_60092.jpg MAIN: 2026-09-07 23:36:06,173 - INFO - duration: 0.9664038280025125 MAIN: 2026-09-07 23:37:05,500 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:37:06,195 - INFO - taking picture MAIN: 2026-09-07 23:37:06,195 - INFO - we take 1027 photos in this while loop MAIN: 2026-09-07 23:37:06,195 - INFO - /home/pi/Desktop/images/07092026/23/36/image_07092026_23_37_05_60019.jpg MAIN: 2026-09-07 23:37:06,195 - INFO - duration: 0.9691125380049925 MAIN: 2026-09-07 23:38:05,480 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:38:06,224 - INFO - taking picture MAIN: 2026-09-07 23:38:06,224 - INFO - we take 1028 photos in this while loop MAIN: 2026-09-07 23:38:06,224 - INFO - /home/pi/Desktop/images/07092026/23/37/image_07092026_23_38_05_59966.jpg MAIN: 2026-09-07 23:38:06,224 - INFO - duration: 1.0317615789972479 MAIN: 2026-09-07 23:39:05,159 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:39:05,853 - INFO - taking picture MAIN: 2026-09-07 23:39:05,853 - INFO - we take 1029 photos in this while loop MAIN: 2026-09-07 23:39:05,853 - INFO - /home/pi/Desktop/images/07092026/23/38/image_07092026_23_39_05_59698.jpg MAIN: 2026-09-07 23:39:05,853 - INFO - duration: 0.9627553909958806 MAIN: 2026-09-07 23:40:05,349 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:40:06,115 - INFO - taking picture MAIN: 2026-09-07 23:40:06,115 - INFO - we take 1030 photos in this while loop MAIN: 2026-09-07 23:40:06,115 - INFO - /home/pi/Desktop/images/07092026/23/39/image_07092026_23_40_05_60182.jpg MAIN: 2026-09-07 23:40:06,115 - INFO - duration: 1.0421374790021218 MAIN: 2026-09-07 23:41:05,905 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:41:06,600 - INFO - taking picture MAIN: 2026-09-07 23:41:06,600 - INFO - we take 1031 photos in this while loop MAIN: 2026-09-07 23:41:06,600 - INFO - /home/pi/Desktop/images/07092026/23/40/image_07092026_23_41_05_60575.jpg MAIN: 2026-09-07 23:41:06,600 - INFO - duration: 0.9508158800017554 MAIN: 2026-09-07 23:42:06,061 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:42:06,758 - INFO - taking picture MAIN: 2026-09-07 23:42:06,758 - INFO - we take 1032 photos in this while loop MAIN: 2026-09-07 23:42:06,758 - INFO - /home/pi/Desktop/images/07092026/23/41/image_07092026_23_42_06_60115.jpg MAIN: 2026-09-07 23:42:06,759 - INFO - duration: 0.9939416999986861 MAIN: 2026-09-07 23:43:04,892 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:43:05,657 - INFO - taking picture MAIN: 2026-09-07 23:43:05,658 - INFO - we take 1033 photos in this while loop MAIN: 2026-09-07 23:43:05,658 - INFO - /home/pi/Desktop/images/07092026/23/42/image_07092026_23_43_04_58846.jpg MAIN: 2026-09-07 23:43:05,658 - INFO - duration: 1.0462673220026772 MAIN: 2026-09-07 23:44:05,511 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:44:06,207 - INFO - taking picture MAIN: 2026-09-07 23:44:06,208 - INFO - we take 1034 photos in this while loop MAIN: 2026-09-07 23:44:06,208 - INFO - /home/pi/Desktop/images/07092026/23/43/image_07092026_23_44_05_60619.jpg MAIN: 2026-09-07 23:44:06,208 - INFO - duration: 0.9771008759998949 MAIN: 2026-09-07 23:45:05,517 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:45:06,211 - INFO - taking picture MAIN: 2026-09-07 23:45:06,212 - INFO - we take 1035 photos in this while loop MAIN: 2026-09-07 23:45:06,212 - INFO - /home/pi/Desktop/images/07092026/23/44/image_07092026_23_45_05_60008.jpg MAIN: 2026-09-07 23:45:06,212 - INFO - duration: 0.9724422260042047 MAIN: 2026-09-07 23:46:05,720 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:46:06,488 - INFO - taking picture MAIN: 2026-09-07 23:46:06,488 - INFO - we take 1036 photos in this while loop MAIN: 2026-09-07 23:46:06,489 - INFO - /home/pi/Desktop/images/07092026/23/45/image_07092026_23_46_05_60209.jpg MAIN: 2026-09-07 23:46:06,489 - INFO - duration: 1.039729027004796 MAIN: 2026-09-07 23:47:05,804 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:47:06,501 - INFO - taking picture MAIN: 2026-09-07 23:47:06,501 - INFO - we take 1037 photos in this while loop MAIN: 2026-09-07 23:47:06,501 - INFO - /home/pi/Desktop/images/07092026/23/46/image_07092026_23_47_05_60077.jpg MAIN: 2026-09-07 23:47:06,502 - INFO - duration: 0.9752827680058545 MAIN: 2026-09-07 23:48:05,968 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:48:06,628 - INFO - taking picture MAIN: 2026-09-07 23:48:06,628 - INFO - we take 1038 photos in this while loop MAIN: 2026-09-07 23:48:06,629 - INFO - /home/pi/Desktop/images/07092026/23/47/image_07092026_23_48_05_60171.jpg MAIN: 2026-09-07 23:48:06,629 - INFO - duration: 0.9311646809946978 MAIN: 2026-09-07 23:49:05,847 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:49:06,508 - INFO - taking picture MAIN: 2026-09-07 23:49:06,508 - INFO - we take 1039 photos in this while loop MAIN: 2026-09-07 23:49:06,508 - INFO - /home/pi/Desktop/images/07092026/23/48/image_07092026_23_49_05_59903.jpg MAIN: 2026-09-07 23:49:06,508 - INFO - duration: 0.9076181370037375 MAIN: 2026-09-07 23:50:06,000 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:50:06,660 - INFO - taking picture MAIN: 2026-09-07 23:50:06,661 - INFO - we take 1040 photos in this while loop MAIN: 2026-09-07 23:50:06,661 - INFO - /home/pi/Desktop/images/07092026/23/49/image_07092026_23_50_06_60134.jpg MAIN: 2026-09-07 23:50:06,661 - INFO - duration: 0.9254717839939985 MAIN: 2026-09-07 23:51:05,851 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:51:06,565 - INFO - taking picture MAIN: 2026-09-07 23:51:06,565 - INFO - we take 1041 photos in this while loop MAIN: 2026-09-07 23:51:06,565 - INFO - /home/pi/Desktop/images/07092026/23/50/image_07092026_23_51_05_59862.jpg MAIN: 2026-09-07 23:51:06,566 - INFO - duration: 0.9680107409949414 MAIN: 2026-09-07 23:52:04,830 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:52:05,530 - INFO - taking picture MAIN: 2026-09-07 23:52:05,530 - INFO - we take 1042 photos in this while loop MAIN: 2026-09-07 23:52:05,530 - INFO - /home/pi/Desktop/images/07092026/23/51/image_07092026_23_52_04_59020.jpg MAIN: 2026-09-07 23:52:05,530 - INFO - duration: 0.9123723470111145 MAIN: 2026-09-07 23:53:04,902 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:53:05,562 - INFO - taking picture MAIN: 2026-09-07 23:53:05,562 - INFO - we take 1043 photos in this while loop MAIN: 2026-09-07 23:53:05,562 - INFO - /home/pi/Desktop/images/07092026/23/52/image_07092026_23_53_04_60025.jpg MAIN: 2026-09-07 23:53:05,562 - INFO - duration: 0.9186678609985393 MAIN: 2026-09-07 23:54:04,930 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:54:05,588 - INFO - taking picture MAIN: 2026-09-07 23:54:05,588 - INFO - we take 1044 photos in this while loop MAIN: 2026-09-07 23:54:05,588 - INFO - /home/pi/Desktop/images/07092026/23/53/image_07092026_23_54_04_60017.jpg MAIN: 2026-09-07 23:54:05,589 - INFO - duration: 0.9271502210031031 MAIN: 2026-09-07 23:55:04,986 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:55:05,698 - INFO - taking picture MAIN: 2026-09-07 23:55:05,698 - INFO - we take 1045 photos in this while loop MAIN: 2026-09-07 23:55:05,699 - INFO - /home/pi/Desktop/images/07092026/23/54/image_07092026_23_55_04_60095.jpg MAIN: 2026-09-07 23:55:05,699 - INFO - duration: 0.9413864710077178 MAIN: 2026-09-07 23:56:04,954 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:56:05,612 - INFO - taking picture MAIN: 2026-09-07 23:56:05,612 - INFO - we take 1046 photos in this while loop MAIN: 2026-09-07 23:56:05,612 - INFO - /home/pi/Desktop/images/07092026/23/55/image_07092026_23_56_04_59927.jpg MAIN: 2026-09-07 23:56:05,613 - INFO - duration: 0.9277658110077027 MAIN: 2026-09-07 23:57:04,978 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:57:05,733 - INFO - taking picture MAIN: 2026-09-07 23:57:05,734 - INFO - we take 1047 photos in this while loop MAIN: 2026-09-07 23:57:05,734 - INFO - /home/pi/Desktop/images/07092026/23/56/image_07092026_23_57_04_60055.jpg MAIN: 2026-09-07 23:57:05,734 - INFO - duration: 0.99321966599382 MAIN: 2026-09-07 23:58:05,182 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:58:05,891 - INFO - taking picture MAIN: 2026-09-07 23:58:05,891 - INFO - we take 1048 photos in this while loop MAIN: 2026-09-07 23:58:05,891 - INFO - /home/pi/Desktop/images/07092026/23/57/image_07092026_23_58_05_60204.jpg MAIN: 2026-09-07 23:58:05,891 - INFO - duration: 0.9461482400074601 MAIN: 2026-09-07 23:59:05,125 - INFO - Driver Info: Driver name : uvcvideo Card type : Arducam IMX477 HQ Camera: Arduc Bus info : usb-0000:01:00.0-1.4 Driver version : 5.4.79 Capabilities : 0x84a00001 Video Capture Metadata Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Media Driver Info: Driver name : uvcvideo Model : Arducam IMX477 HQ Camera: Arduc Serial : UC517 Bus info : usb-0000:01:00.0-1.4 Media version : 5.4.79 Hardware revision: 0x00000100 (256) Driver version : 5.4.79 Interface Info: ID : 0x03000002 Type : V4L Video Entity Info: ID : 0x00000001 (1) Name : Arducam IMX477 HQ Camera: Arduc Function : V4L2 I/O Flags : default Pad 0x01000007 : 0: Sink Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 3840/2160 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 16589389 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 3840, Height 2160 Default : Left 0, Top 0, Width 3840, Height 2160 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 20.000 (20/1) Read buffers : 0 brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0 contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32 saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64 hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1 gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100 gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0 power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3 backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1 exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3 exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive exposure_auto_priority 0x009a0903 (bool) : default=0 value=1 focus_auto 0x009a090c (bool) : default=1 value=1 MAIN: 2026-09-07 23:59:05,822 - INFO - taking picture MAIN: 2026-09-07 23:59:05,822 - INFO - we take 1049 photos in this while loop MAIN: 2026-09-07 23:59:05,822 - INFO - /home/pi/Desktop/images/07092026/23/58/image_07092026_23_59_05_59949.jpg MAIN: 2026-09-07 23:59:05,822 - INFO - duration: 0.9274782989959931