Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:31: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-10-26 06:31:06,072 - INFO - taking picture
MAIN: 2026-10-26 06:31:06,073 - INFO - we take 1 photos in this while loop
MAIN: 2026-10-26 06:31:06,073 - INFO - /home/pi/Desktop/images/26102026/06/30/image_26102026_06_31_05_60460.jpg
MAIN: 2026-10-26 06:31:06,073 - INFO - duration: 0.9845671610000863
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:32:05,439 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 06:32:06,190 - INFO - taking picture
MAIN: 2026-10-26 06:32:06,191 - INFO - we take 2 photos in this while loop
MAIN: 2026-10-26 06:32:06,191 - INFO - /home/pi/Desktop/images/26102026/06/31/image_26102026_06_32_05_60076.jpg
MAIN: 2026-10-26 06:32:06,191 - INFO - duration: 1.025644311999713
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:33: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-10-26 06:33:06,227 - INFO - taking picture
MAIN: 2026-10-26 06:33:06,227 - INFO - we take 3 photos in this while loop
MAIN: 2026-10-26 06:33:06,227 - INFO - /home/pi/Desktop/images/26102026/06/32/image_26102026_06_33_05_60100.jpg
MAIN: 2026-10-26 06:33:06,227 - INFO - duration: 0.9615407949995642
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:34: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-10-26 06:34:06,410 - INFO - taking picture
MAIN: 2026-10-26 06:34:06,410 - INFO - we take 4 photos in this while loop
MAIN: 2026-10-26 06:34:06,411 - INFO - /home/pi/Desktop/images/26102026/06/33/image_26102026_06_34_05_60079.jpg
MAIN: 2026-10-26 06:34:06,411 - INFO - duration: 1.0657560429999648
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:35: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-10-26 06:35:05,940 - INFO - taking picture
MAIN: 2026-10-26 06:35:05,940 - INFO - we take 5 photos in this while loop
MAIN: 2026-10-26 06:35:05,940 - INFO - /home/pi/Desktop/images/26102026/06/34/image_26102026_06_35_05_59623.jpg
MAIN: 2026-10-26 06:35:05,940 - INFO - duration: 0.9716315189998568
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:36: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-10-26 06:36:05,837 - INFO - taking picture
MAIN: 2026-10-26 06:36:05,838 - INFO - we take 6 photos in this while loop
MAIN: 2026-10-26 06:36:05,838 - INFO - /home/pi/Desktop/images/26102026/06/35/image_26102026_06_36_05_59935.jpg
MAIN: 2026-10-26 06:36:05,838 - INFO - duration: 0.9334939710006438
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:37:05,264 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 06:37:05,943 - INFO - taking picture
MAIN: 2026-10-26 06:37:05,943 - INFO - we take 7 photos in this while loop
MAIN: 2026-10-26 06:37:05,943 - INFO - /home/pi/Desktop/images/26102026/06/36/image_26102026_06_37_05_60083.jpg
MAIN: 2026-10-26 06:37:05,944 - INFO - duration: 0.9552570270006981
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:38:05,367 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 06:38:06,120 - INFO - taking picture
MAIN: 2026-10-26 06:38:06,120 - INFO - we take 8 photos in this while loop
MAIN: 2026-10-26 06:38:06,120 - INFO - /home/pi/Desktop/images/26102026/06/37/image_26102026_06_38_05_60087.jpg
MAIN: 2026-10-26 06:38:06,120 - INFO - duration: 1.0448262330000944
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:39: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-10-26 06:39:06,138 - INFO - taking picture
MAIN: 2026-10-26 06:39:06,138 - INFO - we take 9 photos in this while loop
MAIN: 2026-10-26 06:39:06,138 - INFO - /home/pi/Desktop/images/26102026/06/38/image_26102026_06_39_05_60116.jpg
MAIN: 2026-10-26 06:39:06,138 - INFO - duration: 0.94640627499939
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:40:05,767 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 06:40:06,522 - INFO - taking picture
MAIN: 2026-10-26 06:40:06,522 - INFO - we take 10 photos in this while loop
MAIN: 2026-10-26 06:40:06,522 - INFO - /home/pi/Desktop/images/26102026/06/39/image_26102026_06_40_05_60312.jpg
MAIN: 2026-10-26 06:40:06,522 - INFO - duration: 1.018218453999907
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:41: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-10-26 06:41:05,898 - INFO - taking picture
MAIN: 2026-10-26 06:41:05,898 - INFO - we take 11 photos in this while loop
MAIN: 2026-10-26 06:41:05,898 - INFO - /home/pi/Desktop/images/26102026/06/40/image_26102026_06_41_05_59430.jpg
MAIN: 2026-10-26 06:41:05,898 - INFO - duration: 0.9641070139996373
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:42: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-10-26 06:42:05,900 - INFO - taking picture
MAIN: 2026-10-26 06:42:05,900 - INFO - we take 12 photos in this while loop
MAIN: 2026-10-26 06:42:05,900 - INFO - /home/pi/Desktop/images/26102026/06/41/image_26102026_06_42_05_60008.jpg
MAIN: 2026-10-26 06:42:05,900 - INFO - duration: 0.9581511110000065
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:43: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-10-26 06:43:06,098 - INFO - taking picture
MAIN: 2026-10-26 06:43:06,098 - INFO - we take 13 photos in this while loop
MAIN: 2026-10-26 06:43:06,099 - INFO - /home/pi/Desktop/images/26102026/06/42/image_26102026_06_43_05_60096.jpg
MAIN: 2026-10-26 06:43:06,099 - INFO - duration: 1.0594838690003598
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:44:05,635 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 06:44:06,387 - INFO - taking picture
MAIN: 2026-10-26 06:44:06,388 - INFO - we take 14 photos in this while loop
MAIN: 2026-10-26 06:44:06,388 - INFO - /home/pi/Desktop/images/26102026/06/43/image_26102026_06_44_05_60311.jpg
MAIN: 2026-10-26 06:44:06,388 - INFO - duration: 1.0373169220001728
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:45:05,761 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 06:45:06,444 - INFO - taking picture
MAIN: 2026-10-26 06:45:06,444 - INFO - we take 15 photos in this while loop
MAIN: 2026-10-26 06:45:06,444 - INFO - /home/pi/Desktop/images/26102026/06/44/image_26102026_06_45_05_60145.jpg
MAIN: 2026-10-26 06:45:06,444 - INFO - duration: 0.948258693999378
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:46:06,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-10-26 06:46:06,759 - INFO - taking picture
MAIN: 2026-10-26 06:46:06,760 - INFO - we take 16 photos in this while loop
MAIN: 2026-10-26 06:46:06,760 - INFO - /home/pi/Desktop/images/26102026/06/45/image_26102026_06_46_06_60202.jpg
MAIN: 2026-10-26 06:46:06,760 - INFO - duration: 1.0610058819993355
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:47:04,990 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 06:47:05,740 - INFO - taking picture
MAIN: 2026-10-26 06:47:05,741 - INFO - we take 17 photos in this while loop
MAIN: 2026-10-26 06:47:05,741 - INFO - /home/pi/Desktop/images/26102026/06/46/image_26102026_06_47_04_58990.jpg
MAIN: 2026-10-26 06:47:05,741 - INFO - duration: 1.0515950379995047
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:48:05,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-10-26 06:48:06,590 - INFO - taking picture
MAIN: 2026-10-26 06:48:06,591 - INFO - we take 18 photos in this while loop
MAIN: 2026-10-26 06:48:06,591 - INFO - /home/pi/Desktop/images/26102026/06/47/image_26102026_06_48_05_60957.jpg
MAIN: 2026-10-26 06:48:06,591 - INFO - duration: 0.944250683998689
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:49: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-10-26 06:49:06,650 - INFO - taking picture
MAIN: 2026-10-26 06:49:06,650 - INFO - we take 19 photos in this while loop
MAIN: 2026-10-26 06:49:06,650 - INFO - /home/pi/Desktop/images/26102026/06/48/image_26102026_06_49_05_60053.jpg
MAIN: 2026-10-26 06:49:06,650 - INFO - duration: 0.9503555259998393
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:50: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-10-26 06:50:06,804 - INFO - taking picture
MAIN: 2026-10-26 06:50:06,805 - INFO - we take 20 photos in this while loop
MAIN: 2026-10-26 06:50:06,805 - INFO - /home/pi/Desktop/images/26102026/06/49/image_26102026_06_50_06_60102.jpg
MAIN: 2026-10-26 06:50:06,805 - INFO - duration: 1.0022160850003274
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:51:05,314 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 06:51:06,034 - INFO - taking picture
MAIN: 2026-10-26 06:51:06,034 - INFO - we take 21 photos in this while loop
MAIN: 2026-10-26 06:51:06,034 - INFO - /home/pi/Desktop/images/26102026/06/50/image_26102026_06_51_05_59292.jpg
MAIN: 2026-10-26 06:51:06,035 - INFO - duration: 0.9390080600005604
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:52: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-10-26 06:52:06,034 - INFO - taking picture
MAIN: 2026-10-26 06:52:06,035 - INFO - we take 22 photos in this while loop
MAIN: 2026-10-26 06:52:06,035 - INFO - /home/pi/Desktop/images/26102026/06/51/image_26102026_06_52_05_60003.jpg
MAIN: 2026-10-26 06:52:06,035 - INFO - duration: 0.9358305390014721
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:53: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-10-26 06:53:06,264 - INFO - taking picture
MAIN: 2026-10-26 06:53:06,264 - INFO - we take 23 photos in this while loop
MAIN: 2026-10-26 06:53:06,264 - INFO - /home/pi/Desktop/images/26102026/06/52/image_26102026_06_53_05_60140.jpg
MAIN: 2026-10-26 06:53:06,264 - INFO - duration: 1.0241033290003543
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:54:05,761 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 06:54:06,443 - INFO - taking picture
MAIN: 2026-10-26 06:54:06,443 - INFO - we take 24 photos in this while loop
MAIN: 2026-10-26 06:54:06,443 - INFO - /home/pi/Desktop/images/26102026/06/53/image_26102026_06_54_05_60248.jpg
MAIN: 2026-10-26 06:54:06,443 - INFO - duration: 0.9552452170009929
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:55: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-10-26 06:55:06,719 - INFO - taking picture
MAIN: 2026-10-26 06:55:06,719 - INFO - we take 25 photos in this while loop
MAIN: 2026-10-26 06:55:06,719 - INFO - /home/pi/Desktop/images/26102026/06/54/image_26102026_06_55_06_60282.jpg
MAIN: 2026-10-26 06:55:06,719 - INFO - duration: 0.9483448849987326
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:56: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-10-26 06:56:05,615 - INFO - taking picture
MAIN: 2026-10-26 06:56:05,615 - INFO - we take 26 photos in this while loop
MAIN: 2026-10-26 06:56:05,615 - INFO - /home/pi/Desktop/images/26102026/06/55/image_26102026_06_56_04_58908.jpg
MAIN: 2026-10-26 06:56:05,615 - INFO - duration: 0.9359710959997756
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:57: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-10-26 06:57:05,918 - INFO - taking picture
MAIN: 2026-10-26 06:57:05,918 - INFO - we take 27 photos in this while loop
MAIN: 2026-10-26 06:57:05,918 - INFO - /home/pi/Desktop/images/26102026/06/56/image_26102026_06_57_05_60184.jpg
MAIN: 2026-10-26 06:57:05,918 - INFO - duration: 1.0545263860003615
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06: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-10-26 06:58:06,412 - INFO - taking picture
MAIN: 2026-10-26 06:58:06,412 - INFO - we take 28 photos in this while loop
MAIN: 2026-10-26 06:58:06,412 - INFO - /home/pi/Desktop/images/26102026/06/57/image_26102026_06_58_05_60599.jpg
MAIN: 2026-10-26 06:58:06,412 - INFO - duration: 0.9494245240002783
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2026-10-26 06:59: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-10-26 06:59:06,680 - INFO - taking picture
MAIN: 2026-10-26 06:59:06,680 - INFO - we take 29 photos in this while loop
MAIN: 2026-10-26 06:59:06,680 - INFO - /home/pi/Desktop/images/26102026/06/58/image_26102026_06_59_05_60231.jpg
MAIN: 2026-10-26 06:59:06,680 - INFO - duration: 0.9858240310004476
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 07:00:05,075 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:00:05,816 - INFO - taking picture
MAIN: 2026-10-26 07:00:05,816 - INFO - we take 30 photos in this while loop
MAIN: 2026-10-26 07:00:05,816 - INFO - /home/pi/Desktop/images/26102026/06/59/image_26102026_07_00_05_59102.jpg
MAIN: 2026-10-26 07:00:05,816 - INFO - duration: 1.019329311000547
MAIN: 2026-10-26 07:00:05,817 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/07/00'
MAIN: 2026-10-26 07:00: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-10-26 07:01: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-10-26 07:01: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-10-26 07:01:05,915 - INFO - taking picture
MAIN: 2026-10-26 07:01:05,915 - INFO - we take 31 photos in this while loop
MAIN: 2026-10-26 07:01:05,915 - INFO - /home/pi/Desktop/images/26102026/07/00/image_26102026_07_01_05_60150.jpg
MAIN: 2026-10-26 07:01:05,915 - INFO - duration: 0.9674141600007715
MAIN: 2026-10-26 07:01:05,916 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:02: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-10-26 07:02:06,004 - INFO - taking picture
MAIN: 2026-10-26 07:02:06,005 - INFO - we take 32 photos in this while loop
MAIN: 2026-10-26 07:02:06,005 - INFO - /home/pi/Desktop/images/26102026/07/01/image_26102026_07_02_05_60104.jpg
MAIN: 2026-10-26 07:02:06,005 - INFO - duration: 0.9525501200005237
MAIN: 2026-10-26 07:02:06,005 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/07/02'
MAIN: 2026-10-26 07:02:06,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 07:03: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-10-26 07:03: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-10-26 07:03:05,906 - INFO - taking picture
MAIN: 2026-10-26 07:03:05,906 - INFO - we take 33 photos in this while loop
MAIN: 2026-10-26 07:03:05,906 - INFO - /home/pi/Desktop/images/26102026/07/02/image_26102026_07_03_05_59892.jpg
MAIN: 2026-10-26 07:03:05,906 - INFO - duration: 0.9609326579993649
MAIN: 2026-10-26 07:03:05,906 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:04: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-10-26 07:04:06,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-10-26 07:04:06,113 - INFO - taking picture
MAIN: 2026-10-26 07:04:06,113 - INFO - we take 34 photos in this while loop
MAIN: 2026-10-26 07:04:06,114 - INFO - /home/pi/Desktop/images/26102026/07/03/image_26102026_07_04_05_60120.jpg
MAIN: 2026-10-26 07:04:06,114 - INFO - duration: 1.0483679930002836
MAIN: 2026-10-26 07:04:06,115 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:05: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-10-26 07:05:05,741 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:05:06,496 - INFO - taking picture
MAIN: 2026-10-26 07:05:06,496 - INFO - we take 35 photos in this while loop
MAIN: 2026-10-26 07:05:06,496 - INFO - /home/pi/Desktop/images/26102026/07/04/image_26102026_07_05_05_60407.jpg
MAIN: 2026-10-26 07:05:06,497 - INFO - duration: 1.0238932430002023
MAIN: 2026-10-26 07:05:06,497 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:06: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-10-26 07:06:05,980 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:06:06,706 - INFO - taking picture
MAIN: 2026-10-26 07:06:06,706 - INFO - we take 36 photos in this while loop
MAIN: 2026-10-26 07:06:06,706 - INFO - /home/pi/Desktop/images/26102026/07/05/image_26102026_07_06_05_60275.jpg
MAIN: 2026-10-26 07:06:06,706 - INFO - duration: 0.9582434280000598
MAIN: 2026-10-26 07:06:06,707 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:07:05,182 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:07:06,142 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:07:06,822 - INFO - taking picture
MAIN: 2026-10-26 07:07:06,822 - INFO - we take 37 photos in this while loop
MAIN: 2026-10-26 07:07:06,822 - INFO - /home/pi/Desktop/images/26102026/07/06/image_26102026_07_07_06_60119.jpg
MAIN: 2026-10-26 07:07:06,822 - INFO - duration: 0.9541804359996604
MAIN: 2026-10-26 07:07:06,822 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:08:05,196 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:08: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-10-26 07:08:05,934 - INFO - taking picture
MAIN: 2026-10-26 07:08:05,934 - INFO - we take 38 photos in this while loop
MAIN: 2026-10-26 07:08:05,934 - INFO - /home/pi/Desktop/images/26102026/07/07/image_26102026_07_08_05_59022.jpg
MAIN: 2026-10-26 07:08:05,934 - INFO - duration: 1.0438094129985984
MAIN: 2026-10-26 07:08:05,934 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:09: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-10-26 07:09:05,504 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:09:06,133 - INFO - taking picture
MAIN: 2026-10-26 07:09:06,133 - INFO - we take 39 photos in this while loop
MAIN: 2026-10-26 07:09:06,133 - INFO - /home/pi/Desktop/images/26102026/07/08/image_26102026_07_09_05_60261.jpg
MAIN: 2026-10-26 07:09:06,133 - INFO - duration: 0.9810210310006369
MAIN: 2026-10-26 07:09:06,134 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:10:05,517 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:10: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-10-26 07:10:06,445 - INFO - taking picture
MAIN: 2026-10-26 07:10:06,446 - INFO - we take 40 photos in this while loop
MAIN: 2026-10-26 07:10:06,446 - INFO - /home/pi/Desktop/images/26102026/07/09/image_26102026_07_10_05_60352.jpg
MAIN: 2026-10-26 07:10:06,446 - INFO - duration: 0.9406010120001156
MAIN: 2026-10-26 07:10:06,446 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:11: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-10-26 07:11:05,754 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:11:06,498 - INFO - taking picture
MAIN: 2026-10-26 07:11:06,499 - INFO - we take 41 photos in this while loop
MAIN: 2026-10-26 07:11:06,499 - INFO - /home/pi/Desktop/images/26102026/07/10/image_26102026_07_11_05_59964.jpg
MAIN: 2026-10-26 07:11:06,499 - INFO - duration: 1.0295240160012327
MAIN: 2026-10-26 07:11:06,499 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:12: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-10-26 07:12: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-10-26 07:12:06,497 - INFO - taking picture
MAIN: 2026-10-26 07:12:06,498 - INFO - we take 42 photos in this while loop
MAIN: 2026-10-26 07:12:06,498 - INFO - /home/pi/Desktop/images/26102026/07/11/image_26102026_07_12_05_59948.jpg
MAIN: 2026-10-26 07:12:06,498 - INFO - duration: 1.0798524809997616
MAIN: 2026-10-26 07:12:06,498 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:13: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-10-26 07:13:05,877 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:13:06,603 - INFO - taking picture
MAIN: 2026-10-26 07:13:06,603 - INFO - we take 43 photos in this while loop
MAIN: 2026-10-26 07:13:06,603 - INFO - /home/pi/Desktop/images/26102026/07/12/image_26102026_07_13_05_60210.jpg
MAIN: 2026-10-26 07:13:06,603 - INFO - duration: 0.9750421890003054
MAIN: 2026-10-26 07:13:06,604 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:14:05,934 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:14:06,123 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:14:06,878 - INFO - taking picture
MAIN: 2026-10-26 07:14:06,878 - INFO - we take 44 photos in this while loop
MAIN: 2026-10-26 07:14:06,878 - INFO - /home/pi/Desktop/images/26102026/07/13/image_26102026_07_14_06_60199.jpg
MAIN: 2026-10-26 07:14:06,878 - INFO - duration: 1.050710634999632
MAIN: 2026-10-26 07:14:06,879 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:15: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-10-26 07:15: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-10-26 07:15:05,959 - INFO - taking picture
MAIN: 2026-10-26 07:15:05,959 - INFO - we take 45 photos in this while loop
MAIN: 2026-10-26 07:15:05,959 - INFO - /home/pi/Desktop/images/26102026/07/14/image_26102026_07_15_05_59225.jpg
MAIN: 2026-10-26 07:15:05,959 - INFO - duration: 0.906173094001133
MAIN: 2026-10-26 07:15:05,960 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:16: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-10-26 07:16:05,288 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:16:05,971 - INFO - taking picture
MAIN: 2026-10-26 07:16:05,972 - INFO - we take 46 photos in this while loop
MAIN: 2026-10-26 07:16:05,972 - INFO - /home/pi/Desktop/images/26102026/07/15/image_26102026_07_16_05_59939.jpg
MAIN: 2026-10-26 07:16:05,972 - INFO - duration: 0.9794063630015444
MAIN: 2026-10-26 07:16:05,972 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:17:04,968 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:17: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-10-26 07:17:06,069 - INFO - taking picture
MAIN: 2026-10-26 07:17:06,070 - INFO - we take 47 photos in this while loop
MAIN: 2026-10-26 07:17:06,070 - INFO - /home/pi/Desktop/images/26102026/07/16/image_26102026_07_17_05_60049.jpg
MAIN: 2026-10-26 07:17:06,070 - INFO - duration: 1.0278070349995687
MAIN: 2026-10-26 07:17:06,070 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:18:05,400 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:18:05,636 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:18:06,092 - INFO - taking picture
MAIN: 2026-10-26 07:18:06,092 - INFO - we take 48 photos in this while loop
MAIN: 2026-10-26 07:18:06,092 - INFO - /home/pi/Desktop/images/26102026/07/17/image_26102026_07_18_05_60090.jpg
MAIN: 2026-10-26 07:18:06,092 - INFO - duration: 0.9594901189993834
MAIN: 2026-10-26 07:18:06,092 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:19: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-10-26 07:19: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-10-26 07:19:06,200 - INFO - taking picture
MAIN: 2026-10-26 07:19:06,200 - INFO - we take 49 photos in this while loop
MAIN: 2026-10-26 07:19:06,200 - INFO - /home/pi/Desktop/images/26102026/07/18/image_26102026_07_19_05_60106.jpg
MAIN: 2026-10-26 07:19:06,200 - INFO - duration: 0.9615302820002398
MAIN: 2026-10-26 07:19:06,201 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/07/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-10-26 07:20: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-10-26 07:20: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-10-26 07:20:05,696 - INFO - taking picture
MAIN: 2026-10-26 07:20:05,697 - INFO - we take 50 photos in this while loop
MAIN: 2026-10-26 07:20:05,697 - INFO - /home/pi/Desktop/images/26102026/07/19/image_26102026_07_20_04_59504.jpg
MAIN: 2026-10-26 07:20:05,697 - INFO - duration: 0.9536337760000606
MAIN: 2026-10-26 07:20:05,697 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:21:04,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-10-26 07:21:05,009 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:21:05,692 - INFO - taking picture
MAIN: 2026-10-26 07:21:05,692 - INFO - we take 51 photos in this while loop
MAIN: 2026-10-26 07:21:05,692 - INFO - /home/pi/Desktop/images/26102026/07/20/image_26102026_07_21_05_59995.jpg
MAIN: 2026-10-26 07:21:05,692 - INFO - duration: 0.9534495749994676
MAIN: 2026-10-26 07:21:05,693 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:22:05,178 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:22:05,534 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:22:05,929 - INFO - taking picture
MAIN: 2026-10-26 07:22:05,929 - INFO - we take 52 photos in this while loop
MAIN: 2026-10-26 07:22:05,929 - INFO - /home/pi/Desktop/images/26102026/07/21/image_26102026_07_22_05_60158.jpg
MAIN: 2026-10-26 07:22:05,929 - INFO - duration: 1.031755363001139
MAIN: 2026-10-26 07:22:05,930 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:23: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-10-26 07:23:05,593 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:23:06,278 - INFO - taking picture
MAIN: 2026-10-26 07:23:06,279 - INFO - we take 53 photos in this while loop
MAIN: 2026-10-26 07:23:06,279 - INFO - /home/pi/Desktop/images/26102026/07/22/image_26102026_07_23_05_60405.jpg
MAIN: 2026-10-26 07:23:06,279 - INFO - duration: 0.9752569049996964
MAIN: 2026-10-26 07:23:06,279 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:24: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-10-26 07:24:05,817 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:24:06,293 - INFO - taking picture
MAIN: 2026-10-26 07:24:06,293 - INFO - we take 54 photos in this while loop
MAIN: 2026-10-26 07:24:06,293 - INFO - /home/pi/Desktop/images/26102026/07/23/image_26102026_07_24_05_60007.jpg
MAIN: 2026-10-26 07:24:06,293 - INFO - duration: 0.9823575949994847
MAIN: 2026-10-26 07:24:06,294 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:25:04,817 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:25:05,838 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:25:06,519 - INFO - taking picture
MAIN: 2026-10-26 07:25:06,520 - INFO - we take 55 photos in this while loop
MAIN: 2026-10-26 07:25:06,520 - INFO - /home/pi/Desktop/images/26102026/07/24/image_26102026_07_25_05_60236.jpg
MAIN: 2026-10-26 07:25:06,520 - INFO - duration: 0.972091179999552
MAIN: 2026-10-26 07:25:06,520 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:26:05,085 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:26:05,947 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:26:06,631 - INFO - taking picture
MAIN: 2026-10-26 07:26:06,631 - INFO - we take 56 photos in this while loop
MAIN: 2026-10-26 07:26:06,631 - INFO - /home/pi/Desktop/images/26102026/07/25/image_26102026_07_26_05_60143.jpg
MAIN: 2026-10-26 07:26:06,631 - INFO - duration: 0.940403984999648
MAIN: 2026-10-26 07:26:06,632 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:27: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-10-26 07:27: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-10-26 07:27:05,637 - INFO - taking picture
MAIN: 2026-10-26 07:27:05,637 - INFO - we take 57 photos in this while loop
MAIN: 2026-10-26 07:27:05,638 - INFO - /home/pi/Desktop/images/26102026/07/26/image_26102026_07_27_04_58965.jpg
MAIN: 2026-10-26 07:27:05,638 - INFO - duration: 0.9814973519987689
MAIN: 2026-10-26 07:27:05,638 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:28: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-10-26 07:28:05,460 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:28:05,693 - INFO - taking picture
MAIN: 2026-10-26 07:28:05,693 - INFO - we take 58 photos in this while loop
MAIN: 2026-10-26 07:28:05,693 - INFO - /home/pi/Desktop/images/26102026/07/27/image_26102026_07_28_04_60056.jpg
MAIN: 2026-10-26 07:28:05,693 - INFO - duration: 0.9807097689990769
MAIN: 2026-10-26 07:28:05,694 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:29: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-10-26 07:29: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-10-26 07:29:06,452 - INFO - taking picture
MAIN: 2026-10-26 07:29:06,453 - INFO - we take 59 photos in this while loop
MAIN: 2026-10-26 07:29:06,453 - INFO - /home/pi/Desktop/images/26102026/07/28/image_26102026_07_29_05_60826.jpg
MAIN: 2026-10-26 07:29:06,453 - INFO - duration: 0.9136176129995874
MAIN: 2026-10-26 07:29:06,453 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:30: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-10-26 07:30:05,704 - INFO - taking picture
MAIN: 2026-10-26 07:30:05,704 - INFO - we take 60 photos in this while loop
MAIN: 2026-10-26 07:30:05,704 - INFO - /home/pi/Desktop/images/26102026/07/29/image_26102026_07_30_05_59208.jpg
MAIN: 2026-10-26 07:30:05,704 - INFO - duration: 0.9563621159995819
MAIN: 2026-10-26 07:30:05,705 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/07/30'
MAIN: 2026-10-26 07:30: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-10-26 07:31:05,251 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:31:05,464 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:31:05,939 - INFO - taking picture
MAIN: 2026-10-26 07:31:05,940 - INFO - we take 61 photos in this while loop
MAIN: 2026-10-26 07:31:05,940 - INFO - /home/pi/Desktop/images/26102026/07/30/image_26102026_07_31_05_60222.jpg
MAIN: 2026-10-26 07:31:05,940 - INFO - duration: 0.9693552930002625
MAIN: 2026-10-26 07:31:05,940 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:32:04,700 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:32:05,413 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:32:06,075 - INFO - taking picture
MAIN: 2026-10-26 07:32:06,075 - INFO - we take 62 photos in this while loop
MAIN: 2026-10-26 07:32:06,075 - INFO - /home/pi/Desktop/images/26102026/07/31/image_26102026_07_32_05_60184.jpg
MAIN: 2026-10-26 07:32:06,075 - INFO - duration: 0.9201827279994177
MAIN: 2026-10-26 07:32:06,075 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:33:04,799 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:33: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-10-26 07:33:05,969 - INFO - taking picture
MAIN: 2026-10-26 07:33:05,969 - INFO - we take 63 photos in this while loop
MAIN: 2026-10-26 07:33:05,970 - INFO - /home/pi/Desktop/images/26102026/07/32/image_26102026_07_33_05_59901.jpg
MAIN: 2026-10-26 07:33:05,970 - INFO - duration: 0.9137620649999008
MAIN: 2026-10-26 07:33:05,970 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:34: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-10-26 07:34: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-10-26 07:34:05,990 - INFO - taking picture
MAIN: 2026-10-26 07:34:05,990 - INFO - we take 64 photos in this while loop
MAIN: 2026-10-26 07:34:05,990 - INFO - /home/pi/Desktop/images/26102026/07/33/image_26102026_07_34_05_59972.jpg
MAIN: 2026-10-26 07:34:05,990 - INFO - duration: 0.9622938009997597
MAIN: 2026-10-26 07:34:05,991 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:35:05,200 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:35:05,580 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:35:05,869 - INFO - taking picture
MAIN: 2026-10-26 07:35:05,869 - INFO - we take 65 photos in this while loop
MAIN: 2026-10-26 07:35:05,869 - INFO - /home/pi/Desktop/images/26102026/07/34/image_26102026_07_35_05_59959.jpg
MAIN: 2026-10-26 07:35:05,870 - INFO - duration: 0.881805205001001
MAIN: 2026-10-26 07:35:05,870 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:36: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-10-26 07:36: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-10-26 07:36:06,001 - INFO - taking picture
MAIN: 2026-10-26 07:36:06,001 - INFO - we take 66 photos in this while loop
MAIN: 2026-10-26 07:36:06,001 - INFO - /home/pi/Desktop/images/26102026/07/35/image_26102026_07_36_05_60023.jpg
MAIN: 2026-10-26 07:36:06,001 - INFO - duration: 0.989897932000531
MAIN: 2026-10-26 07:36:06,002 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:37:05,260 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:37:05,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-10-26 07:37:05,959 - INFO - taking picture
MAIN: 2026-10-26 07:37:05,960 - INFO - we take 67 photos in this while loop
MAIN: 2026-10-26 07:37:05,960 - INFO - /home/pi/Desktop/images/26102026/07/36/image_26102026_07_37_05_59962.jpg
MAIN: 2026-10-26 07:37:05,960 - INFO - duration: 0.986478550999891
MAIN: 2026-10-26 07:37:05,960 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:38: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-10-26 07:38:05,739 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:38:05,933 - INFO - taking picture
MAIN: 2026-10-26 07:38:05,933 - INFO - we take 68 photos in this while loop
MAIN: 2026-10-26 07:38:05,933 - INFO - /home/pi/Desktop/images/26102026/07/37/image_26102026_07_38_05_60007.jpg
MAIN: 2026-10-26 07:38:05,933 - INFO - duration: 0.9518242520007334
MAIN: 2026-10-26 07:38:05,933 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:39:04,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-10-26 07:39: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-10-26 07:39:05,818 - INFO - taking picture
MAIN: 2026-10-26 07:39:05,819 - INFO - we take 69 photos in this while loop
MAIN: 2026-10-26 07:39:05,819 - INFO - /home/pi/Desktop/images/26102026/07/38/image_26102026_07_39_05_59969.jpg
MAIN: 2026-10-26 07:39:05,819 - INFO - duration: 0.8685060120005801
MAIN: 2026-10-26 07:39:05,819 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:40: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-10-26 07:40:05,486 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:40:05,806 - INFO - taking picture
MAIN: 2026-10-26 07:40:05,806 - INFO - we take 70 photos in this while loop
MAIN: 2026-10-26 07:40:05,806 - INFO - /home/pi/Desktop/images/26102026/07/39/image_26102026_07_40_05_59944.jpg
MAIN: 2026-10-26 07:40:05,806 - INFO - duration: 0.9118384930006869
MAIN: 2026-10-26 07:40:05,807 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/07/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-10-26 07:41:04,928 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:41: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-10-26 07:41:05,594 - INFO - taking picture
MAIN: 2026-10-26 07:41:05,594 - INFO - we take 71 photos in this while loop
MAIN: 2026-10-26 07:41:05,594 - INFO - /home/pi/Desktop/images/26102026/07/40/image_26102026_07_41_04_59762.jpg
MAIN: 2026-10-26 07:41:05,595 - INFO - duration: 0.9372802699999738
MAIN: 2026-10-26 07:41:05,595 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:42: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-10-26 07:42:05,567 - INFO - taking picture
MAIN: 2026-10-26 07:42:05,567 - INFO - we take 72 photos in this while loop
MAIN: 2026-10-26 07:42:05,568 - INFO - /home/pi/Desktop/images/26102026/07/41/image_26102026_07_42_04_59989.jpg
MAIN: 2026-10-26 07:42:05,568 - INFO - duration: 0.9210918469998433
MAIN: 2026-10-26 07:42:05,568 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/07/42'
MAIN: 2026-10-26 07:42: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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 07:43: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-10-26 07:43:06,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-10-26 07:43:06,734 - INFO - taking picture
MAIN: 2026-10-26 07:43:06,734 - INFO - we take 73 photos in this while loop
MAIN: 2026-10-26 07:43:06,734 - INFO - /home/pi/Desktop/images/26102026/07/42/image_26102026_07_43_06_61166.jpg
MAIN: 2026-10-26 07:43:06,734 - INFO - duration: 0.9217000139997253
MAIN: 2026-10-26 07:43:06,735 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:44: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-10-26 07:44: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-10-26 07:44:06,576 - INFO - taking picture
MAIN: 2026-10-26 07:44:06,576 - INFO - we take 74 photos in this while loop
MAIN: 2026-10-26 07:44:06,576 - INFO - /home/pi/Desktop/images/26102026/07/43/image_26102026_07_44_05_59830.jpg
MAIN: 2026-10-26 07:44:06,576 - INFO - duration: 0.9336977539987856
MAIN: 2026-10-26 07:44:06,577 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:45: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-10-26 07:45:05,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-10-26 07:45:06,569 - INFO - taking picture
MAIN: 2026-10-26 07:45:06,569 - INFO - we take 75 photos in this while loop
MAIN: 2026-10-26 07:45:06,569 - INFO - /home/pi/Desktop/images/26102026/07/44/image_26102026_07_45_05_60012.jpg
MAIN: 2026-10-26 07:45:06,569 - INFO - duration: 0.9143577629984065
MAIN: 2026-10-26 07:45:06,569 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:46: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-10-26 07:46:05,648 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:46:06,309 - INFO - taking picture
MAIN: 2026-10-26 07:46:06,309 - INFO - we take 76 photos in this while loop
MAIN: 2026-10-26 07:46:06,309 - INFO - /home/pi/Desktop/images/26102026/07/45/image_26102026_07_46_05_59761.jpg
MAIN: 2026-10-26 07:46:06,309 - INFO - duration: 0.8927027270001417
MAIN: 2026-10-26 07:46:06,310 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:47: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-10-26 07:47: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-10-26 07:47:05,983 - INFO - taking picture
MAIN: 2026-10-26 07:47:05,983 - INFO - we take 77 photos in this while loop
MAIN: 2026-10-26 07:47:05,983 - INFO - /home/pi/Desktop/images/26102026/07/46/image_26102026_07_47_05_59630.jpg
MAIN: 2026-10-26 07:47:05,983 - INFO - duration: 0.9358517240016226
MAIN: 2026-10-26 07:47:05,984 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:48: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-10-26 07:48:05,600 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:48:05,690 - INFO - taking picture
MAIN: 2026-10-26 07:48:05,691 - INFO - we take 78 photos in this while loop
MAIN: 2026-10-26 07:48:05,691 - INFO - /home/pi/Desktop/images/26102026/07/47/image_26102026_07_48_05_59708.jpg
MAIN: 2026-10-26 07:48:05,691 - INFO - duration: 0.9347644219997164
MAIN: 2026-10-26 07:48:05,691 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:49:04,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-10-26 07:49:05,891 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:49:06,549 - INFO - taking picture
MAIN: 2026-10-26 07:49:06,550 - INFO - we take 79 photos in this while loop
MAIN: 2026-10-26 07:49:06,550 - INFO - /home/pi/Desktop/images/26102026/07/48/image_26102026_07_49_05_60874.jpg
MAIN: 2026-10-26 07:49:06,550 - INFO - duration: 0.9191146810007922
MAIN: 2026-10-26 07:49:06,550 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:50:05,477 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:50:05,795 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:50:06,456 - INFO - taking picture
MAIN: 2026-10-26 07:50:06,456 - INFO - we take 80 photos in this while loop
MAIN: 2026-10-26 07:50:06,456 - INFO - /home/pi/Desktop/images/26102026/07/49/image_26102026_07_50_05_59911.jpg
MAIN: 2026-10-26 07:50:06,457 - INFO - duration: 0.9139826289992925
MAIN: 2026-10-26 07:50:06,457 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:51: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-10-26 07:51: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-10-26 07:51:06,348 - INFO - taking picture
MAIN: 2026-10-26 07:51:06,349 - INFO - we take 81 photos in this while loop
MAIN: 2026-10-26 07:51:06,349 - INFO - /home/pi/Desktop/images/26102026/07/50/image_26102026_07_51_05_59934.jpg
MAIN: 2026-10-26 07:51:06,349 - INFO - duration: 0.8717023559984227
MAIN: 2026-10-26 07:51:06,349 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:52: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-10-26 07:52:05,976 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 07:52:06,685 - INFO - taking picture
MAIN: 2026-10-26 07:52:06,686 - INFO - we take 82 photos in this while loop
MAIN: 2026-10-26 07:52:06,686 - INFO - /home/pi/Desktop/images/26102026/07/51/image_26102026_07_52_05_60253.jpg
MAIN: 2026-10-26 07:52:06,686 - INFO - duration: 0.9551384549995419
MAIN: 2026-10-26 07:52:06,686 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:53: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-10-26 07:53: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-10-26 07:53:05,881 - INFO - taking picture
MAIN: 2026-10-26 07:53:05,882 - INFO - we take 83 photos in this while loop
MAIN: 2026-10-26 07:53:05,882 - INFO - /home/pi/Desktop/images/26102026/07/52/image_26102026_07_53_05_59144.jpg
MAIN: 2026-10-26 07:53:05,882 - INFO - duration: 1.0063979820006352
MAIN: 2026-10-26 07:53:05,882 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:54: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-10-26 07:54: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-10-26 07:54:06,149 - INFO - taking picture
MAIN: 2026-10-26 07:54:06,149 - INFO - we take 84 photos in this while loop
MAIN: 2026-10-26 07:54:06,150 - INFO - /home/pi/Desktop/images/26102026/07/53/image_26102026_07_54_05_60332.jpg
MAIN: 2026-10-26 07:54:06,150 - INFO - duration: 0.9415712450008868
MAIN: 2026-10-26 07:54:06,150 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:55: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-10-26 07:55:05,992 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:55:06,381 - INFO - taking picture
MAIN: 2026-10-26 07:55:06,381 - INFO - we take 85 photos in this while loop
MAIN: 2026-10-26 07:55:06,381 - INFO - /home/pi/Desktop/images/26102026/07/54/image_26102026_07_55_05_60290.jpg
MAIN: 2026-10-26 07:55:06,381 - INFO - duration: 0.8825208399994153
MAIN: 2026-10-26 07:55:06,382 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:56:04,993 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:56: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-10-26 07:56:06,595 - INFO - taking picture
MAIN: 2026-10-26 07:56:06,595 - INFO - we take 86 photos in this while loop
MAIN: 2026-10-26 07:56:06,595 - INFO - /home/pi/Desktop/images/26102026/07/55/image_26102026_07_56_05_60167.jpg
MAIN: 2026-10-26 07:56:06,595 - INFO - duration: 0.9296993709995149
MAIN: 2026-10-26 07:56:06,596 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:57: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-10-26 07: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-10-26 07:57:05,753 - INFO - taking picture
MAIN: 2026-10-26 07:57:05,753 - INFO - we take 87 photos in this while loop
MAIN: 2026-10-26 07:57:05,753 - INFO - /home/pi/Desktop/images/26102026/07/56/image_26102026_07_57_05_59073.jpg
MAIN: 2026-10-26 07:57:05,753 - INFO - duration: 1.0137058340005751
MAIN: 2026-10-26 07:57:05,754 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:58: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-10-26 07:58: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-10-26 07:58:06,286 - INFO - taking picture
MAIN: 2026-10-26 07:58:06,286 - INFO - we take 88 photos in this while loop
MAIN: 2026-10-26 07:58:06,287 - INFO - /home/pi/Desktop/images/26102026/07/57/image_26102026_07_58_05_60612.jpg
MAIN: 2026-10-26 07:58:06,287 - INFO - duration: 0.935017362000508
MAIN: 2026-10-26 07:58:06,287 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 07:59:05,267 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 07:59: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-10-26 07:59:06,652 - INFO - taking picture
MAIN: 2026-10-26 07:59:06,653 - INFO - we take 89 photos in this while loop
MAIN: 2026-10-26 07:59:06,653 - INFO - /home/pi/Desktop/images/26102026/07/58/image_26102026_07_59_05_60380.jpg
MAIN: 2026-10-26 07:59:06,653 - INFO - duration: 0.9205348440009402
MAIN: 2026-10-26 07:59:06,653 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:00: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-10-26 08:00:05,567 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 08:00:05,811 - INFO - taking picture
MAIN: 2026-10-26 08:00:05,811 - INFO - we take 90 photos in this while loop
MAIN: 2026-10-26 08:00:05,811 - INFO - /home/pi/Desktop/images/26102026/07/59/image_26102026_08_00_05_59117.jpg
MAIN: 2026-10-26 08:00:05,812 - INFO - duration: 0.9614275579988316
MAIN: 2026-10-26 08:00:05,812 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:01:05,062 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 08:01:05,344 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 08:01:06,057 - INFO - taking picture
MAIN: 2026-10-26 08:01:06,057 - INFO - we take 91 photos in this while loop
MAIN: 2026-10-26 08:01:06,058 - INFO - /home/pi/Desktop/images/26102026/08/00/image_26102026_08_01_05_60220.jpg
MAIN: 2026-10-26 08:01:06,058 - INFO - duration: 0.9873572819997207
MAIN: 2026-10-26 08:01:06,058 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:02: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-10-26 08:02:05,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-10-26 08:02:06,502 - INFO - taking picture
MAIN: 2026-10-26 08:02:06,502 - INFO - we take 92 photos in this while loop
MAIN: 2026-10-26 08:02:06,502 - INFO - /home/pi/Desktop/images/26102026/08/01/image_26102026_08_02_05_60468.jpg
MAIN: 2026-10-26 08:02:06,502 - INFO - duration: 0.9634538280006382
MAIN: 2026-10-26 08:02:06,502 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:03: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-10-26 08:03:05,647 - INFO - taking picture
MAIN: 2026-10-26 08:03:05,647 - INFO - we take 93 photos in this while loop
MAIN: 2026-10-26 08:03:05,647 - INFO - /home/pi/Desktop/images/26102026/08/02/image_26102026_08_03_04_59181.jpg
MAIN: 2026-10-26 08:03:05,648 - INFO - duration: 0.9269296910006233
MAIN: 2026-10-26 08:03:05,648 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/08/03'
MAIN: 2026-10-26 08:03: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-10-26 08:04:05,169 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 08:04:05,886 - INFO - taking picture
MAIN: 2026-10-26 08:04:05,886 - INFO - we take 94 photos in this while loop
MAIN: 2026-10-26 08:04:05,886 - INFO - /home/pi/Desktop/images/26102026/08/03/image_26102026_08_04_05_60174.jpg
MAIN: 2026-10-26 08:04:05,886 - INFO - duration: 0.9907686829992599
MAIN: 2026-10-26 08:04:05,887 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/08/04'
MAIN: 2026-10-26 08:04:05,994 - 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-10-26 08:05: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-10-26 08:05: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-10-26 08:05:06,121 - INFO - taking picture
MAIN: 2026-10-26 08:05:06,122 - INFO - we take 95 photos in this while loop
MAIN: 2026-10-26 08:05:06,122 - INFO - /home/pi/Desktop/images/26102026/08/04/image_26102026_08_05_05_60310.jpg
MAIN: 2026-10-26 08:05:06,122 - INFO - duration: 0.9165063529999316
MAIN: 2026-10-26 08:05:06,122 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:06: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-10-26 08:06: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-10-26 08:06:06,147 - INFO - taking picture
MAIN: 2026-10-26 08:06:06,148 - INFO - we take 96 photos in this while loop
MAIN: 2026-10-26 08:06:06,148 - INFO - /home/pi/Desktop/images/26102026/08/05/image_26102026_08_06_05_59983.jpg
MAIN: 2026-10-26 08:06:06,148 - INFO - duration: 0.9590240140005335
MAIN: 2026-10-26 08:06:06,148 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:07: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-10-26 08:07: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-10-26 08:07:05,937 - INFO - taking picture
MAIN: 2026-10-26 08:07:05,937 - INFO - we take 97 photos in this while loop
MAIN: 2026-10-26 08:07:05,937 - INFO - /home/pi/Desktop/images/26102026/08/06/image_26102026_08_07_05_59813.jpg
MAIN: 2026-10-26 08:07:05,937 - INFO - duration: 0.9344630489995325
MAIN: 2026-10-26 08:07:05,937 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:08:05,074 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 08:08:05,508 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 08:08:05,749 - INFO - taking picture
MAIN: 2026-10-26 08:08:05,749 - INFO - we take 98 photos in this while loop
MAIN: 2026-10-26 08:08:05,749 - INFO - /home/pi/Desktop/images/26102026/08/07/image_26102026_08_08_05_59829.jpg
MAIN: 2026-10-26 08:08:05,749 - INFO - duration: 0.9169091410003603
MAIN: 2026-10-26 08:08:05,749 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:09:05,600 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 08:09: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-10-26 08:09:06,623 - INFO - taking picture
MAIN: 2026-10-26 08:09:06,624 - INFO - we take 99 photos in this while loop
MAIN: 2026-10-26 08:09:06,624 - INFO - /home/pi/Desktop/images/26102026/08/08/image_26102026_08_09_05_60915.jpg
MAIN: 2026-10-26 08:09:06,624 - INFO - duration: 0.8766487129996676
MAIN: 2026-10-26 08:09:06,624 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:10: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-10-26 08:10: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-10-26 08:10:06,578 - INFO - taking picture
MAIN: 2026-10-26 08:10:06,578 - INFO - we take 100 photos in this while loop
MAIN: 2026-10-26 08:10:06,578 - INFO - /home/pi/Desktop/images/26102026/08/09/image_26102026_08_10_05_59881.jpg
MAIN: 2026-10-26 08:10:06,578 - INFO - duration: 0.9495351650002704
MAIN: 2026-10-26 08:10:06,578 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:11: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-10-26 08:11:06,043 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 08:11:06,710 - INFO - taking picture
MAIN: 2026-10-26 08:11:06,710 - INFO - we take 101 photos in this while loop
MAIN: 2026-10-26 08:11:06,710 - INFO - /home/pi/Desktop/images/26102026/08/10/image_26102026_08_11_06_60133.jpg
MAIN: 2026-10-26 08:11:06,710 - INFO - duration: 0.9479891610008053
MAIN: 2026-10-26 08:11:06,711 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:12: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-10-26 08:12: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-10-26 08:12:05,633 - INFO - taking picture
MAIN: 2026-10-26 08:12:05,634 - INFO - we take 102 photos in this while loop
MAIN: 2026-10-26 08:12:05,634 - INFO - /home/pi/Desktop/images/26102026/08/11/image_26102026_08_12_04_58967.jpg
MAIN: 2026-10-26 08:12:05,634 - INFO - duration: 0.9040488290011126
MAIN: 2026-10-26 08:12:05,634 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:13:05,050 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 08:13:05,443 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 08:13:05,761 - INFO - taking picture
MAIN: 2026-10-26 08:13:05,761 - INFO - we take 103 photos in this while loop
MAIN: 2026-10-26 08:13:05,761 - INFO - /home/pi/Desktop/images/26102026/08/12/image_26102026_08_13_05_60021.jpg
MAIN: 2026-10-26 08:13:05,761 - INFO - duration: 1.010092282000187
MAIN: 2026-10-26 08:13:05,762 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:14:05,136 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 08:14:05,576 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 08:14:05,816 - INFO - taking picture
MAIN: 2026-10-26 08:14:05,817 - INFO - we take 104 photos in this while loop
MAIN: 2026-10-26 08:14:05,817 - INFO - /home/pi/Desktop/images/26102026/08/13/image_26102026_08_14_05_60115.jpg
MAIN: 2026-10-26 08:14:05,817 - INFO - duration: 0.9502489130009053
MAIN: 2026-10-26 08:14:05,817 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:15: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-10-26 08:15:05,859 - INFO - taking picture
MAIN: 2026-10-26 08:15:05,859 - INFO - we take 105 photos in this while loop
MAIN: 2026-10-26 08:15:05,860 - INFO - /home/pi/Desktop/images/26102026/08/14/image_26102026_08_15_05_59985.jpg
MAIN: 2026-10-26 08:15:05,860 - INFO - duration: 1.0070735159988544
MAIN: 2026-10-26 08:15:05,860 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/08/15'
MAIN: 2026-10-26 08:15:05,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 08:16: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-10-26 08:16: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-10-26 08:16:06,629 - INFO - taking picture
MAIN: 2026-10-26 08:16:06,629 - INFO - we take 106 photos in this while loop
MAIN: 2026-10-26 08:16:06,630 - INFO - /home/pi/Desktop/images/26102026/08/15/image_26102026_08_16_05_60831.jpg
MAIN: 2026-10-26 08:16:06,630 - INFO - duration: 0.9456681459996616
MAIN: 2026-10-26 08:16:06,630 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:17: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-10-26 08:17: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-10-26 08:17:06,521 - INFO - taking picture
MAIN: 2026-10-26 08:17:06,521 - INFO - we take 107 photos in this while loop
MAIN: 2026-10-26 08:17:06,521 - INFO - /home/pi/Desktop/images/26102026/08/16/image_26102026_08_17_05_59881.jpg
MAIN: 2026-10-26 08:17:06,522 - INFO - duration: 0.9564828269994905
MAIN: 2026-10-26 08:17:06,522 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:18:05,531 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 08:18:05,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-10-26 08:18:06,688 - INFO - taking picture
MAIN: 2026-10-26 08:18:06,688 - INFO - we take 108 photos in this while loop
MAIN: 2026-10-26 08:18:06,689 - INFO - /home/pi/Desktop/images/26102026/08/17/image_26102026_08_18_05_60144.jpg
MAIN: 2026-10-26 08:18:06,689 - INFO - duration: 0.9789933299998665
MAIN: 2026-10-26 08:18:06,689 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:19:05,141 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 08:19: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-10-26 08:19:05,824 - INFO - taking picture
MAIN: 2026-10-26 08:19:05,825 - INFO - we take 109 photos in this while loop
MAIN: 2026-10-26 08:19:05,825 - INFO - /home/pi/Desktop/images/26102026/08/18/image_26102026_08_19_05_59143.jpg
MAIN: 2026-10-26 08:19:05,825 - INFO - duration: 0.9720771809988946
MAIN: 2026-10-26 08:19:05,825 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/08/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-10-26 08:20: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-10-26 08:20:05,935 - INFO - taking picture
MAIN: 2026-10-26 08:20:05,936 - INFO - we take 110 photos in this while loop
MAIN: 2026-10-26 08:20:05,936 - INFO - /home/pi/Desktop/images/26102026/08/19/image_26102026_08_20_05_60140.jpg
MAIN: 2026-10-26 08:20:05,936 - INFO - duration: 0.9424627890002739
MAIN: 2026-10-26 08:20:05,936 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/08/20'
MAIN: 2026-10-26 08:20:05,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 08:21: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-10-26 08:21:05,820 - INFO - taking picture
MAIN: 2026-10-26 08:21:05,821 - INFO - we take 111 photos in this while loop
MAIN: 2026-10-26 08:21:05,821 - INFO - /home/pi/Desktop/images/26102026/08/20/image_26102026_08_21_05_59906.jpg
MAIN: 2026-10-26 08:21:05,821 - INFO - duration: 0.9211656810002751
MAIN: 2026-10-26 08:21:05,821 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/08/21'
MAIN: 2026-10-26 08:21:05,919 - 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-10-26 08:22: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-10-26 08:22: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-10-26 08:22:05,902 - INFO - taking picture
MAIN: 2026-10-26 08:22:05,902 - INFO - we take 112 photos in this while loop
MAIN: 2026-10-26 08:22:05,902 - INFO - /home/pi/Desktop/images/26102026/08/21/image_26102026_08_22_05_59976.jpg
MAIN: 2026-10-26 08:22:05,902 - INFO - duration: 1.02639871700012
MAIN: 2026-10-26 08:22:05,903 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:23: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-10-26 08:23: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-10-26 08:23:06,038 - INFO - taking picture
MAIN: 2026-10-26 08:23:06,039 - INFO - we take 113 photos in this while loop
MAIN: 2026-10-26 08:23:06,039 - INFO - /home/pi/Desktop/images/26102026/08/22/image_26102026_08_23_05_60272.jpg
MAIN: 2026-10-26 08:23:06,039 - INFO - duration: 0.8910705160014913
MAIN: 2026-10-26 08:23:06,039 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:24: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-10-26 08:24: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-10-26 08:24:06,048 - INFO - taking picture
MAIN: 2026-10-26 08:24:06,048 - INFO - we take 114 photos in this while loop
MAIN: 2026-10-26 08:24:06,048 - INFO - /home/pi/Desktop/images/26102026/08/23/image_26102026_08_24_05_59942.jpg
MAIN: 2026-10-26 08:24:06,048 - INFO - duration: 0.9579272179998952
MAIN: 2026-10-26 08:24:06,048 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:25:05,513 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 08:25:05,799 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 08:25:06,203 - INFO - taking picture
MAIN: 2026-10-26 08:25:06,203 - INFO - we take 115 photos in this while loop
MAIN: 2026-10-26 08:25:06,203 - INFO - /home/pi/Desktop/images/26102026/08/24/image_26102026_08_25_05_60195.jpg
MAIN: 2026-10-26 08:25:06,203 - INFO - duration: 0.9178631409995432
MAIN: 2026-10-26 08:25:06,204 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:26:05,053 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 08:26:05,077 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 08:26:05,799 - INFO - taking picture
MAIN: 2026-10-26 08:26:05,799 - INFO - we take 116 photos in this while loop
MAIN: 2026-10-26 08:26:05,799 - INFO - /home/pi/Desktop/images/26102026/08/25/image_26102026_08_26_05_59472.jpg
MAIN: 2026-10-26 08:26:05,799 - INFO - duration: 1.0415861300007236
MAIN: 2026-10-26 08:26:05,800 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:27:04,952 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 08:27:05,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-10-26 08:27:06,652 - INFO - taking picture
MAIN: 2026-10-26 08:27:06,653 - INFO - we take 117 photos in this while loop
MAIN: 2026-10-26 08:27:06,653 - INFO - /home/pi/Desktop/images/26102026/08/26/image_26102026_08_27_05_60950.jpg
MAIN: 2026-10-26 08:27:06,653 - INFO - duration: 0.9450906490001216
MAIN: 2026-10-26 08:27:06,653 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:28: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-10-26 08:28:05,330 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 08:28:05,679 - INFO - taking picture
MAIN: 2026-10-26 08:28:05,680 - INFO - we take 118 photos in this while loop
MAIN: 2026-10-26 08:28:05,680 - INFO - /home/pi/Desktop/images/26102026/08/27/image_26102026_08_28_04_58984.jpg
MAIN: 2026-10-26 08:28:05,680 - INFO - duration: 0.9877217349985585
MAIN: 2026-10-26 08:28:05,680 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:29: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-10-26 08: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-10-26 08:29:05,674 - INFO - taking picture
MAIN: 2026-10-26 08:29:05,674 - INFO - we take 119 photos in this while loop
MAIN: 2026-10-26 08:29:05,674 - INFO - /home/pi/Desktop/images/26102026/08/28/image_26102026_08_29_04_60039.jpg
MAIN: 2026-10-26 08:29:05,674 - INFO - duration: 0.9424936210016313
MAIN: 2026-10-26 08:29:05,674 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:30:05,271 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 08:30:05,959 - INFO - taking picture
MAIN: 2026-10-26 08:30:05,960 - INFO - we take 120 photos in this while loop
MAIN: 2026-10-26 08:30:05,960 - INFO - /home/pi/Desktop/images/26102026/08/29/image_26102026_08_30_05_60292.jpg
MAIN: 2026-10-26 08:30:05,960 - INFO - duration: 0.9352560229999654
MAIN: 2026-10-26 08:30:05,960 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/08/30'
MAIN: 2026-10-26 08:30:06,232 - 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-10-26 08:31:05,310 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 08:31: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-10-26 08:31:05,995 - INFO - taking picture
MAIN: 2026-10-26 08:31:05,995 - INFO - we take 121 photos in this while loop
MAIN: 2026-10-26 08:31:05,996 - INFO - /home/pi/Desktop/images/26102026/08/30/image_26102026_08_31_05_60012.jpg
MAIN: 2026-10-26 08:31:05,996 - INFO - duration: 0.9587043229985284
MAIN: 2026-10-26 08:31:05,996 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:32: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-10-26 08:32:05,382 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 08:32:06,059 - INFO - taking picture
MAIN: 2026-10-26 08:32:06,059 - INFO - we take 122 photos in this while loop
MAIN: 2026-10-26 08:32:06,059 - INFO - /home/pi/Desktop/images/26102026/08/31/image_26102026_08_32_05_60101.jpg
MAIN: 2026-10-26 08:32:06,059 - INFO - duration: 0.9210445839999011
MAIN: 2026-10-26 08:32:06,060 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:33:04,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-10-26 08:33:05,318 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 08:33:05,994 - INFO - taking picture
MAIN: 2026-10-26 08:33:05,994 - INFO - we take 123 photos in this while loop
MAIN: 2026-10-26 08:33:05,994 - INFO - /home/pi/Desktop/images/26102026/08/32/image_26102026_08_33_05_59961.jpg
MAIN: 2026-10-26 08:33:05,994 - INFO - duration: 0.8945474200008903
MAIN: 2026-10-26 08:33:05,995 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:34:05,275 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 08:34: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-10-26 08:34:05,970 - INFO - taking picture
MAIN: 2026-10-26 08:34:05,970 - INFO - we take 124 photos in this while loop
MAIN: 2026-10-26 08:34:05,970 - INFO - /home/pi/Desktop/images/26102026/08/33/image_26102026_08_34_05_59916.jpg
MAIN: 2026-10-26 08:34:05,970 - INFO - duration: 0.9540721500015934
MAIN: 2026-10-26 08:34:05,971 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:35:05,333 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 08:35: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-10-26 08:35:06,019 - INFO - taking picture
MAIN: 2026-10-26 08:35:06,020 - INFO - we take 125 photos in this while loop
MAIN: 2026-10-26 08:35:06,020 - INFO - /home/pi/Desktop/images/26102026/08/34/image_26102026_08_35_05_60082.jpg
MAIN: 2026-10-26 08:35:06,020 - INFO - duration: 0.921273623000161
MAIN: 2026-10-26 08:35:06,020 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:36:05,876 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 08:36:05,891 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 08:36:06,565 - INFO - taking picture
MAIN: 2026-10-26 08:36:06,565 - INFO - we take 126 photos in this while loop
MAIN: 2026-10-26 08:36:06,565 - INFO - /home/pi/Desktop/images/26102026/08/35/image_26102026_08_36_05_60499.jpg
MAIN: 2026-10-26 08:36:06,566 - INFO - duration: 0.9678986580001947
MAIN: 2026-10-26 08:36:06,566 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:37:04,688 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 08:37: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-10-26 08:37:06,578 - INFO - taking picture
MAIN: 2026-10-26 08:37:06,579 - INFO - we take 127 photos in this while loop
MAIN: 2026-10-26 08:37:06,579 - INFO - /home/pi/Desktop/images/26102026/08/36/image_26102026_08_37_05_59936.jpg
MAIN: 2026-10-26 08:37:06,579 - INFO - duration: 1.0449408459990082
MAIN: 2026-10-26 08:37:06,579 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:38: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-10-26 08:38: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-10-26 08:38:06,281 - INFO - taking picture
MAIN: 2026-10-26 08:38:06,281 - INFO - we take 128 photos in this while loop
MAIN: 2026-10-26 08:38:06,281 - INFO - /home/pi/Desktop/images/26102026/08/37/image_26102026_08_38_05_59818.jpg
MAIN: 2026-10-26 08:38:06,281 - INFO - duration: 0.9288836900013848
MAIN: 2026-10-26 08:38:06,281 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:39: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-10-26 08:39: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-10-26 08:39:06,179 - INFO - taking picture
MAIN: 2026-10-26 08:39:06,179 - INFO - we take 129 photos in this while loop
MAIN: 2026-10-26 08:39:06,180 - INFO - /home/pi/Desktop/images/26102026/08/38/image_26102026_08_39_05_59931.jpg
MAIN: 2026-10-26 08:39:06,180 - INFO - duration: 0.8955991930015443
MAIN: 2026-10-26 08:39:06,180 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:40:05,417 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 08:40: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 ! 
MAIN: 2026-10-26 08:40:06,114 - INFO - taking picture
MAIN: 2026-10-26 08:40:06,115 - INFO - we take 130 photos in this while loop
MAIN: 2026-10-26 08:40:06,115 - INFO - /home/pi/Desktop/images/26102026/08/39/image_26102026_08_40_05_59890.jpg
MAIN: 2026-10-26 08:40:06,115 - INFO - duration: 0.9399463209992973
MAIN: 2026-10-26 08:40:06,115 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/08/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-10-26 08:41: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-10-26 08:41: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-10-26 08:41:05,901 - INFO - taking picture
MAIN: 2026-10-26 08:41:05,902 - INFO - we take 131 photos in this while loop
MAIN: 2026-10-26 08:41:05,902 - INFO - /home/pi/Desktop/images/26102026/08/40/image_26102026_08_41_05_59775.jpg
MAIN: 2026-10-26 08:41:05,902 - INFO - duration: 0.951678057999743
MAIN: 2026-10-26 08:41:05,902 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:42: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-10-26 08:42:05,986 - INFO - taking picture
MAIN: 2026-10-26 08:42:05,986 - INFO - we take 132 photos in this while loop
MAIN: 2026-10-26 08:42:05,987 - INFO - /home/pi/Desktop/images/26102026/08/41/image_26102026_08_42_05_60032.jpg
MAIN: 2026-10-26 08:42:05,987 - INFO - duration: 1.0038828430006106
MAIN: 2026-10-26 08:42:05,987 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/08/42'
MAIN: 2026-10-26 08:42:05,991 - 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-10-26 08:43:04,580 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 08:43: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-10-26 08:43:06,545 - INFO - taking picture
MAIN: 2026-10-26 08:43:06,545 - INFO - we take 133 photos in this while loop
MAIN: 2026-10-26 08:43:06,545 - INFO - /home/pi/Desktop/images/26102026/08/42/image_26102026_08_43_05_60526.jpg
MAIN: 2026-10-26 08:43:06,545 - INFO - duration: 1.0362436730010813
MAIN: 2026-10-26 08:43:06,546 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:44: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-10-26 08:44: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-10-26 08:44:06,533 - INFO - taking picture
MAIN: 2026-10-26 08:44:06,533 - INFO - we take 134 photos in this while loop
MAIN: 2026-10-26 08:44:06,533 - INFO - /home/pi/Desktop/images/26102026/08/43/image_26102026_08_44_05_60072.jpg
MAIN: 2026-10-26 08:44:06,533 - INFO - duration: 0.9516606430006505
MAIN: 2026-10-26 08:44:06,533 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:45:05,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 ! 
MAIN: 2026-10-26 08:45:06,075 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 08:45:06,760 - INFO - taking picture
MAIN: 2026-10-26 08:45:06,760 - INFO - we take 135 photos in this while loop
MAIN: 2026-10-26 08:45:06,760 - INFO - /home/pi/Desktop/images/26102026/08/44/image_26102026_08_45_06_60221.jpg
MAIN: 2026-10-26 08:45:06,761 - INFO - duration: 0.9571212400005606
MAIN: 2026-10-26 08:45:06,761 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:46:04,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-10-26 08:46:05,440 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 08:46:05,617 - INFO - taking picture
MAIN: 2026-10-26 08:46:05,617 - INFO - we take 136 photos in this while loop
MAIN: 2026-10-26 08:46:05,617 - INFO - /home/pi/Desktop/images/26102026/08/45/image_26102026_08_46_04_58826.jpg
MAIN: 2026-10-26 08:46:05,617 - INFO - duration: 0.9876501059989096
MAIN: 2026-10-26 08:46:05,618 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:47: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-10-26 08:47:05,753 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 08:47:06,436 - INFO - taking picture
MAIN: 2026-10-26 08:47:06,436 - INFO - we take 137 photos in this while loop
MAIN: 2026-10-26 08:47:06,436 - INFO - /home/pi/Desktop/images/26102026/08/46/image_26102026_08_47_05_60836.jpg
MAIN: 2026-10-26 08:47:06,436 - INFO - duration: 0.9698387829994317
MAIN: 2026-10-26 08:47:06,437 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:48: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-10-26 08:48: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-10-26 08:48:06,504 - INFO - taking picture
MAIN: 2026-10-26 08:48:06,504 - INFO - we take 138 photos in this while loop
MAIN: 2026-10-26 08:48:06,504 - INFO - /home/pi/Desktop/images/26102026/08/47/image_26102026_08_48_05_60072.jpg
MAIN: 2026-10-26 08:48:06,504 - INFO - duration: 0.9654675949986995
MAIN: 2026-10-26 08:48:06,504 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:49:04,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-10-26 08:49: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-10-26 08:49:06,656 - INFO - taking picture
MAIN: 2026-10-26 08:49:06,656 - INFO - we take 139 photos in this while loop
MAIN: 2026-10-26 08:49:06,656 - INFO - /home/pi/Desktop/images/26102026/08/48/image_26102026_08_49_05_60149.jpg
MAIN: 2026-10-26 08:49:06,656 - INFO - duration: 0.9675557629998366
MAIN: 2026-10-26 08:49:06,656 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:50:05,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-10-26 08:50:05,584 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 08:50:05,784 - INFO - taking picture
MAIN: 2026-10-26 08:50:05,784 - INFO - we take 140 photos in this while loop
MAIN: 2026-10-26 08:50:05,784 - INFO - /home/pi/Desktop/images/26102026/08/49/image_26102026_08_50_05_59129.jpg
MAIN: 2026-10-26 08:50:05,784 - INFO - duration: 0.9662731320004241
MAIN: 2026-10-26 08:50:05,785 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:51:05,077 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 08:51:05,303 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 08:51:06,076 - INFO - taking picture
MAIN: 2026-10-26 08:51:06,077 - INFO - we take 141 photos in this while loop
MAIN: 2026-10-26 08:51:06,077 - INFO - /home/pi/Desktop/images/26102026/08/50/image_26102026_08_51_05_60203.jpg
MAIN: 2026-10-26 08:51:06,077 - INFO - duration: 1.0549719120008376
MAIN: 2026-10-26 08:51:06,077 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:52: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-10-26 08:52: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-10-26 08:52:06,041 - INFO - taking picture
MAIN: 2026-10-26 08:52:06,041 - INFO - we take 142 photos in this while loop
MAIN: 2026-10-26 08:52:06,041 - INFO - /home/pi/Desktop/images/26102026/08/51/image_26102026_08_52_05_60040.jpg
MAIN: 2026-10-26 08:52:06,041 - INFO - duration: 0.9785742300009588
MAIN: 2026-10-26 08:52:06,041 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:53: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-10-26 08:53: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-10-26 08:53:06,537 - INFO - taking picture
MAIN: 2026-10-26 08:53:06,537 - INFO - we take 143 photos in this while loop
MAIN: 2026-10-26 08:53:06,537 - INFO - /home/pi/Desktop/images/26102026/08/52/image_26102026_08_53_05_60486.jpg
MAIN: 2026-10-26 08:53:06,538 - INFO - duration: 0.9883596849995229
MAIN: 2026-10-26 08:53:06,538 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:54: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-10-26 08:54: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-10-26 08:54:06,599 - INFO - taking picture
MAIN: 2026-10-26 08:54:06,599 - INFO - we take 144 photos in this while loop
MAIN: 2026-10-26 08:54:06,599 - INFO - /home/pi/Desktop/images/26102026/08/53/image_26102026_08_54_05_60079.jpg
MAIN: 2026-10-26 08:54:06,599 - INFO - duration: 0.970790893999947
MAIN: 2026-10-26 08:54:06,600 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:55: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-10-26 08:55:06,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-10-26 08:55:06,786 - INFO - taking picture
MAIN: 2026-10-26 08:55:06,786 - INFO - we take 145 photos in this while loop
MAIN: 2026-10-26 08:55:06,786 - INFO - /home/pi/Desktop/images/26102026/08/54/image_26102026_08_55_06_60165.jpg
MAIN: 2026-10-26 08:55:06,787 - INFO - duration: 0.9922792590004974
MAIN: 2026-10-26 08:55:06,787 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:56:05,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-10-26 08:56: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-10-26 08:56:05,738 - INFO - taking picture
MAIN: 2026-10-26 08:56:05,739 - INFO - we take 146 photos in this while loop
MAIN: 2026-10-26 08:56:05,739 - INFO - /home/pi/Desktop/images/26102026/08/55/image_26102026_08_56_05_58939.jpg
MAIN: 2026-10-26 08:56:05,739 - INFO - duration: 1.0051519759999792
MAIN: 2026-10-26 08:56:05,739 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:57: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-10-26 08:57: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-10-26 08:57:05,875 - INFO - taking picture
MAIN: 2026-10-26 08:57:05,875 - INFO - we take 147 photos in this while loop
MAIN: 2026-10-26 08:57:05,875 - INFO - /home/pi/Desktop/images/26102026/08/56/image_26102026_08_57_05_60091.jpg
MAIN: 2026-10-26 08:57:05,875 - INFO - duration: 1.0500415549995523
MAIN: 2026-10-26 08:57:05,876 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:58:05,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-10-26 08:58: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-10-26 08:58:06,727 - INFO - taking picture
MAIN: 2026-10-26 08:58:06,727 - INFO - we take 148 photos in this while loop
MAIN: 2026-10-26 08:58:06,727 - INFO - /home/pi/Desktop/images/26102026/08/57/image_26102026_08_58_06_60979.jpg
MAIN: 2026-10-26 08:58:06,727 - INFO - duration: 0.9224798229988664
MAIN: 2026-10-26 08:58:06,727 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 08:59: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-10-26 08:59: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-10-26 08:59:05,722 - INFO - taking picture
MAIN: 2026-10-26 08:59:05,722 - INFO - we take 149 photos in this while loop
MAIN: 2026-10-26 08:59:05,722 - INFO - /home/pi/Desktop/images/26102026/08/58/image_26102026_08_59_04_58917.jpg
MAIN: 2026-10-26 08:59:05,722 - INFO - duration: 1.0007272689999809
MAIN: 2026-10-26 08:59:05,723 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/08/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-10-26 09:00: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-10-26 09:00: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-10-26 09:00:06,522 - INFO - taking picture
MAIN: 2026-10-26 09:00:06,522 - INFO - we take 150 photos in this while loop
MAIN: 2026-10-26 09:00:06,522 - INFO - /home/pi/Desktop/images/26102026/08/59/image_26102026_09_00_05_60769.jpg
MAIN: 2026-10-26 09:00:06,523 - INFO - duration: 1.031483869001022
MAIN: 2026-10-26 09:00:06,523 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/09/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-10-26 09:01:04,968 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:01:06,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-10-26 09:01:06,934 - INFO - taking picture
MAIN: 2026-10-26 09:01:06,934 - INFO - we take 151 photos in this while loop
MAIN: 2026-10-26 09:01:06,934 - INFO - /home/pi/Desktop/images/26102026/09/00/image_26102026_09_01_06_60369.jpg
MAIN: 2026-10-26 09:01:06,935 - INFO - duration: 1.0743625059985789
MAIN: 2026-10-26 09:01:06,935 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:02: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-10-26 09:02: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-10-26 09:02:05,887 - INFO - taking picture
MAIN: 2026-10-26 09:02:05,888 - INFO - we take 152 photos in this while loop
MAIN: 2026-10-26 09:02:05,888 - INFO - /home/pi/Desktop/images/26102026/09/01/image_26102026_09_02_05_59002.jpg
MAIN: 2026-10-26 09:02:05,888 - INFO - duration: 1.0250321800012898
MAIN: 2026-10-26 09:02:05,888 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:03: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-10-26 09:03:05,498 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:03:05,873 - INFO - taking picture
MAIN: 2026-10-26 09:03:05,873 - INFO - we take 153 photos in this while loop
MAIN: 2026-10-26 09:03:05,874 - INFO - /home/pi/Desktop/images/26102026/09/02/image_26102026_09_03_05_60028.jpg
MAIN: 2026-10-26 09:03:05,874 - INFO - duration: 0.9821543050002219
MAIN: 2026-10-26 09:03:05,874 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:04:05,815 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:04:06,141 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 09:04:06,909 - INFO - taking picture
MAIN: 2026-10-26 09:04:06,909 - INFO - we take 154 photos in this while loop
MAIN: 2026-10-26 09:04:06,909 - INFO - /home/pi/Desktop/images/26102026/09/03/image_26102026_09_04_06_60982.jpg
MAIN: 2026-10-26 09:04:06,910 - INFO - duration: 1.0356189680023817
MAIN: 2026-10-26 09:04:06,910 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:05:04,995 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:05: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-10-26 09:05:06,117 - INFO - taking picture
MAIN: 2026-10-26 09:05:06,117 - INFO - we take 155 photos in this while loop
MAIN: 2026-10-26 09:05:06,117 - INFO - /home/pi/Desktop/images/26102026/09/04/image_26102026_09_05_05_59320.jpg
MAIN: 2026-10-26 09:05:06,117 - INFO - duration: 0.9229253869998502
MAIN: 2026-10-26 09:05:06,117 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:06:05,251 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:06: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-10-26 09:06:06,763 - INFO - taking picture
MAIN: 2026-10-26 09:06:06,763 - INFO - we take 156 photos in this while loop
MAIN: 2026-10-26 09:06:06,763 - INFO - /home/pi/Desktop/images/26102026/09/05/image_26102026_09_06_05_60490.jpg
MAIN: 2026-10-26 09:06:06,763 - INFO - duration: 1.0782847890004632
MAIN: 2026-10-26 09:06:06,764 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:07: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-10-26 09:07:05,222 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:07:05,896 - INFO - taking picture
MAIN: 2026-10-26 09:07:05,896 - INFO - we take 157 photos in this while loop
MAIN: 2026-10-26 09:07:05,896 - INFO - /home/pi/Desktop/images/26102026/09/06/image_26102026_09_07_05_59241.jpg
MAIN: 2026-10-26 09:07:05,896 - INFO - duration: 0.9697580669999297
MAIN: 2026-10-26 09:07:05,896 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:08: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-10-26 09:08:05,798 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 09:08:06,570 - INFO - taking picture
MAIN: 2026-10-26 09:08:06,570 - INFO - we take 158 photos in this while loop
MAIN: 2026-10-26 09:08:06,570 - INFO - /home/pi/Desktop/images/26102026/09/07/image_26102026_09_08_05_60588.jpg
MAIN: 2026-10-26 09:08:06,570 - INFO - duration: 1.0550054150007782
MAIN: 2026-10-26 09:08:06,571 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:09:05,249 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 09:09: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-10-26 09:09:06,007 - INFO - taking picture
MAIN: 2026-10-26 09:09:06,008 - INFO - we take 159 photos in this while loop
MAIN: 2026-10-26 09:09:06,008 - INFO - /home/pi/Desktop/images/26102026/09/08/image_26102026_09_09_05_59447.jpg
MAIN: 2026-10-26 09:09:06,008 - INFO - duration: 1.0448072390026937
MAIN: 2026-10-26 09:09:06,008 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:10:05,642 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 09:10: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-10-26 09:10:06,383 - INFO - taking picture
MAIN: 2026-10-26 09:10:06,383 - INFO - we take 160 photos in this while loop
MAIN: 2026-10-26 09:10:06,383 - INFO - /home/pi/Desktop/images/26102026/09/09/image_26102026_09_10_05_60439.jpg
MAIN: 2026-10-26 09:10:06,384 - INFO - duration: 0.9808595130016329
MAIN: 2026-10-26 09:10:06,384 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:11: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-10-26 09:11:06,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-10-26 09:11:06,710 - INFO - taking picture
MAIN: 2026-10-26 09:11:06,711 - INFO - we take 161 photos in this while loop
MAIN: 2026-10-26 09:11:06,711 - INFO - /home/pi/Desktop/images/26102026/09/10/image_26102026_09_11_06_60334.jpg
MAIN: 2026-10-26 09:11:06,711 - INFO - duration: 0.9741348059978918
MAIN: 2026-10-26 09:11:06,711 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:12: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-10-26 09:12:05,151 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 09:12:05,856 - INFO - taking picture
MAIN: 2026-10-26 09:12:05,856 - INFO - we take 162 photos in this while loop
MAIN: 2026-10-26 09:12:05,856 - INFO - /home/pi/Desktop/images/26102026/09/11/image_26102026_09_12_05_59130.jpg
MAIN: 2026-10-26 09:12:05,857 - INFO - duration: 0.9896302399974957
MAIN: 2026-10-26 09:12:05,857 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:13: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-10-26 09:13: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-10-26 09:13:06,436 - INFO - taking picture
MAIN: 2026-10-26 09:13:06,436 - INFO - we take 163 photos in this while loop
MAIN: 2026-10-26 09:13:06,436 - INFO - /home/pi/Desktop/images/26102026/09/12/image_26102026_09_13_05_60583.jpg
MAIN: 2026-10-26 09:13:06,436 - INFO - duration: 0.9856690619999426
MAIN: 2026-10-26 09:13:06,437 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:14:04,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-10-26 09:14: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-10-26 09:14:05,593 - INFO - taking picture
MAIN: 2026-10-26 09:14:05,593 - INFO - we take 164 photos in this while loop
MAIN: 2026-10-26 09:14:05,593 - INFO - /home/pi/Desktop/images/26102026/09/13/image_26102026_09_14_04_59194.jpg
MAIN: 2026-10-26 09:14:05,593 - INFO - duration: 0.9480639440007508
MAIN: 2026-10-26 09:14:05,594 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:15: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-10-26 09:15:05,825 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:15:06,145 - INFO - taking picture
MAIN: 2026-10-26 09:15:06,145 - INFO - we take 165 photos in this while loop
MAIN: 2026-10-26 09:15:06,145 - INFO - /home/pi/Desktop/images/26102026/09/14/image_26102026_09_15_05_60526.jpg
MAIN: 2026-10-26 09:15:06,146 - INFO - duration: 0.9737217759975465
MAIN: 2026-10-26 09:15:06,146 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:16: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-10-26 09:16:05,055 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 09:16:05,756 - INFO - taking picture
MAIN: 2026-10-26 09:16:05,757 - INFO - we take 166 photos in this while loop
MAIN: 2026-10-26 09:16:05,757 - INFO - /home/pi/Desktop/images/26102026/09/15/image_26102026_09_16_05_59591.jpg
MAIN: 2026-10-26 09:16:05,757 - INFO - duration: 0.9937824070002534
MAIN: 2026-10-26 09:16:05,757 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:17:04,826 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:17: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-10-26 09:17:05,856 - INFO - taking picture
MAIN: 2026-10-26 09:17:05,856 - INFO - we take 167 photos in this while loop
MAIN: 2026-10-26 09:17:05,856 - INFO - /home/pi/Desktop/images/26102026/09/16/image_26102026_09_17_05_60117.jpg
MAIN: 2026-10-26 09:17:05,857 - INFO - duration: 0.9761362680001184
MAIN: 2026-10-26 09:17:05,857 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:18:05,566 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:18: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-10-26 09:18:06,646 - INFO - taking picture
MAIN: 2026-10-26 09:18:06,646 - INFO - we take 168 photos in this while loop
MAIN: 2026-10-26 09:18:06,646 - INFO - /home/pi/Desktop/images/26102026/09/17/image_26102026_09_18_05_60820.jpg
MAIN: 2026-10-26 09:18:06,647 - INFO - duration: 0.9451933829986956
MAIN: 2026-10-26 09:18:06,647 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:19:05,157 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:19: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-10-26 09:19:06,163 - INFO - taking picture
MAIN: 2026-10-26 09:19:06,163 - INFO - we take 169 photos in this while loop
MAIN: 2026-10-26 09:19:06,164 - INFO - /home/pi/Desktop/images/26102026/09/18/image_26102026_09_19_05_59439.jpg
MAIN: 2026-10-26 09:19:06,164 - INFO - duration: 1.0229703900004097
MAIN: 2026-10-26 09:19:06,164 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:20: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-10-26 09:20:06,087 - INFO - taking picture
MAIN: 2026-10-26 09:20:06,087 - INFO - we take 170 photos in this while loop
MAIN: 2026-10-26 09:20:06,087 - INFO - /home/pi/Desktop/images/26102026/09/19/image_26102026_09_20_05_59941.jpg
MAIN: 2026-10-26 09:20:06,087 - INFO - duration: 1.0050689230010903
MAIN: 2026-10-26 09:20:06,088 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/09/20'
MAIN: 2026-10-26 09:20: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-10-26 09:21:05,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-10-26 09:21:06,119 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 09:21:06,901 - INFO - taking picture
MAIN: 2026-10-26 09:21:06,901 - INFO - we take 171 photos in this while loop
MAIN: 2026-10-26 09:21:06,901 - INFO - /home/pi/Desktop/images/26102026/09/20/image_26102026_09_21_06_60775.jpg
MAIN: 2026-10-26 09:21:06,902 - INFO - duration: 1.0437591029985924
MAIN: 2026-10-26 09:21:06,902 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09: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-10-26 09:22: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-10-26 09:22:05,737 - INFO - taking picture
MAIN: 2026-10-26 09:22:05,737 - INFO - we take 172 photos in this while loop
MAIN: 2026-10-26 09:22:05,738 - INFO - /home/pi/Desktop/images/26102026/09/21/image_26102026_09_22_05_58900.jpg
MAIN: 2026-10-26 09:22:05,738 - INFO - duration: 0.9793931099993642
MAIN: 2026-10-26 09:22:05,738 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:23: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-10-26 09:23:05,725 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 09:23:06,431 - INFO - taking picture
MAIN: 2026-10-26 09:23:06,432 - INFO - we take 173 photos in this while loop
MAIN: 2026-10-26 09:23:06,432 - INFO - /home/pi/Desktop/images/26102026/09/22/image_26102026_09_23_05_60713.jpg
MAIN: 2026-10-26 09:23:06,432 - INFO - duration: 0.9605036930006463
MAIN: 2026-10-26 09:23:06,432 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:24: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-10-26 09:24: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-10-26 09:24:05,811 - INFO - taking picture
MAIN: 2026-10-26 09:24:05,811 - INFO - we take 174 photos in this while loop
MAIN: 2026-10-26 09:24:05,811 - INFO - /home/pi/Desktop/images/26102026/09/23/image_26102026_09_24_05_59330.jpg
MAIN: 2026-10-26 09:24:05,812 - INFO - duration: 1.009071047999896
MAIN: 2026-10-26 09:24:05,812 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:25: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-10-26 09:25:05,768 - INFO - taking picture
MAIN: 2026-10-26 09:25:05,769 - INFO - we take 175 photos in this while loop
MAIN: 2026-10-26 09:25:05,769 - INFO - /home/pi/Desktop/images/26102026/09/24/image_26102026_09_25_05_59965.jpg
MAIN: 2026-10-26 09:25:05,769 - INFO - duration: 1.001016220998281
MAIN: 2026-10-26 09:25:05,769 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/09/25'
MAIN: 2026-10-26 09:25: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-10-26 09: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-10-26 09:26: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-10-26 09:26:06,401 - INFO - taking picture
MAIN: 2026-10-26 09:26:06,401 - INFO - we take 176 photos in this while loop
MAIN: 2026-10-26 09:26:06,401 - INFO - /home/pi/Desktop/images/26102026/09/25/image_26102026_09_26_05_60603.jpg
MAIN: 2026-10-26 09:26:06,401 - INFO - duration: 1.0298802460019942
MAIN: 2026-10-26 09:26:06,401 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:27: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-10-26 09:27:05,754 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 09:27:06,458 - INFO - taking picture
MAIN: 2026-10-26 09:27:06,458 - INFO - we take 177 photos in this while loop
MAIN: 2026-10-26 09:27:06,458 - INFO - /home/pi/Desktop/images/26102026/09/26/image_26102026_09_27_05_60110.jpg
MAIN: 2026-10-26 09:27:06,459 - INFO - duration: 0.976378086998011
MAIN: 2026-10-26 09:27:06,459 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:28:05,060 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 09:28: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-10-26 09:28:05,780 - INFO - taking picture
MAIN: 2026-10-26 09:28:05,780 - INFO - we take 178 photos in this while loop
MAIN: 2026-10-26 09:28:05,780 - INFO - /home/pi/Desktop/images/26102026/09/27/image_26102026_09_28_05_59318.jpg
MAIN: 2026-10-26 09:28:05,780 - INFO - duration: 0.9799693610002578
MAIN: 2026-10-26 09:28:05,781 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:29: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-10-26 09:29: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-10-26 09:29:06,201 - INFO - taking picture
MAIN: 2026-10-26 09:29:06,201 - INFO - we take 179 photos in this while loop
MAIN: 2026-10-26 09:29:06,202 - INFO - /home/pi/Desktop/images/26102026/09/28/image_26102026_09_29_05_60411.jpg
MAIN: 2026-10-26 09:29:06,202 - INFO - duration: 0.9899870320004993
MAIN: 2026-10-26 09:29:06,202 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:30: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-10-26 09:30:06,044 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:30:06,100 - INFO - taking picture
MAIN: 2026-10-26 09:30:06,100 - INFO - we take 180 photos in this while loop
MAIN: 2026-10-26 09:30:06,100 - INFO - /home/pi/Desktop/images/26102026/09/29/image_26102026_09_30_05_59810.jpg
MAIN: 2026-10-26 09:30:06,101 - INFO - duration: 1.0785085739989881
MAIN: 2026-10-26 09:30:06,101 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:31: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-10-26 09:31:05,634 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:31:06,180 - INFO - taking picture
MAIN: 2026-10-26 09:31:06,180 - INFO - we take 181 photos in this while loop
MAIN: 2026-10-26 09:31:06,180 - INFO - /home/pi/Desktop/images/26102026/09/30/image_26102026_09_31_05_60196.jpg
MAIN: 2026-10-26 09:31:06,180 - INFO - duration: 0.962019563998183
MAIN: 2026-10-26 09:31:06,181 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:32: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-10-26 09:32: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-10-26 09:32:06,536 - INFO - taking picture
MAIN: 2026-10-26 09:32:06,537 - INFO - we take 182 photos in this while loop
MAIN: 2026-10-26 09:32:06,537 - INFO - /home/pi/Desktop/images/26102026/09/31/image_26102026_09_32_05_60324.jpg
MAIN: 2026-10-26 09:32:06,537 - INFO - duration: 0.9940035580002586
MAIN: 2026-10-26 09:32:06,537 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:33:04,879 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:33: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-10-26 09:33:05,790 - INFO - taking picture
MAIN: 2026-10-26 09:33:05,790 - INFO - we take 183 photos in this while loop
MAIN: 2026-10-26 09:33:05,790 - INFO - /home/pi/Desktop/images/26102026/09/32/image_26102026_09_33_05_59273.jpg
MAIN: 2026-10-26 09:33:05,791 - INFO - duration: 0.9743922259985993
MAIN: 2026-10-26 09:33:05,791 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:34:05,486 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:34: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-10-26 09:34:06,547 - INFO - taking picture
MAIN: 2026-10-26 09:34:06,547 - INFO - we take 184 photos in this while loop
MAIN: 2026-10-26 09:34:06,547 - INFO - /home/pi/Desktop/images/26102026/09/33/image_26102026_09_34_05_60645.jpg
MAIN: 2026-10-26 09:34:06,547 - INFO - duration: 1.085190349000186
MAIN: 2026-10-26 09:34:06,548 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:35:05,637 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:35:06,119 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 09:35:06,878 - INFO - taking picture
MAIN: 2026-10-26 09:35:06,879 - INFO - we take 185 photos in this while loop
MAIN: 2026-10-26 09:35:06,879 - INFO - /home/pi/Desktop/images/26102026/09/34/image_26102026_09_35_06_60370.jpg
MAIN: 2026-10-26 09:35:06,879 - INFO - duration: 1.0463350560021354
MAIN: 2026-10-26 09:35:06,879 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:36: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-10-26 09:36:05,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-10-26 09:36:05,782 - INFO - taking picture
MAIN: 2026-10-26 09:36:05,783 - INFO - we take 186 photos in this while loop
MAIN: 2026-10-26 09:36:05,783 - INFO - /home/pi/Desktop/images/26102026/09/35/image_26102026_09_36_05_58991.jpg
MAIN: 2026-10-26 09:36:05,783 - INFO - duration: 0.9590575889997126
MAIN: 2026-10-26 09:36:05,783 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:37:04,992 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 09:37:05,685 - INFO - taking picture
MAIN: 2026-10-26 09:37:05,685 - INFO - we take 187 photos in this while loop
MAIN: 2026-10-26 09:37:05,685 - INFO - /home/pi/Desktop/images/26102026/09/36/image_26102026_09_37_04_59904.jpg
MAIN: 2026-10-26 09:37:05,685 - INFO - duration: 0.9565957260019786
MAIN: 2026-10-26 09:37:05,686 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/09/37'
MAIN: 2026-10-26 09:37:05,729 - 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-10-26 09:38: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

MAIN: 2026-10-26 09:38:05,072 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:38:05,612 - INFO - taking picture
MAIN: 2026-10-26 09:38:05,612 - INFO - we take 188 photos in this while loop
MAIN: 2026-10-26 09:38:05,612 - INFO - /home/pi/Desktop/images/26102026/09/37/image_26102026_09_38_04_59903.jpg
MAIN: 2026-10-26 09:38:05,612 - INFO - duration: 0.9802948180004023
MAIN: 2026-10-26 09:38:05,612 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:39:04,809 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:39: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-10-26 09:39:05,839 - INFO - taking picture
MAIN: 2026-10-26 09:39:05,839 - INFO - we take 189 photos in this while loop
MAIN: 2026-10-26 09:39:05,839 - INFO - /home/pi/Desktop/images/26102026/09/38/image_26102026_09_39_05_60267.jpg
MAIN: 2026-10-26 09:39:05,839 - INFO - duration: 0.939631028999429
MAIN: 2026-10-26 09:39:05,840 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/09/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-10-26 09:40: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-10-26 09: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 ! 
MAIN: 2026-10-26 09:40:06,217 - INFO - taking picture
MAIN: 2026-10-26 09:40:06,217 - INFO - we take 190 photos in this while loop
MAIN: 2026-10-26 09:40:06,217 - INFO - /home/pi/Desktop/images/26102026/09/39/image_26102026_09_40_05_60297.jpg
MAIN: 2026-10-26 09:40:06,217 - INFO - duration: 1.0203352839998843
MAIN: 2026-10-26 09:40:06,218 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/09/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-10-26 09:41:05,147 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:41:06,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-10-26 09:41:06,784 - INFO - taking picture
MAIN: 2026-10-26 09:41:06,784 - INFO - we take 191 photos in this while loop
MAIN: 2026-10-26 09:41:06,784 - INFO - /home/pi/Desktop/images/26102026/09/40/image_26102026_09_41_06_60599.jpg
MAIN: 2026-10-26 09:41:06,785 - INFO - duration: 0.9885869789977733
MAIN: 2026-10-26 09:41:06,785 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:42:05,218 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 09:42: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-10-26 09:42:05,948 - INFO - taking picture
MAIN: 2026-10-26 09:42:05,948 - INFO - we take 192 photos in this while loop
MAIN: 2026-10-26 09:42:05,948 - INFO - /home/pi/Desktop/images/26102026/09/41/image_26102026_09_42_05_59162.jpg
MAIN: 2026-10-26 09:42:05,948 - INFO - duration: 0.9895710729979328
MAIN: 2026-10-26 09:42:05,949 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:43:05,036 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 09:43:05,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-10-26 09:43:05,755 - INFO - taking picture
MAIN: 2026-10-26 09:43:05,755 - INFO - we take 193 photos in this while loop
MAIN: 2026-10-26 09:43:05,755 - INFO - /home/pi/Desktop/images/26102026/09/42/image_26102026_09_43_05_59807.jpg
MAIN: 2026-10-26 09:43:05,756 - INFO - duration: 0.9888645550017827
MAIN: 2026-10-26 09:43:05,756 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:44:04,970 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:44: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-10-26 09:44:05,785 - INFO - taking picture
MAIN: 2026-10-26 09:44:05,785 - INFO - we take 194 photos in this while loop
MAIN: 2026-10-26 09:44:05,785 - INFO - /home/pi/Desktop/images/26102026/09/43/image_26102026_09_44_05_60024.jpg
MAIN: 2026-10-26 09:44:05,785 - INFO - duration: 0.9943650280001748
MAIN: 2026-10-26 09:44:05,786 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:45: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-10-26 09:45:05,206 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 09:45:05,904 - INFO - taking picture
MAIN: 2026-10-26 09:45:05,905 - INFO - we take 195 photos in this while loop
MAIN: 2026-10-26 09:45:05,905 - INFO - /home/pi/Desktop/images/26102026/09/44/image_26102026_09_45_05_60181.jpg
MAIN: 2026-10-26 09:45:05,905 - INFO - duration: 0.9328357640006288
MAIN: 2026-10-26 09:45:05,905 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:46: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-10-26 09:46:05,542 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 09:46:06,248 - INFO - taking picture
MAIN: 2026-10-26 09:46:06,248 - INFO - we take 196 photos in this while loop
MAIN: 2026-10-26 09:46:06,249 - INFO - /home/pi/Desktop/images/26102026/09/45/image_26102026_09_46_05_60279.jpg
MAIN: 2026-10-26 09:46:06,249 - INFO - duration: 0.9971436000014364
MAIN: 2026-10-26 09:46:06,249 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:47: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-10-26 09:47:05,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-10-26 09:47:06,482 - INFO - taking picture
MAIN: 2026-10-26 09:47:06,482 - INFO - we take 197 photos in this while loop
MAIN: 2026-10-26 09:47:06,483 - INFO - /home/pi/Desktop/images/26102026/09/46/image_26102026_09_47_05_60313.jpg
MAIN: 2026-10-26 09:47:06,483 - INFO - duration: 0.9177723960019648
MAIN: 2026-10-26 09:47:06,483 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:48: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-10-26 09:48: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-10-26 09:48:06,632 - INFO - taking picture
MAIN: 2026-10-26 09:48:06,632 - INFO - we take 198 photos in this while loop
MAIN: 2026-10-26 09:48:06,632 - INFO - /home/pi/Desktop/images/26102026/09/47/image_26102026_09_48_05_60143.jpg
MAIN: 2026-10-26 09:48:06,632 - INFO - duration: 0.9231857419981679
MAIN: 2026-10-26 09:48:06,632 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:49: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-10-26 09:49: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-10-26 09:49:06,544 - INFO - taking picture
MAIN: 2026-10-26 09:49:06,545 - INFO - we take 199 photos in this while loop
MAIN: 2026-10-26 09:49:06,545 - INFO - /home/pi/Desktop/images/26102026/09/48/image_26102026_09_49_05_59913.jpg
MAIN: 2026-10-26 09:49:06,545 - INFO - duration: 0.9220107510009257
MAIN: 2026-10-26 09:49:06,545 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:50: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-10-26 09:50:06,007 - INFO - taking picture
MAIN: 2026-10-26 09:50:06,007 - INFO - we take 200 photos in this while loop
MAIN: 2026-10-26 09:50:06,007 - INFO - /home/pi/Desktop/images/26102026/09/49/image_26102026_09_50_05_59311.jpg
MAIN: 2026-10-26 09:50:06,008 - INFO - duration: 1.0729516380015411
MAIN: 2026-10-26 09:50:06,008 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/09/50'
MAIN: 2026-10-26 09:50:06,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 09:51: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-10-26 09:51:05,334 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 09:51:06,094 - INFO - taking picture
MAIN: 2026-10-26 09:51:06,094 - INFO - we take 201 photos in this while loop
MAIN: 2026-10-26 09:51:06,094 - INFO - /home/pi/Desktop/images/26102026/09/50/image_26102026_09_51_05_60149.jpg
MAIN: 2026-10-26 09:51:06,094 - INFO - duration: 1.010325481001928
MAIN: 2026-10-26 09:51:06,095 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:52: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-10-26 09:52:05,575 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 09:52:06,279 - INFO - taking picture
MAIN: 2026-10-26 09:52:06,279 - INFO - we take 202 photos in this while loop
MAIN: 2026-10-26 09:52:06,279 - INFO - /home/pi/Desktop/images/26102026/09/51/image_26102026_09_52_05_60266.jpg
MAIN: 2026-10-26 09:52:06,279 - INFO - duration: 0.9292647050024243
MAIN: 2026-10-26 09:52:06,280 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/09/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-10-26 09: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-10-26 09:53:05,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-10-26 09:53:06,614 - INFO - taking picture
MAIN: 2026-10-26 09:53:06,614 - INFO - we take 203 photos in this while loop
MAIN: 2026-10-26 09:53:06,615 - INFO - /home/pi/Desktop/images/26102026/09/52/image_26102026_09_53_05_60296.jpg
MAIN: 2026-10-26 09:53:06,615 - INFO - duration: 0.9682270509983937
MAIN: 2026-10-26 09:53:06,615 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:54: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-10-26 09:54:05,240 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:54:05,963 - INFO - taking picture
MAIN: 2026-10-26 09:54:05,964 - INFO - we take 204 photos in this while loop
MAIN: 2026-10-26 09:54:05,964 - INFO - /home/pi/Desktop/images/26102026/09/53/image_26102026_09_54_05_59205.jpg
MAIN: 2026-10-26 09:54:05,964 - INFO - duration: 1.1121087319988874
MAIN: 2026-10-26 09:54:05,964 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:55: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-10-26 09:55:05,685 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:55:06,303 - INFO - taking picture
MAIN: 2026-10-26 09:55:06,303 - INFO - we take 205 photos in this while loop
MAIN: 2026-10-26 09:55:06,303 - INFO - /home/pi/Desktop/images/26102026/09/54/image_26102026_09_55_05_60480.jpg
MAIN: 2026-10-26 09:55:06,304 - INFO - duration: 0.9717263060010737
MAIN: 2026-10-26 09:55:06,304 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:56: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-10-26 09:56:05,690 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:56:06,289 - INFO - taking picture
MAIN: 2026-10-26 09:56:06,290 - INFO - we take 206 photos in this while loop
MAIN: 2026-10-26 09:56:06,290 - INFO - /home/pi/Desktop/images/26102026/09/55/image_26102026_09_56_05_59978.jpg
MAIN: 2026-10-26 09:56:06,290 - INFO - duration: 0.9795567590008432
MAIN: 2026-10-26 09:56:06,290 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:57: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-10-26 09:57:05,703 - INFO - taking picture
MAIN: 2026-10-26 09:57:05,703 - INFO - we take 207 photos in this while loop
MAIN: 2026-10-26 09:57:05,703 - INFO - /home/pi/Desktop/images/26102026/09/56/image_26102026_09_57_04_59391.jpg
MAIN: 2026-10-26 09:57:05,704 - INFO - duration: 1.0013316020013008
MAIN: 2026-10-26 09:57:05,704 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/09/57'
MAIN: 2026-10-26 09:57: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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 09:58:04,994 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:58:05,722 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 09:58:06,586 - INFO - taking picture
MAIN: 2026-10-26 09:58:06,586 - INFO - we take 208 photos in this while loop
MAIN: 2026-10-26 09:58:06,587 - INFO - /home/pi/Desktop/images/26102026/09/57/image_26102026_09_58_05_60775.jpg
MAIN: 2026-10-26 09:58:06,587 - INFO - duration: 1.109180090999871
MAIN: 2026-10-26 09:58:06,587 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 09:59:04,709 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 09:59: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-10-26 09:59:06,750 - INFO - taking picture
MAIN: 2026-10-26 09:59:06,750 - INFO - we take 209 photos in this while loop
MAIN: 2026-10-26 09:59:06,750 - INFO - /home/pi/Desktop/images/26102026/09/58/image_26102026_09_59_06_60272.jpg
MAIN: 2026-10-26 09:59:06,750 - INFO - duration: 0.9998823930000071
MAIN: 2026-10-26 09:59:06,751 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/09/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-10-26 10:00:05,489 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 10:00:05,926 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:00:06,272 - INFO - taking picture
MAIN: 2026-10-26 10:00:06,272 - INFO - we take 210 photos in this while loop
MAIN: 2026-10-26 10:00:06,272 - INFO - /home/pi/Desktop/images/26102026/09/59/image_26102026_10_00_05_59468.jpg
MAIN: 2026-10-26 10:00:06,272 - INFO - duration: 1.053672693997214
MAIN: 2026-10-26 10:00:06,273 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/10/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-10-26 10:01: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-10-26 10:01:05,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-10-26 10:01:06,523 - INFO - taking picture
MAIN: 2026-10-26 10:01:06,523 - INFO - we take 211 photos in this while loop
MAIN: 2026-10-26 10:01:06,523 - INFO - /home/pi/Desktop/images/26102026/10/00/image_26102026_10_01_05_60301.jpg
MAIN: 2026-10-26 10:01:06,524 - INFO - duration: 1.0037414439975691
MAIN: 2026-10-26 10:01:06,524 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:02:04,825 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:02:05,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-10-26 10:02:06,686 - INFO - taking picture
MAIN: 2026-10-26 10:02:06,686 - INFO - we take 212 photos in this while loop
MAIN: 2026-10-26 10:02:06,686 - INFO - /home/pi/Desktop/images/26102026/10/01/image_26102026_10_02_05_60222.jpg
MAIN: 2026-10-26 10:02:06,686 - INFO - duration: 0.9436435779971362
MAIN: 2026-10-26 10:02:06,686 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:03:04,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 ! 
MAIN: 2026-10-26 10:03:06,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-10-26 10:03:06,733 - INFO - taking picture
MAIN: 2026-10-26 10:03:06,733 - INFO - we take 213 photos in this while loop
MAIN: 2026-10-26 10:03:06,733 - INFO - /home/pi/Desktop/images/26102026/10/02/image_26102026_10_03_06_60011.jpg
MAIN: 2026-10-26 10:03:06,733 - INFO - duration: 0.9799550630013982
MAIN: 2026-10-26 10:03:06,734 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:04: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-10-26 10:04:05,278 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:04:05,825 - INFO - taking picture
MAIN: 2026-10-26 10:04:05,825 - INFO - we take 214 photos in this while loop
MAIN: 2026-10-26 10:04:05,825 - INFO - /home/pi/Desktop/images/26102026/10/03/image_26102026_10_04_05_59058.jpg
MAIN: 2026-10-26 10:04:05,826 - INFO - duration: 1.0139749629997823
MAIN: 2026-10-26 10:04:05,826 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:05: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 ! 
MAIN: 2026-10-26 10:05: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-10-26 10:05:06,630 - INFO - taking picture
MAIN: 2026-10-26 10:05:06,630 - INFO - we take 215 photos in this while loop
MAIN: 2026-10-26 10:05:06,630 - INFO - /home/pi/Desktop/images/26102026/10/04/image_26102026_10_05_05_60712.jpg
MAIN: 2026-10-26 10:05:06,631 - INFO - duration: 1.1063020969995705
MAIN: 2026-10-26 10:05:06,631 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:06: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-10-26 10:06:05,642 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:06:06,006 - INFO - taking picture
MAIN: 2026-10-26 10:06:06,006 - INFO - we take 216 photos in this while loop
MAIN: 2026-10-26 10:06:06,006 - INFO - /home/pi/Desktop/images/26102026/10/05/image_26102026_10_06_05_59470.jpg
MAIN: 2026-10-26 10:06:06,006 - INFO - duration: 1.0112131579990091
MAIN: 2026-10-26 10:06:06,006 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:07:05,581 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:07: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-10-26 10:07:06,695 - INFO - taking picture
MAIN: 2026-10-26 10:07:06,695 - INFO - we take 217 photos in this while loop
MAIN: 2026-10-26 10:07:06,695 - INFO - /home/pi/Desktop/images/26102026/10/06/image_26102026_10_07_05_60742.jpg
MAIN: 2026-10-26 10:07:06,695 - INFO - duration: 0.9573565969985793
MAIN: 2026-10-26 10:07:06,695 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:08:04,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 ! 
MAIN: 2026-10-26 10:08:05,462 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 10:08:06,298 - INFO - taking picture
MAIN: 2026-10-26 10:08:06,298 - INFO - we take 218 photos in this while loop
MAIN: 2026-10-26 10:08:06,298 - INFO - /home/pi/Desktop/images/26102026/10/07/image_26102026_10_08_05_59491.jpg
MAIN: 2026-10-26 10:08:06,298 - INFO - duration: 1.0688360470012412
MAIN: 2026-10-26 10:08:06,298 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:09: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-10-26 10:09:05,142 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 10:09:05,860 - INFO - taking picture
MAIN: 2026-10-26 10:09:05,860 - INFO - we take 219 photos in this while loop
MAIN: 2026-10-26 10:09:05,860 - INFO - /home/pi/Desktop/images/26102026/10/08/image_26102026_10_09_05_59569.jpg
MAIN: 2026-10-26 10:09:05,860 - INFO - duration: 1.0616170310022426
MAIN: 2026-10-26 10:09:05,860 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:10:05,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-10-26 10:10:06,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-10-26 10:10:06,737 - INFO - taking picture
MAIN: 2026-10-26 10:10:06,737 - INFO - we take 220 photos in this while loop
MAIN: 2026-10-26 10:10:06,738 - INFO - /home/pi/Desktop/images/26102026/10/09/image_26102026_10_10_06_60982.jpg
MAIN: 2026-10-26 10:10:06,738 - INFO - duration: 0.9566007339999487
MAIN: 2026-10-26 10:10:06,738 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:11: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-10-26 10:11:06,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-10-26 10:11:06,801 - INFO - taking picture
MAIN: 2026-10-26 10:11:06,801 - INFO - we take 221 photos in this while loop
MAIN: 2026-10-26 10:11:06,801 - INFO - /home/pi/Desktop/images/26102026/10/10/image_26102026_10_11_06_60038.jpg
MAIN: 2026-10-26 10:11:06,801 - INFO - duration: 0.982182092997391
MAIN: 2026-10-26 10:11:06,802 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:12: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-10-26 10:12: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-10-26 10:12:05,830 - INFO - taking picture
MAIN: 2026-10-26 10:12:05,830 - INFO - we take 222 photos in this while loop
MAIN: 2026-10-26 10:12:05,830 - INFO - /home/pi/Desktop/images/26102026/10/11/image_26102026_10_12_05_59009.jpg
MAIN: 2026-10-26 10:12:05,830 - INFO - duration: 1.001793927000108
MAIN: 2026-10-26 10:12:05,831 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:13: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-10-26 10:13:05,728 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 10:13:06,433 - INFO - taking picture
MAIN: 2026-10-26 10:13:06,433 - INFO - we take 223 photos in this while loop
MAIN: 2026-10-26 10:13:06,434 - INFO - /home/pi/Desktop/images/26102026/10/12/image_26102026_10_13_05_60654.jpg
MAIN: 2026-10-26 10:13:06,434 - INFO - duration: 0.9509865059990261
MAIN: 2026-10-26 10:13:06,434 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:14: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-10-26 10:14: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-10-26 10:14:05,832 - INFO - taking picture
MAIN: 2026-10-26 10:14:05,832 - INFO - we take 224 photos in this while loop
MAIN: 2026-10-26 10:14:05,833 - INFO - /home/pi/Desktop/images/26102026/10/13/image_26102026_10_14_05_59380.jpg
MAIN: 2026-10-26 10:14:05,833 - INFO - duration: 0.9692665010006749
MAIN: 2026-10-26 10:14:05,833 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:15:05,306 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:15: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-10-26 10:15:06,615 - INFO - taking picture
MAIN: 2026-10-26 10:15:06,615 - INFO - we take 225 photos in this while loop
MAIN: 2026-10-26 10:15:06,615 - INFO - /home/pi/Desktop/images/26102026/10/14/image_26102026_10_15_05_60772.jpg
MAIN: 2026-10-26 10:15:06,616 - INFO - duration: 0.979123843000707
MAIN: 2026-10-26 10:15:06,616 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:16: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-10-26 10:16: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-10-26 10:16:06,058 - INFO - taking picture
MAIN: 2026-10-26 10:16:06,058 - INFO - we take 226 photos in this while loop
MAIN: 2026-10-26 10:16:06,059 - INFO - /home/pi/Desktop/images/26102026/10/15/image_26102026_10_16_05_59406.jpg
MAIN: 2026-10-26 10:16:06,059 - INFO - duration: 1.0156708270005765
MAIN: 2026-10-26 10:16:06,059 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:17: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-10-26 10:17: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-10-26 10:17:06,613 - INFO - taking picture
MAIN: 2026-10-26 10:17:06,613 - INFO - we take 227 photos in this while loop
MAIN: 2026-10-26 10:17:06,613 - INFO - /home/pi/Desktop/images/26102026/10/16/image_26102026_10_17_05_60631.jpg
MAIN: 2026-10-26 10:17:06,614 - INFO - duration: 0.9386593300005188
MAIN: 2026-10-26 10:17:06,614 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:18: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-10-26 10:18: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-10-26 10:18:06,170 - INFO - taking picture
MAIN: 2026-10-26 10:18:06,171 - INFO - we take 228 photos in this while loop
MAIN: 2026-10-26 10:18:06,171 - INFO - /home/pi/Desktop/images/26102026/10/17/image_26102026_10_18_05_59378.jpg
MAIN: 2026-10-26 10:18:06,171 - INFO - duration: 1.1174007349982276
MAIN: 2026-10-26 10:18:06,171 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:19: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-10-26 10:19:06,031 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 10:19:06,770 - INFO - taking picture
MAIN: 2026-10-26 10:19:06,770 - INFO - we take 229 photos in this while loop
MAIN: 2026-10-26 10:19:06,770 - INFO - /home/pi/Desktop/images/26102026/10/18/image_26102026_10_19_06_60755.jpg
MAIN: 2026-10-26 10:19:06,770 - INFO - duration: 0.9612997049989644
MAIN: 2026-10-26 10:19:06,771 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:20:05,224 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 10:20:05,967 - INFO - taking picture
MAIN: 2026-10-26 10:20:05,968 - INFO - we take 230 photos in this while loop
MAIN: 2026-10-26 10:20:05,968 - INFO - /home/pi/Desktop/images/26102026/10/19/image_26102026_10_20_05_59174.jpg
MAIN: 2026-10-26 10:20:05,968 - INFO - duration: 0.9846351250016596
MAIN: 2026-10-26 10:20:05,968 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/10/20'
MAIN: 2026-10-26 10:20:06,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 10:21:04,739 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:21: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-10-26 10:21:06,251 - INFO - taking picture
MAIN: 2026-10-26 10:21:06,251 - INFO - we take 231 photos in this while loop
MAIN: 2026-10-26 10:21:06,251 - INFO - /home/pi/Desktop/images/26102026/10/20/image_26102026_10_21_05_60296.jpg
MAIN: 2026-10-26 10:21:06,252 - INFO - duration: 0.9714583399982075
MAIN: 2026-10-26 10:21:06,252 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:22:05,403 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:22:05,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-10-26 10:22:06,564 - INFO - taking picture
MAIN: 2026-10-26 10:22:06,564 - INFO - we take 232 photos in this while loop
MAIN: 2026-10-26 10:22:06,564 - INFO - /home/pi/Desktop/images/26102026/10/21/image_26102026_10_22_05_60273.jpg
MAIN: 2026-10-26 10:22:06,565 - INFO - duration: 1.0106341120008437
MAIN: 2026-10-26 10:22:06,565 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:23:05,032 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 10: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-10-26 10:23:05,757 - INFO - taking picture
MAIN: 2026-10-26 10:23:05,757 - INFO - we take 233 photos in this while loop
MAIN: 2026-10-26 10:23:05,757 - INFO - /home/pi/Desktop/images/26102026/10/22/image_26102026_10_23_05_59229.jpg
MAIN: 2026-10-26 10:23:05,757 - INFO - duration: 0.974234034998517
MAIN: 2026-10-26 10:23:05,758 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:24:05,096 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 10:24: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-10-26 10:24:05,871 - INFO - taking picture
MAIN: 2026-10-26 10:24:05,872 - INFO - we take 234 photos in this while loop
MAIN: 2026-10-26 10:24:05,872 - INFO - /home/pi/Desktop/images/26102026/10/23/image_26102026_10_24_05_60030.jpg
MAIN: 2026-10-26 10:24:05,872 - INFO - duration: 1.0583345710001595
MAIN: 2026-10-26 10:24:05,872 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:25: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-10-26 10:25:06,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-10-26 10:25:06,758 - INFO - taking picture
MAIN: 2026-10-26 10:25:06,758 - INFO - we take 235 photos in this while loop
MAIN: 2026-10-26 10:25:06,758 - INFO - /home/pi/Desktop/images/26102026/10/24/image_26102026_10_25_06_60956.jpg
MAIN: 2026-10-26 10:25:06,758 - INFO - duration: 0.9886253090007813
MAIN: 2026-10-26 10:25:06,759 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:26:05,467 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 10:26: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-10-26 10:26:06,205 - INFO - taking picture
MAIN: 2026-10-26 10:26:06,205 - INFO - we take 236 photos in this while loop
MAIN: 2026-10-26 10:26:06,205 - INFO - /home/pi/Desktop/images/26102026/10/25/image_26102026_10_26_05_59434.jpg
MAIN: 2026-10-26 10:26:06,205 - INFO - duration: 1.0009305870007665
MAIN: 2026-10-26 10:26:06,205 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:27:04,634 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:27:04,980 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 10:27:05,765 - INFO - taking picture
MAIN: 2026-10-26 10:27:05,765 - INFO - we take 237 photos in this while loop
MAIN: 2026-10-26 10:27:05,766 - INFO - /home/pi/Desktop/images/26102026/10/26/image_26102026_10_27_04_59491.jpg
MAIN: 2026-10-26 10:27:05,766 - INFO - duration: 1.0698106729978463
MAIN: 2026-10-26 10:27:05,766 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:28: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-10-26 10:28: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-10-26 10:28:06,734 - INFO - taking picture
MAIN: 2026-10-26 10:28:06,735 - INFO - we take 238 photos in this while loop
MAIN: 2026-10-26 10:28:06,735 - INFO - /home/pi/Desktop/images/26102026/10/27/image_26102026_10_28_05_60952.jpg
MAIN: 2026-10-26 10:28:06,735 - INFO - duration: 1.0861015380032768
MAIN: 2026-10-26 10:28:06,735 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:29: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-10-26 10:29: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-10-26 10:29:06,115 - INFO - taking picture
MAIN: 2026-10-26 10:29:06,115 - INFO - we take 239 photos in this while loop
MAIN: 2026-10-26 10:29:06,115 - INFO - /home/pi/Desktop/images/26102026/10/28/image_26102026_10_29_05_59505.jpg
MAIN: 2026-10-26 10:29:06,115 - INFO - duration: 0.9606792370032053
MAIN: 2026-10-26 10:29:06,116 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/10/29'
MAIN: 2026-10-26 10:30:04,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

[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 10:30:05,696 - INFO - taking picture
MAIN: 2026-10-26 10:30:05,696 - INFO - we take 240 photos in this while loop
MAIN: 2026-10-26 10:30:05,697 - INFO - /home/pi/Desktop/images/26102026/10/29/image_26102026_10_30_04_59529.jpg
MAIN: 2026-10-26 10:30:05,697 - INFO - duration: 1.0122042849980062
MAIN: 2026-10-26 10:30:05,697 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/10/30'
MAIN: 2026-10-26 10:30:05,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 10:31:05,432 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 10:31: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-10-26 10:31:06,139 - INFO - taking picture
MAIN: 2026-10-26 10:31:06,139 - INFO - we take 241 photos in this while loop
MAIN: 2026-10-26 10:31:06,139 - INFO - /home/pi/Desktop/images/26102026/10/30/image_26102026_10_31_05_60461.jpg
MAIN: 2026-10-26 10:31:06,139 - INFO - duration: 0.9937073149994831
MAIN: 2026-10-26 10:31:06,140 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:32: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-10-26 10:32:05,970 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:32:06,403 - INFO - taking picture
MAIN: 2026-10-26 10:32:06,403 - INFO - we take 242 photos in this while loop
MAIN: 2026-10-26 10:32:06,403 - INFO - /home/pi/Desktop/images/26102026/10/31/image_26102026_10_32_05_60232.jpg
MAIN: 2026-10-26 10:32:06,403 - INFO - duration: 1.024939409999206
MAIN: 2026-10-26 10:32:06,404 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:33:04,631 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:33:05,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-10-26 10:33:06,763 - INFO - taking picture
MAIN: 2026-10-26 10:33:06,764 - INFO - we take 243 photos in this while loop
MAIN: 2026-10-26 10:33:06,764 - INFO - /home/pi/Desktop/images/26102026/10/32/image_26102026_10_33_05_60316.jpg
MAIN: 2026-10-26 10:33:06,764 - INFO - duration: 1.0694811429966649
MAIN: 2026-10-26 10:33:06,764 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:34: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-10-26 10:34: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-10-26 10:34:05,991 - INFO - taking picture
MAIN: 2026-10-26 10:34:05,991 - INFO - we take 244 photos in this while loop
MAIN: 2026-10-26 10:34:05,991 - INFO - /home/pi/Desktop/images/26102026/10/33/image_26102026_10_34_05_59296.jpg
MAIN: 2026-10-26 10:34:05,991 - INFO - duration: 1.0004811879989575
MAIN: 2026-10-26 10:34:05,991 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/10/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-10-26 10:35: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-10-26 10:35: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-10-26 10:35:06,582 - INFO - taking picture
MAIN: 2026-10-26 10:35:06,583 - INFO - we take 245 photos in this while loop
MAIN: 2026-10-26 10:35:06,583 - INFO - /home/pi/Desktop/images/26102026/10/34/image_26102026_10_35_05_60626.jpg
MAIN: 2026-10-26 10:35:06,583 - INFO - duration: 0.9652962830004981
MAIN: 2026-10-26 10:35:06,583 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:36: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-10-26 10:36:05,471 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:36:06,017 - INFO - taking picture
MAIN: 2026-10-26 10:36:06,018 - INFO - we take 246 photos in this while loop
MAIN: 2026-10-26 10:36:06,018 - INFO - /home/pi/Desktop/images/26102026/10/35/image_26102026_10_36_05_59346.jpg
MAIN: 2026-10-26 10:36:06,018 - INFO - duration: 1.053928992998408
MAIN: 2026-10-26 10:36:06,018 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:37:05,381 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:37: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-10-26 10:37:06,493 - INFO - taking picture
MAIN: 2026-10-26 10:37:06,493 - INFO - we take 247 photos in this while loop
MAIN: 2026-10-26 10:37:06,493 - INFO - /home/pi/Desktop/images/26102026/10/36/image_26102026_10_37_05_60599.jpg
MAIN: 2026-10-26 10:37:06,493 - INFO - duration: 0.9294079229985073
MAIN: 2026-10-26 10:37:06,494 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:38:04,982 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:38:06,123 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 10:38:06,851 - INFO - taking picture
MAIN: 2026-10-26 10:38:06,851 - INFO - we take 248 photos in this while loop
MAIN: 2026-10-26 10:38:06,851 - INFO - /home/pi/Desktop/images/26102026/10/37/image_26102026_10_38_06_60277.jpg
MAIN: 2026-10-26 10:38:06,851 - INFO - duration: 1.0095157220021065
MAIN: 2026-10-26 10:38:06,852 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:39:04,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-10-26 10:39: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-10-26 10:39:06,120 - INFO - taking picture
MAIN: 2026-10-26 10:39:06,121 - INFO - we take 249 photos in this while loop
MAIN: 2026-10-26 10:39:06,121 - INFO - /home/pi/Desktop/images/26102026/10/38/image_26102026_10_39_05_59315.jpg
MAIN: 2026-10-26 10:39:06,121 - INFO - duration: 0.963185083001008
MAIN: 2026-10-26 10:39:06,121 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:40:04,924 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 10:40:05,678 - INFO - taking picture
MAIN: 2026-10-26 10:40:05,678 - INFO - we take 250 photos in this while loop
MAIN: 2026-10-26 10:40:05,678 - INFO - /home/pi/Desktop/images/26102026/10/39/image_26102026_10_40_04_59502.jpg
MAIN: 2026-10-26 10:40:05,678 - INFO - duration: 1.0183303339981649
MAIN: 2026-10-26 10:40:05,679 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/10/40'
MAIN: 2026-10-26 10:40:05,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 10:41:05,454 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:41:05,946 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 10:41:06,704 - INFO - taking picture
MAIN: 2026-10-26 10:41:06,704 - INFO - we take 251 photos in this while loop
MAIN: 2026-10-26 10:41:06,704 - INFO - /home/pi/Desktop/images/26102026/10/40/image_26102026_10_41_05_61052.jpg
MAIN: 2026-10-26 10:41:06,705 - INFO - duration: 0.9922607759981474
MAIN: 2026-10-26 10:41:06,705 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:42: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-10-26 10:42: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-10-26 10:42:06,736 - INFO - taking picture
MAIN: 2026-10-26 10:42:06,736 - INFO - we take 252 photos in this while loop
MAIN: 2026-10-26 10:42:06,736 - INFO - /home/pi/Desktop/images/26102026/10/41/image_26102026_10_42_05_60010.jpg
MAIN: 2026-10-26 10:42:06,736 - INFO - duration: 1.0138037700016866
MAIN: 2026-10-26 10:42:06,737 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/10/42'
MAIN: 2026-10-26 10:43:04,875 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=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-10-26 10:43:05,606 - INFO - taking picture
MAIN: 2026-10-26 10:43:05,607 - INFO - we take 253 photos in this while loop
MAIN: 2026-10-26 10:43:05,607 - INFO - /home/pi/Desktop/images/26102026/10/42/image_26102026_10_43_04_58930.jpg
MAIN: 2026-10-26 10:43:05,607 - INFO - duration: 0.953959976999613
MAIN: 2026-10-26 10:43:05,607 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/10/43'
MAIN: 2026-10-26 10:43:06,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 10:44:05,032 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:44: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-10-26 10:44:05,785 - INFO - taking picture
MAIN: 2026-10-26 10:44:05,786 - INFO - we take 254 photos in this while loop
MAIN: 2026-10-26 10:44:05,786 - INFO - /home/pi/Desktop/images/26102026/10/43/image_26102026_10_44_05_60152.jpg
MAIN: 2026-10-26 10:44:05,786 - INFO - duration: 0.9804667519965733
MAIN: 2026-10-26 10:44:05,786 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:45: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-10-26 10:45:05,403 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:45:05,983 - INFO - taking picture
MAIN: 2026-10-26 10:45:05,984 - INFO - we take 255 photos in this while loop
MAIN: 2026-10-26 10:45:05,984 - INFO - /home/pi/Desktop/images/26102026/10/44/image_26102026_10_45_05_60158.jpg
MAIN: 2026-10-26 10:45:05,984 - INFO - duration: 1.0204087189995334
MAIN: 2026-10-26 10:45:05,984 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:46: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-10-26 10:46: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-10-26 10:46:06,166 - INFO - taking picture
MAIN: 2026-10-26 10:46:06,166 - INFO - we take 256 photos in this while loop
MAIN: 2026-10-26 10:46:06,166 - INFO - /home/pi/Desktop/images/26102026/10/45/image_26102026_10_46_05_60230.jpg
MAIN: 2026-10-26 10:46:06,166 - INFO - duration: 0.9719334139990679
MAIN: 2026-10-26 10:46:06,167 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:47: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-10-26 10:47:05,421 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:47:06,095 - INFO - taking picture
MAIN: 2026-10-26 10:47:06,095 - INFO - we take 257 photos in this while loop
MAIN: 2026-10-26 10:47:06,095 - INFO - /home/pi/Desktop/images/26102026/10/46/image_26102026_10_47_05_59919.jpg
MAIN: 2026-10-26 10:47:06,096 - INFO - duration: 0.9815609979996225
MAIN: 2026-10-26 10:47:06,096 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:48:05,540 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 10:48: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-10-26 10:48:06,262 - INFO - taking picture
MAIN: 2026-10-26 10:48:06,262 - INFO - we take 258 photos in this while loop
MAIN: 2026-10-26 10:48:06,262 - INFO - /home/pi/Desktop/images/26102026/10/47/image_26102026_10_48_05_60170.jpg
MAIN: 2026-10-26 10:48:06,262 - INFO - duration: 0.9778819099992688
MAIN: 2026-10-26 10:48:06,262 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:49:04,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-10-26 10:49:05,782 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 10:49:06,543 - INFO - taking picture
MAIN: 2026-10-26 10:49:06,543 - INFO - we take 259 photos in this while loop
MAIN: 2026-10-26 10:49:06,543 - INFO - /home/pi/Desktop/images/26102026/10/48/image_26102026_10_49_05_60230.jpg
MAIN: 2026-10-26 10:49:06,543 - INFO - duration: 1.0289085600015824
MAIN: 2026-10-26 10:49:06,544 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:50: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-10-26 10:50:06,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-10-26 10:50:06,780 - INFO - taking picture
MAIN: 2026-10-26 10:50:06,780 - INFO - we take 260 photos in this while loop
MAIN: 2026-10-26 10:50:06,780 - INFO - /home/pi/Desktop/images/26102026/10/49/image_26102026_10_50_06_60220.jpg
MAIN: 2026-10-26 10:50:06,780 - INFO - duration: 1.0452592219990038
MAIN: 2026-10-26 10:50:06,780 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:51: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-10-26 10:51:04,991 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:51:05,638 - INFO - taking picture
MAIN: 2026-10-26 10:51:05,638 - INFO - we take 261 photos in this while loop
MAIN: 2026-10-26 10:51:05,638 - INFO - /home/pi/Desktop/images/26102026/10/50/image_26102026_10_51_04_58924.jpg
MAIN: 2026-10-26 10:51:05,638 - INFO - duration: 0.9790509919985197
MAIN: 2026-10-26 10:51:05,639 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:52: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-10-26 10:52:05,170 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:52:05,855 - INFO - taking picture
MAIN: 2026-10-26 10:52:05,855 - INFO - we take 262 photos in this while loop
MAIN: 2026-10-26 10:52:05,855 - INFO - /home/pi/Desktop/images/26102026/10/51/image_26102026_10_52_05_60118.jpg
MAIN: 2026-10-26 10:52:05,855 - INFO - duration: 1.078095533001033
MAIN: 2026-10-26 10:52:05,856 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:53: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-10-26 10:53: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-10-26 10:53:06,383 - INFO - taking picture
MAIN: 2026-10-26 10:53:06,384 - INFO - we take 263 photos in this while loop
MAIN: 2026-10-26 10:53:06,384 - INFO - /home/pi/Desktop/images/26102026/10/52/image_26102026_10_53_05_60552.jpg
MAIN: 2026-10-26 10:53:06,384 - INFO - duration: 1.0535948899996583
MAIN: 2026-10-26 10:53:06,384 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:54:05,581 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:54:05,808 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 10:54:06,580 - INFO - taking picture
MAIN: 2026-10-26 10:54:06,580 - INFO - we take 264 photos in this while loop
MAIN: 2026-10-26 10:54:06,581 - INFO - /home/pi/Desktop/images/26102026/10/53/image_26102026_10_54_05_60170.jpg
MAIN: 2026-10-26 10:54:06,581 - INFO - duration: 1.0798493559996132
MAIN: 2026-10-26 10:54:06,581 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:55:05,318 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 10:55:06,126 - INFO - taking picture
MAIN: 2026-10-26 10:55:06,126 - INFO - we take 265 photos in this while loop
MAIN: 2026-10-26 10:55:06,126 - INFO - /home/pi/Desktop/images/26102026/10/54/image_26102026_10_55_05_59529.jpg
MAIN: 2026-10-26 10:55:06,127 - INFO - duration: 1.0958441900002072
MAIN: 2026-10-26 10:55:06,127 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/10/55'
MAIN: 2026-10-26 10:55:06,221 - 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-10-26 10: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-10-26 10:56:05,196 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 10:56:05,910 - INFO - taking picture
MAIN: 2026-10-26 10:56:05,910 - INFO - we take 266 photos in this while loop
MAIN: 2026-10-26 10:56:05,911 - INFO - /home/pi/Desktop/images/26102026/10/55/image_26102026_10_56_05_59859.jpg
MAIN: 2026-10-26 10:56:05,911 - INFO - duration: 1.0205205519996525
MAIN: 2026-10-26 10:56:05,911 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:57:04,984 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:57:05,753 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 10:57:06,467 - INFO - taking picture
MAIN: 2026-10-26 10:57:06,467 - INFO - we take 267 photos in this while loop
MAIN: 2026-10-26 10:57:06,467 - INFO - /home/pi/Desktop/images/26102026/10/56/image_26102026_10_57_05_60579.jpg
MAIN: 2026-10-26 10:57:06,467 - INFO - duration: 0.9973381019990484
MAIN: 2026-10-26 10:57:06,467 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:58: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-10-26 10:58: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-10-26 10:58:05,879 - INFO - taking picture
MAIN: 2026-10-26 10:58:05,879 - INFO - we take 268 photos in this while loop
MAIN: 2026-10-26 10:58:05,879 - INFO - /home/pi/Desktop/images/26102026/10/57/image_26102026_10_58_05_59376.jpg
MAIN: 2026-10-26 10:58:05,879 - INFO - duration: 1.0335061160003534
MAIN: 2026-10-26 10:58:05,880 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 10:59:05,426 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 10:59:05,880 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 10:59:06,589 - INFO - taking picture
MAIN: 2026-10-26 10:59:06,590 - INFO - we take 269 photos in this while loop
MAIN: 2026-10-26 10:59:06,590 - INFO - /home/pi/Desktop/images/26102026/10/58/image_26102026_10_59_05_60790.jpg
MAIN: 2026-10-26 10:59:06,590 - INFO - duration: 0.9537930139995296
MAIN: 2026-10-26 10:59:06,590 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:00:05,540 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 11:00: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-10-26 11:00:06,264 - INFO - taking picture
MAIN: 2026-10-26 11:00:06,264 - INFO - we take 270 photos in this while loop
MAIN: 2026-10-26 11:00:06,264 - INFO - /home/pi/Desktop/images/26102026/10/59/image_26102026_11_00_05_59619.jpg
MAIN: 2026-10-26 11:00:06,264 - INFO - duration: 1.0085969159990782
MAIN: 2026-10-26 11:00:06,265 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:01: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-10-26 11:01: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-10-26 11:01:05,709 - INFO - taking picture
MAIN: 2026-10-26 11:01:05,709 - INFO - we take 271 photos in this while loop
MAIN: 2026-10-26 11:01:05,710 - INFO - /home/pi/Desktop/images/26102026/11/00/image_26102026_11_01_04_59476.jpg
MAIN: 2026-10-26 11:01:05,710 - INFO - duration: 0.9778866120032035
MAIN: 2026-10-26 11:01:05,710 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:02: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-10-26 11:02: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-10-26 11:02:06,419 - INFO - taking picture
MAIN: 2026-10-26 11:02:06,420 - INFO - we take 272 photos in this while loop
MAIN: 2026-10-26 11:02:06,420 - INFO - /home/pi/Desktop/images/26102026/11/01/image_26102026_11_02_05_60680.jpg
MAIN: 2026-10-26 11:02:06,420 - INFO - duration: 1.007497599999624
MAIN: 2026-10-26 11:02:06,420 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:03:05,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-10-26 11:03: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-10-26 11:03:05,728 - INFO - taking picture
MAIN: 2026-10-26 11:03:05,728 - INFO - we take 273 photos in this while loop
MAIN: 2026-10-26 11:03:05,728 - INFO - /home/pi/Desktop/images/26102026/11/02/image_26102026_11_03_05_59333.jpg
MAIN: 2026-10-26 11:03:05,729 - INFO - duration: 0.9824230650010577
MAIN: 2026-10-26 11:03:05,729 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:04: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-10-26 11:04: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-10-26 11:04:06,234 - INFO - taking picture
MAIN: 2026-10-26 11:04:06,234 - INFO - we take 274 photos in this while loop
MAIN: 2026-10-26 11:04:06,234 - INFO - /home/pi/Desktop/images/26102026/11/03/image_26102026_11_04_05_60553.jpg
MAIN: 2026-10-26 11:04:06,234 - INFO - duration: 0.9342077590008557
MAIN: 2026-10-26 11:04:06,234 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:05: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-10-26 11:05: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-10-26 11:05:05,696 - INFO - taking picture
MAIN: 2026-10-26 11:05:05,697 - INFO - we take 275 photos in this while loop
MAIN: 2026-10-26 11:05:05,697 - INFO - /home/pi/Desktop/images/26102026/11/04/image_26102026_11_05_04_59421.jpg
MAIN: 2026-10-26 11:05:05,697 - INFO - duration: 0.9758249299993622
MAIN: 2026-10-26 11:05:05,697 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/11/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-10-26 11:06:05,464 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 11:06: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-10-26 11:06:06,479 - INFO - taking picture
MAIN: 2026-10-26 11:06:06,479 - INFO - we take 276 photos in this while loop
MAIN: 2026-10-26 11:06:06,479 - INFO - /home/pi/Desktop/images/26102026/11/05/image_26102026_11_06_05_60815.jpg
MAIN: 2026-10-26 11:06:06,479 - INFO - duration: 0.9426627739994728
MAIN: 2026-10-26 11:06:06,479 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/11/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-10-26 11:07: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-10-26 11:07:05,299 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 11:07:06,012 - INFO - taking picture
MAIN: 2026-10-26 11:07:06,013 - INFO - we take 277 photos in this while loop
MAIN: 2026-10-26 11:07:06,013 - INFO - /home/pi/Desktop/images/26102026/11/06/image_26102026_11_07_05_59475.jpg
MAIN: 2026-10-26 11:07:06,013 - INFO - duration: 1.0009362290002173
MAIN: 2026-10-26 11:07:06,013 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/11/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-10-26 11:08: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-10-26 11:08:05,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-10-26 11:08:06,675 - INFO - taking picture
MAIN: 2026-10-26 11:08:06,676 - INFO - we take 278 photos in this while loop
MAIN: 2026-10-26 11:08:06,676 - INFO - /home/pi/Desktop/images/26102026/11/07/image_26102026_11_08_05_60660.jpg
MAIN: 2026-10-26 11:08:06,676 - INFO - duration: 1.0035148170027242
MAIN: 2026-10-26 11:08:06,676 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:09:04,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 ! 
MAIN: 2026-10-26 11:09:05,334 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 11:09:06,035 - INFO - taking picture
MAIN: 2026-10-26 11:09:06,035 - INFO - we take 279 photos in this while loop
MAIN: 2026-10-26 11:09:06,036 - INFO - /home/pi/Desktop/images/26102026/11/08/image_26102026_11_09_05_59394.jpg
MAIN: 2026-10-26 11:09:06,036 - INFO - duration: 0.9687077700000373
MAIN: 2026-10-26 11:09:06,036 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:10:05,425 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 11:10:06,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-10-26 11:10:06,705 - INFO - taking picture
MAIN: 2026-10-26 11:10:06,705 - INFO - we take 280 photos in this while loop
MAIN: 2026-10-26 11:10:06,705 - INFO - /home/pi/Desktop/images/26102026/11/09/image_26102026_11_10_06_60707.jpg
MAIN: 2026-10-26 11:10:06,705 - INFO - duration: 0.9309969009991619
MAIN: 2026-10-26 11:10:06,706 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:11:04,929 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 11:11: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-10-26 11:11:05,901 - INFO - taking picture
MAIN: 2026-10-26 11:11:05,902 - INFO - we take 281 photos in this while loop
MAIN: 2026-10-26 11:11:05,902 - INFO - /home/pi/Desktop/images/26102026/11/10/image_26102026_11_11_05_59175.jpg
MAIN: 2026-10-26 11:11:05,902 - INFO - duration: 0.9515520549975918
MAIN: 2026-10-26 11:11:05,902 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:12: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-10-26 11:12: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-10-26 11:12:05,986 - INFO - taking picture
MAIN: 2026-10-26 11:12:05,986 - INFO - we take 282 photos in this while loop
MAIN: 2026-10-26 11:12:05,986 - INFO - /home/pi/Desktop/images/26102026/11/11/image_26102026_11_12_05_60054.jpg
MAIN: 2026-10-26 11:12:05,987 - INFO - duration: 0.9815153290001035
MAIN: 2026-10-26 11:12:05,987 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:13:05,460 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 11:13: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-10-26 11:13:06,657 - INFO - taking picture
MAIN: 2026-10-26 11:13:06,657 - INFO - we take 283 photos in this while loop
MAIN: 2026-10-26 11:13:06,657 - INFO - /home/pi/Desktop/images/26102026/11/12/image_26102026_11_13_05_60732.jpg
MAIN: 2026-10-26 11:13:06,657 - INFO - duration: 0.9198576589988079
MAIN: 2026-10-26 11:13:06,657 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:14:05,075 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 11:14:05,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-10-26 11:14:05,780 - INFO - taking picture
MAIN: 2026-10-26 11:14:05,780 - INFO - we take 284 photos in this while loop
MAIN: 2026-10-26 11:14:05,781 - INFO - /home/pi/Desktop/images/26102026/11/13/image_26102026_11_14_05_59086.jpg
MAIN: 2026-10-26 11:14:05,781 - INFO - duration: 0.9573326499994437
MAIN: 2026-10-26 11:14:05,781 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:15: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-10-26 11:15:05,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-10-26 11:15:06,261 - INFO - taking picture
MAIN: 2026-10-26 11:15:06,261 - INFO - we take 285 photos in this while loop
MAIN: 2026-10-26 11:15:06,261 - INFO - /home/pi/Desktop/images/26102026/11/14/image_26102026_11_15_05_60460.jpg
MAIN: 2026-10-26 11:15:06,261 - INFO - duration: 0.9769943480023358
MAIN: 2026-10-26 11:15:06,261 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:16: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-10-26 11:16: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-10-26 11:16:06,540 - INFO - taking picture
MAIN: 2026-10-26 11:16:06,540 - INFO - we take 286 photos in this while loop
MAIN: 2026-10-26 11:16:06,540 - INFO - /home/pi/Desktop/images/26102026/11/15/image_26102026_11_16_05_60320.jpg
MAIN: 2026-10-26 11:16:06,541 - INFO - duration: 0.9360607890012034
MAIN: 2026-10-26 11:16:06,541 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:17: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-10-26 11:17:06,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-10-26 11:17:06,779 - INFO - taking picture
MAIN: 2026-10-26 11:17:06,780 - INFO - we take 287 photos in this while loop
MAIN: 2026-10-26 11:17:06,780 - INFO - /home/pi/Desktop/images/26102026/11/16/image_26102026_11_17_06_60217.jpg
MAIN: 2026-10-26 11:17:06,780 - INFO - duration: 0.9580773140005476
MAIN: 2026-10-26 11:17:06,780 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:18:04,866 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 11:18: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-10-26 11:18:05,563 - INFO - taking picture
MAIN: 2026-10-26 11:18:05,563 - INFO - we take 288 photos in this while loop
MAIN: 2026-10-26 11:18:05,564 - INFO - /home/pi/Desktop/images/26102026/11/17/image_26102026_11_18_04_58821.jpg
MAIN: 2026-10-26 11:18:05,564 - INFO - duration: 0.9202274989984289
MAIN: 2026-10-26 11:18:05,564 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:19:05,208 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 11:19:06,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-10-26 11:19:06,793 - INFO - taking picture
MAIN: 2026-10-26 11:19:06,793 - INFO - we take 289 photos in this while loop
MAIN: 2026-10-26 11:19:06,794 - INFO - /home/pi/Desktop/images/26102026/11/18/image_26102026_11_19_06_61204.jpg
MAIN: 2026-10-26 11:19:06,794 - INFO - duration: 0.9458928179992654
MAIN: 2026-10-26 11:19:06,794 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:20: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-10-26 11:20:05,913 - INFO - taking picture
MAIN: 2026-10-26 11:20:05,913 - INFO - we take 290 photos in this while loop
MAIN: 2026-10-26 11:20:05,913 - INFO - /home/pi/Desktop/images/26102026/11/19/image_26102026_11_20_05_59009.jpg
MAIN: 2026-10-26 11:20:05,913 - INFO - duration: 1.0561689290007052
MAIN: 2026-10-26 11:20:05,914 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/11/20'
MAIN: 2026-10-26 11:20: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-10-26 11:21: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-10-26 11:21: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-10-26 11:21:05,889 - INFO - taking picture
MAIN: 2026-10-26 11:21:05,889 - INFO - we take 291 photos in this while loop
MAIN: 2026-10-26 11:21:05,890 - INFO - /home/pi/Desktop/images/26102026/11/20/image_26102026_11_21_05_60068.jpg
MAIN: 2026-10-26 11:21:05,890 - INFO - duration: 0.9639190880006936
MAIN: 2026-10-26 11:21:05,890 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:22:04,995 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 11:22:05,381 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 11:22:06,079 - INFO - taking picture
MAIN: 2026-10-26 11:22:06,079 - INFO - we take 292 photos in this while loop
MAIN: 2026-10-26 11:22:06,079 - INFO - /home/pi/Desktop/images/26102026/11/21/image_26102026_11_22_05_60232.jpg
MAIN: 2026-10-26 11:22:06,080 - INFO - duration: 0.9208253690012498
MAIN: 2026-10-26 11:22:06,080 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:23: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-10-26 11:23:05,358 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 11:23:06,048 - INFO - taking picture
MAIN: 2026-10-26 11:23:06,049 - INFO - we take 293 photos in this while loop
MAIN: 2026-10-26 11:23:06,049 - INFO - /home/pi/Desktop/images/26102026/11/22/image_26102026_11_23_05_59917.jpg
MAIN: 2026-10-26 11:23:06,049 - INFO - duration: 0.9731725060009921
MAIN: 2026-10-26 11:23:06,049 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:24:05,017 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 11:24:05,387 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 11:24:06,085 - INFO - taking picture
MAIN: 2026-10-26 11:24:06,085 - INFO - we take 294 photos in this while loop
MAIN: 2026-10-26 11:24:06,085 - INFO - /home/pi/Desktop/images/26102026/11/23/image_26102026_11_24_05_60047.jpg
MAIN: 2026-10-26 11:24:06,085 - INFO - duration: 0.9615132819999417
MAIN: 2026-10-26 11:24:06,086 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:25:05,516 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 11:25: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 ! 
MAIN: 2026-10-26 11:25:06,212 - INFO - taking picture
MAIN: 2026-10-26 11:25:06,212 - INFO - we take 295 photos in this while loop
MAIN: 2026-10-26 11:25:06,212 - INFO - /home/pi/Desktop/images/26102026/11/24/image_26102026_11_25_05_60161.jpg
MAIN: 2026-10-26 11:25:06,212 - INFO - duration: 0.9264290530009021
MAIN: 2026-10-26 11:25:06,213 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:26: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-10-26 11:26:05,653 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 11:26:06,319 - INFO - taking picture
MAIN: 2026-10-26 11:26:06,319 - INFO - we take 296 photos in this while loop
MAIN: 2026-10-26 11:26:06,319 - INFO - /home/pi/Desktop/images/26102026/11/25/image_26102026_11_26_05_59976.jpg
MAIN: 2026-10-26 11:26:06,319 - INFO - duration: 1.056989764001628
MAIN: 2026-10-26 11:26:06,320 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:27: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-10-26 11:27: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-10-26 11:27:06,295 - INFO - taking picture
MAIN: 2026-10-26 11:27:06,296 - INFO - we take 297 photos in this while loop
MAIN: 2026-10-26 11:27:06,296 - INFO - /home/pi/Desktop/images/26102026/11/26/image_26102026_11_27_05_60032.jpg
MAIN: 2026-10-26 11:27:06,296 - INFO - duration: 1.0008635030026198
MAIN: 2026-10-26 11:27:06,296 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:28: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-10-26 11:28: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 ! 
MAIN: 2026-10-26 11:28:06,594 - INFO - taking picture
MAIN: 2026-10-26 11:28:06,594 - INFO - we take 298 photos in this while loop
MAIN: 2026-10-26 11:28:06,594 - INFO - /home/pi/Desktop/images/26102026/11/27/image_26102026_11_28_05_60220.jpg
MAIN: 2026-10-26 11:28:06,594 - INFO - duration: 1.0783398970015696
MAIN: 2026-10-26 11:28:06,595 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:29: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-10-26 11:29:05,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-10-26 11:29:06,662 - INFO - taking picture
MAIN: 2026-10-26 11:29:06,662 - INFO - we take 299 photos in this while loop
MAIN: 2026-10-26 11:29:06,662 - INFO - /home/pi/Desktop/images/26102026/11/28/image_26102026_11_29_05_60176.jpg
MAIN: 2026-10-26 11:29:06,662 - INFO - duration: 0.9700174719982897
MAIN: 2026-10-26 11:29:06,662 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:30: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-10-26 11:30:05,534 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 11:30:05,709 - INFO - taking picture
MAIN: 2026-10-26 11:30:05,709 - INFO - we take 300 photos in this while loop
MAIN: 2026-10-26 11:30:05,709 - INFO - /home/pi/Desktop/images/26102026/11/29/image_26102026_11_30_04_58964.jpg
MAIN: 2026-10-26 11:30:05,710 - INFO - duration: 1.0530059540033108
MAIN: 2026-10-26 11:30:05,710 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:31: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-10-26 11:31: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-10-26 11:31:05,603 - INFO - taking picture
MAIN: 2026-10-26 11:31:05,603 - INFO - we take 301 photos in this while loop
MAIN: 2026-10-26 11:31:05,603 - INFO - /home/pi/Desktop/images/26102026/11/30/image_26102026_11_31_04_59978.jpg
MAIN: 2026-10-26 11:31:05,603 - INFO - duration: 0.967767399000877
MAIN: 2026-10-26 11:31:05,604 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/11/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-10-26 11:32: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-10-26 11:32:05,494 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 11:32:05,645 - INFO - taking picture
MAIN: 2026-10-26 11:32:05,645 - INFO - we take 302 photos in this while loop
MAIN: 2026-10-26 11:32:05,645 - INFO - /home/pi/Desktop/images/26102026/11/31/image_26102026_11_32_04_60081.jpg
MAIN: 2026-10-26 11:32:05,645 - INFO - duration: 0.9278595249998034
MAIN: 2026-10-26 11:32:05,645 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/11/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-10-26 11:33:05,009 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 11:33: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-10-26 11:33:05,727 - INFO - taking picture
MAIN: 2026-10-26 11:33:05,727 - INFO - we take 303 photos in this while loop
MAIN: 2026-10-26 11:33:05,727 - INFO - /home/pi/Desktop/images/26102026/11/32/image_26102026_11_33_05_60038.jpg
MAIN: 2026-10-26 11:33:05,728 - INFO - duration: 0.971641219999583
MAIN: 2026-10-26 11:33:05,728 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:34: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-10-26 11:34:05,730 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 11:34:05,900 - INFO - taking picture
MAIN: 2026-10-26 11:34:05,900 - INFO - we take 304 photos in this while loop
MAIN: 2026-10-26 11:34:05,900 - INFO - /home/pi/Desktop/images/26102026/11/33/image_26102026_11_34_05_60132.jpg
MAIN: 2026-10-26 11:34:05,900 - INFO - duration: 1.0120114689998445
MAIN: 2026-10-26 11:34:05,901 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:35:04,868 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 11:35: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-10-26 11:35:06,460 - INFO - taking picture
MAIN: 2026-10-26 11:35:06,461 - INFO - we take 305 photos in this while loop
MAIN: 2026-10-26 11:35:06,461 - INFO - /home/pi/Desktop/images/26102026/11/34/image_26102026_11_35_05_60500.jpg
MAIN: 2026-10-26 11:35:06,461 - INFO - duration: 1.0725800169966533
MAIN: 2026-10-26 11:35:06,461 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/11/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-10-26 11:36:05,130 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 11:36:05,861 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 11:36:06,633 - INFO - taking picture
MAIN: 2026-10-26 11:36:06,633 - INFO - we take 306 photos in this while loop
MAIN: 2026-10-26 11:36:06,633 - INFO - /home/pi/Desktop/images/26102026/11/35/image_26102026_11_36_05_60216.jpg
MAIN: 2026-10-26 11:36:06,633 - INFO - duration: 1.0283621230009885
MAIN: 2026-10-26 11:36:06,634 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:37: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-10-26 11: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-10-26 11:37:05,690 - INFO - taking picture
MAIN: 2026-10-26 11:37:05,690 - INFO - we take 307 photos in this while loop
MAIN: 2026-10-26 11:37:05,690 - INFO - /home/pi/Desktop/images/26102026/11/36/image_26102026_11_37_04_59106.jpg
MAIN: 2026-10-26 11:37:05,690 - INFO - duration: 0.9793305269995471
MAIN: 2026-10-26 11:37:05,691 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:38: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-10-26 11:38: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-10-26 11:38:05,998 - INFO - taking picture
MAIN: 2026-10-26 11:38:05,999 - INFO - we take 308 photos in this while loop
MAIN: 2026-10-26 11:38:05,999 - INFO - /home/pi/Desktop/images/26102026/11/37/image_26102026_11_38_05_60282.jpg
MAIN: 2026-10-26 11:38:05,999 - INFO - duration: 1.0053640639998775
MAIN: 2026-10-26 11:38:05,999 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:39:05,426 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 11:39: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-10-26 11:39:06,745 - INFO - taking picture
MAIN: 2026-10-26 11:39:06,746 - INFO - we take 309 photos in this while loop
MAIN: 2026-10-26 11:39:06,746 - INFO - /home/pi/Desktop/images/26102026/11/38/image_26102026_11_39_05_60710.jpg
MAIN: 2026-10-26 11:39:06,746 - INFO - duration: 1.0419204389982042
MAIN: 2026-10-26 11:39:06,746 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/11/39'
MAIN: 2026-10-26 11:40: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

[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 11:40:05,992 - INFO - taking picture
MAIN: 2026-10-26 11:40:05,992 - INFO - we take 310 photos in this while loop
MAIN: 2026-10-26 11:40:05,993 - INFO - /home/pi/Desktop/images/26102026/11/39/image_26102026_11_40_05_59295.jpg
MAIN: 2026-10-26 11:40:05,993 - INFO - duration: 0.992958061000536
MAIN: 2026-10-26 11:40:05,993 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/11/40'
MAIN: 2026-10-26 11:40:06,403 - 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-10-26 11:41:04,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-10-26 11:41:05,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-10-26 11:41:06,642 - INFO - taking picture
MAIN: 2026-10-26 11:41:06,642 - INFO - we take 311 photos in this while loop
MAIN: 2026-10-26 11:41:06,642 - INFO - /home/pi/Desktop/images/26102026/11/40/image_26102026_11_41_05_60678.jpg
MAIN: 2026-10-26 11:41:06,642 - INFO - duration: 0.9637892440005089
MAIN: 2026-10-26 11:41:06,643 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:42: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-10-26 11:42: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-10-26 11:42:05,928 - INFO - taking picture
MAIN: 2026-10-26 11:42:05,928 - INFO - we take 312 photos in this while loop
MAIN: 2026-10-26 11:42:05,928 - INFO - /home/pi/Desktop/images/26102026/11/41/image_26102026_11_42_05_59262.jpg
MAIN: 2026-10-26 11:42:05,929 - INFO - duration: 0.9874098519976542
MAIN: 2026-10-26 11:42:05,929 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:43:05,435 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 11:43: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-10-26 11:43:06,627 - INFO - taking picture
MAIN: 2026-10-26 11:43:06,627 - INFO - we take 313 photos in this while loop
MAIN: 2026-10-26 11:43:06,627 - INFO - /home/pi/Desktop/images/26102026/11/42/image_26102026_11_43_05_60752.jpg
MAIN: 2026-10-26 11:43:06,627 - INFO - duration: 0.9340374200000952
MAIN: 2026-10-26 11:43:06,628 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/11/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-10-26 11:44: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-10-26 11:44: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-10-26 11:44:06,064 - INFO - taking picture
MAIN: 2026-10-26 11:44:06,064 - INFO - we take 314 photos in this while loop
MAIN: 2026-10-26 11:44:06,064 - INFO - /home/pi/Desktop/images/26102026/11/43/image_26102026_11_44_05_59370.jpg
MAIN: 2026-10-26 11:44:06,064 - INFO - duration: 1.0003364820004208
MAIN: 2026-10-26 11:44:06,064 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:45: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-10-26 11:45:05,740 - INFO - taking picture
MAIN: 2026-10-26 11:45:05,741 - INFO - we take 315 photos in this while loop
MAIN: 2026-10-26 11:45:05,741 - INFO - /home/pi/Desktop/images/26102026/11/44/image_26102026_11_45_05_59699.jpg
MAIN: 2026-10-26 11:45:05,741 - INFO - duration: 0.9772275949981122
MAIN: 2026-10-26 11:45:05,741 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/11/45'
MAIN: 2026-10-26 11:45: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-10-26 11:46:04,970 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 11:46:05,360 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 11:46:06,129 - INFO - taking picture
MAIN: 2026-10-26 11:46:06,130 - INFO - we take 316 photos in this while loop
MAIN: 2026-10-26 11:46:06,130 - INFO - /home/pi/Desktop/images/26102026/11/45/image_26102026_11_46_05_60340.jpg
MAIN: 2026-10-26 11:46:06,130 - INFO - duration: 1.0254058629980136
MAIN: 2026-10-26 11:46:06,130 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:47: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-10-26 11:47: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-10-26 11:47:06,502 - INFO - taking picture
MAIN: 2026-10-26 11:47:06,502 - INFO - we take 317 photos in this while loop
MAIN: 2026-10-26 11:47:06,502 - INFO - /home/pi/Desktop/images/26102026/11/46/image_26102026_11_47_05_60481.jpg
MAIN: 2026-10-26 11:47:06,502 - INFO - duration: 0.9164277359996049
MAIN: 2026-10-26 11:47:06,503 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:48: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-10-26 11:48: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-10-26 11:48:06,548 - INFO - taking picture
MAIN: 2026-10-26 11:48:06,549 - INFO - we take 318 photos in this while loop
MAIN: 2026-10-26 11:48:06,549 - INFO - /home/pi/Desktop/images/26102026/11/47/image_26102026_11_48_05_60011.jpg
MAIN: 2026-10-26 11:48:06,549 - INFO - duration: 0.9511367930026609
MAIN: 2026-10-26 11:48:06,549 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:49: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-10-26 11:49: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-10-26 11:49:06,629 - INFO - taking picture
MAIN: 2026-10-26 11:49:06,630 - INFO - we take 319 photos in this while loop
MAIN: 2026-10-26 11:49:06,630 - INFO - /home/pi/Desktop/images/26102026/11/48/image_26102026_11_49_05_60119.jpg
MAIN: 2026-10-26 11:49:06,630 - INFO - duration: 0.9128675699976156
MAIN: 2026-10-26 11:49:06,630 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:50:04,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-10-26 11:50: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-10-26 11:50:05,680 - INFO - taking picture
MAIN: 2026-10-26 11:50:05,680 - INFO - we take 320 photos in this while loop
MAIN: 2026-10-26 11:50:05,680 - INFO - /home/pi/Desktop/images/26102026/11/49/image_26102026_11_50_04_58928.jpg
MAIN: 2026-10-26 11:50:05,680 - INFO - duration: 1.0352332029979152
MAIN: 2026-10-26 11:50:05,681 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:51: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-10-26 11:51:06,150 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 11:51:06,841 - INFO - taking picture
MAIN: 2026-10-26 11:51:06,841 - INFO - we take 321 photos in this while loop
MAIN: 2026-10-26 11:51:06,841 - INFO - /home/pi/Desktop/images/26102026/11/50/image_26102026_11_51_06_61207.jpg
MAIN: 2026-10-26 11:51:06,841 - INFO - duration: 0.9890537110004516
MAIN: 2026-10-26 11:51:06,842 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:52: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-10-26 11:52:05,604 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 11:52:05,744 - INFO - taking picture
MAIN: 2026-10-26 11:52:05,744 - INFO - we take 322 photos in this while loop
MAIN: 2026-10-26 11:52:05,744 - INFO - /home/pi/Desktop/images/26102026/11/51/image_26102026_11_52_04_58853.jpg
MAIN: 2026-10-26 11:52:05,744 - INFO - duration: 1.0390069280001626
MAIN: 2026-10-26 11:52:05,745 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:53: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-10-26 11:53:05,288 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 11:53:05,826 - INFO - taking picture
MAIN: 2026-10-26 11:53:05,826 - INFO - we take 323 photos in this while loop
MAIN: 2026-10-26 11:53:05,826 - INFO - /home/pi/Desktop/images/26102026/11/52/image_26102026_11_53_05_60168.jpg
MAIN: 2026-10-26 11:53:05,826 - INFO - duration: 0.9523970250011189
MAIN: 2026-10-26 11:53:05,826 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:54: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-10-26 11:54: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 ! 
MAIN: 2026-10-26 11:54:05,624 - INFO - taking picture
MAIN: 2026-10-26 11:54:05,625 - INFO - we take 324 photos in this while loop
MAIN: 2026-10-26 11:54:05,625 - INFO - /home/pi/Desktop/images/26102026/11/53/image_26102026_11_54_04_59790.jpg
MAIN: 2026-10-26 11:54:05,625 - INFO - duration: 0.9612235019994841
MAIN: 2026-10-26 11:54:05,626 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/11/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-10-26 11:55: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-10-26 11:55: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-10-26 11:55:05,939 - INFO - taking picture
MAIN: 2026-10-26 11:55:05,940 - INFO - we take 325 photos in this while loop
MAIN: 2026-10-26 11:55:05,940 - INFO - /home/pi/Desktop/images/26102026/11/54/image_26102026_11_55_05_60342.jpg
MAIN: 2026-10-26 11:55:05,940 - INFO - duration: 0.9330535660010355
MAIN: 2026-10-26 11:55:05,940 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/11/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-10-26 11:56:04,963 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 11:56:05,301 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 11:56:05,998 - INFO - taking picture
MAIN: 2026-10-26 11:56:05,998 - INFO - we take 326 photos in this while loop
MAIN: 2026-10-26 11:56:05,998 - INFO - /home/pi/Desktop/images/26102026/11/55/image_26102026_11_56_05_60066.jpg
MAIN: 2026-10-26 11:56:05,998 - INFO - duration: 0.9252293219979038
MAIN: 2026-10-26 11:56:05,998 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:57:05,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 ! 
MAIN: 2026-10-26 11:57: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-10-26 11:57:06,400 - INFO - taking picture
MAIN: 2026-10-26 11:57:06,400 - INFO - we take 327 photos in this while loop
MAIN: 2026-10-26 11:57:06,400 - INFO - /home/pi/Desktop/images/26102026/11/56/image_26102026_11_57_05_60302.jpg
MAIN: 2026-10-26 11:57:06,401 - INFO - duration: 1.0251483540014306
MAIN: 2026-10-26 11:57:06,401 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:58: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-10-26 11:58: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-10-26 11:58:06,518 - INFO - taking picture
MAIN: 2026-10-26 11:58:06,519 - INFO - we take 328 photos in this while loop
MAIN: 2026-10-26 11:58:06,519 - INFO - /home/pi/Desktop/images/26102026/11/57/image_26102026_11_58_05_60209.jpg
MAIN: 2026-10-26 11:58:06,519 - INFO - duration: 0.9338989470015804
MAIN: 2026-10-26 11:58:06,519 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 11:59: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-10-26 11:59: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-10-26 11:59:06,597 - INFO - taking picture
MAIN: 2026-10-26 11:59:06,597 - INFO - we take 329 photos in this while loop
MAIN: 2026-10-26 11:59:06,597 - INFO - /home/pi/Desktop/images/26102026/11/58/image_26102026_11_59_05_60047.jpg
MAIN: 2026-10-26 11:59:06,598 - INFO - duration: 0.9648358820013527
MAIN: 2026-10-26 11:59:06,598 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/11/59'
MAIN: 2026-10-26 12:00:05,093 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=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-10-26 12:00:05,838 - INFO - taking picture
MAIN: 2026-10-26 12:00:05,839 - INFO - we take 330 photos in this while loop
MAIN: 2026-10-26 12:00:05,839 - INFO - /home/pi/Desktop/images/26102026/11/59/image_26102026_12_00_05_59226.jpg
MAIN: 2026-10-26 12:00:05,839 - INFO - duration: 0.9795320849989366
MAIN: 2026-10-26 12:00:05,839 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/12/00'
MAIN: 2026-10-26 12:00:06,136 - 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-10-26 12:01:04,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-10-26 12:01:05,306 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:01:06,111 - INFO - taking picture
MAIN: 2026-10-26 12:01:06,112 - INFO - we take 331 photos in this while loop
MAIN: 2026-10-26 12:01:06,112 - INFO - /home/pi/Desktop/images/26102026/12/00/image_26102026_12_01_05_60222.jpg
MAIN: 2026-10-26 12:01:06,112 - INFO - duration: 1.0302459109989286
MAIN: 2026-10-26 12:01:06,112 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:02: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-10-26 12:02:05,372 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:02:06,074 - INFO - taking picture
MAIN: 2026-10-26 12:02:06,075 - INFO - we take 332 photos in this while loop
MAIN: 2026-10-26 12:02:06,075 - INFO - /home/pi/Desktop/images/26102026/12/01/image_26102026_12_02_05_60001.jpg
MAIN: 2026-10-26 12:02:06,075 - INFO - duration: 0.9920197559986264
MAIN: 2026-10-26 12:02:06,075 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/12/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-10-26 12:03:05,155 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:03: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-10-26 12:03:06,384 - INFO - taking picture
MAIN: 2026-10-26 12:03:06,385 - INFO - we take 333 photos in this while loop
MAIN: 2026-10-26 12:03:06,385 - INFO - /home/pi/Desktop/images/26102026/12/02/image_26102026_12_03_05_60351.jpg
MAIN: 2026-10-26 12:03:06,385 - INFO - duration: 0.9504267599986633
MAIN: 2026-10-26 12:03:06,385 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:04: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-10-26 12:04:06,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-10-26 12:04:06,754 - INFO - taking picture
MAIN: 2026-10-26 12:04:06,755 - INFO - we take 334 photos in this while loop
MAIN: 2026-10-26 12:04:06,755 - INFO - /home/pi/Desktop/images/26102026/12/03/image_26102026_12_04_06_60366.jpg
MAIN: 2026-10-26 12:04:06,755 - INFO - duration: 0.9543089889994008
MAIN: 2026-10-26 12:04:06,755 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:05:05,318 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:05:06,050 - INFO - taking picture
MAIN: 2026-10-26 12:05:06,050 - INFO - we take 335 photos in this while loop
MAIN: 2026-10-26 12:05:06,050 - INFO - /home/pi/Desktop/images/26102026/12/04/image_26102026_12_05_05_59263.jpg
MAIN: 2026-10-26 12:05:06,050 - INFO - duration: 0.9854244970010768
MAIN: 2026-10-26 12:05:06,050 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/12/05'
MAIN: 2026-10-26 12:05:06,111 - 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-10-26 12:06:05,248 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:06:05,578 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:06:06,276 - INFO - taking picture
MAIN: 2026-10-26 12:06:06,276 - INFO - we take 336 photos in this while loop
MAIN: 2026-10-26 12:06:06,276 - INFO - /home/pi/Desktop/images/26102026/12/05/image_26102026_12_06_05_60254.jpg
MAIN: 2026-10-26 12:06:06,276 - INFO - duration: 0.9575787089997903
MAIN: 2026-10-26 12:06:06,277 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:07: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-10-26 12:07:05,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-10-26 12:07:06,527 - INFO - taking picture
MAIN: 2026-10-26 12:07:06,527 - INFO - we take 337 photos in this while loop
MAIN: 2026-10-26 12:07:06,527 - INFO - /home/pi/Desktop/images/26102026/12/06/image_26102026_12_07_05_60251.jpg
MAIN: 2026-10-26 12:07:06,527 - INFO - duration: 0.9566122969990829
MAIN: 2026-10-26 12:07:06,528 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:08: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-10-26 12:08: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-10-26 12:08:06,638 - INFO - taking picture
MAIN: 2026-10-26 12:08:06,638 - INFO - we take 338 photos in this while loop
MAIN: 2026-10-26 12:08:06,638 - INFO - /home/pi/Desktop/images/26102026/12/07/image_26102026_12_08_05_60103.jpg
MAIN: 2026-10-26 12:08:06,638 - INFO - duration: 0.9640337180026108
MAIN: 2026-10-26 12:08:06,639 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:09: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-10-26 12:09:06,136 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:09:06,828 - INFO - taking picture
MAIN: 2026-10-26 12:09:06,829 - INFO - we take 339 photos in this while loop
MAIN: 2026-10-26 12:09:06,829 - INFO - /home/pi/Desktop/images/26102026/12/08/image_26102026_12_09_06_60171.jpg
MAIN: 2026-10-26 12:09:06,829 - INFO - duration: 0.9832419189988286
MAIN: 2026-10-26 12:09:06,829 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:10: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-10-26 12:10:05,844 - INFO - taking picture
MAIN: 2026-10-26 12:10:05,845 - INFO - we take 340 photos in this while loop
MAIN: 2026-10-26 12:10:05,845 - INFO - /home/pi/Desktop/images/26102026/12/09/image_26102026_12_10_05_58988.jpg
MAIN: 2026-10-26 12:10:05,845 - INFO - duration: 1.0110770820028847
MAIN: 2026-10-26 12:10:05,845 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/12/10'
MAIN: 2026-10-26 12:10:05,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 12:11:05,300 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:11: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-10-26 12:11:06,016 - INFO - taking picture
MAIN: 2026-10-26 12:11:06,017 - INFO - we take 341 photos in this while loop
MAIN: 2026-10-26 12:11:06,017 - INFO - /home/pi/Desktop/images/26102026/12/10/image_26102026_12_11_05_60204.jpg
MAIN: 2026-10-26 12:11:06,017 - INFO - duration: 0.9784737949994451
MAIN: 2026-10-26 12:11:06,017 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:12: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-10-26 12:12:05,813 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:12:05,983 - INFO - taking picture
MAIN: 2026-10-26 12:12:05,983 - INFO - we take 342 photos in this while loop
MAIN: 2026-10-26 12:12:05,983 - INFO - /home/pi/Desktop/images/26102026/12/11/image_26102026_12_12_05_59968.jpg
MAIN: 2026-10-26 12:12:05,983 - INFO - duration: 0.9760685920009564
MAIN: 2026-10-26 12:12:05,983 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:13:04,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-10-26 12:13:05,306 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:13:05,999 - INFO - taking picture
MAIN: 2026-10-26 12:13:06,000 - INFO - we take 343 photos in this while loop
MAIN: 2026-10-26 12:13:06,000 - INFO - /home/pi/Desktop/images/26102026/12/12/image_26102026_12_13_05_60076.jpg
MAIN: 2026-10-26 12:13:06,000 - INFO - duration: 0.9166710489989782
MAIN: 2026-10-26 12:13:06,000 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:14:05,202 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:14: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-10-26 12:14:05,901 - INFO - taking picture
MAIN: 2026-10-26 12:14:05,902 - INFO - we take 344 photos in this while loop
MAIN: 2026-10-26 12:14:05,902 - INFO - /home/pi/Desktop/images/26102026/12/13/image_26102026_12_14_05_59849.jpg
MAIN: 2026-10-26 12:14:05,902 - INFO - duration: 0.9690074099999038
MAIN: 2026-10-26 12:14:05,902 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:15: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-10-26 12:15:05,463 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:15:05,868 - INFO - taking picture
MAIN: 2026-10-26 12:15:05,868 - INFO - we take 345 photos in this while loop
MAIN: 2026-10-26 12:15:05,868 - INFO - /home/pi/Desktop/images/26102026/12/14/image_26102026_12_15_05_59973.jpg
MAIN: 2026-10-26 12:15:05,869 - INFO - duration: 0.9622136199977831
MAIN: 2026-10-26 12:15:05,869 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:16: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-10-26 12:16:05,590 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:16:05,988 - INFO - taking picture
MAIN: 2026-10-26 12:16:05,988 - INFO - we take 346 photos in this while loop
MAIN: 2026-10-26 12:16:05,989 - INFO - /home/pi/Desktop/images/26102026/12/15/image_26102026_12_16_05_60127.jpg
MAIN: 2026-10-26 12:16:05,989 - INFO - duration: 0.9546779490010522
MAIN: 2026-10-26 12:16:05,989 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:17:05,313 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:17: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-10-26 12:17:06,010 - INFO - taking picture
MAIN: 2026-10-26 12:17:06,010 - INFO - we take 347 photos in this while loop
MAIN: 2026-10-26 12:17:06,011 - INFO - /home/pi/Desktop/images/26102026/12/16/image_26102026_12_17_05_60015.jpg
MAIN: 2026-10-26 12:17:06,011 - INFO - duration: 0.9608156490030524
MAIN: 2026-10-26 12:17:06,011 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:18:05,499 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:18:05,900 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:18:06,224 - INFO - taking picture
MAIN: 2026-10-26 12:18:06,225 - INFO - we take 348 photos in this while loop
MAIN: 2026-10-26 12:18:06,225 - INFO - /home/pi/Desktop/images/26102026/12/17/image_26102026_12_18_05_60154.jpg
MAIN: 2026-10-26 12:18:06,225 - INFO - duration: 1.0209997599995404
MAIN: 2026-10-26 12:18:06,225 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/12/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-10-26 12:19:04,795 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:19: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-10-26 12:19:06,436 - INFO - taking picture
MAIN: 2026-10-26 12:19:06,436 - INFO - we take 349 photos in this while loop
MAIN: 2026-10-26 12:19:06,436 - INFO - /home/pi/Desktop/images/26102026/12/18/image_26102026_12_19_05_60260.jpg
MAIN: 2026-10-26 12:19:06,436 - INFO - duration: 0.9722097810008563
MAIN: 2026-10-26 12:19:06,437 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/12/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-10-26 12:20:05,779 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:20:06,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-10-26 12:20:06,860 - INFO - taking picture
MAIN: 2026-10-26 12:20:06,861 - INFO - we take 350 photos in this while loop
MAIN: 2026-10-26 12:20:06,861 - INFO - /home/pi/Desktop/images/26102026/12/19/image_26102026_12_20_06_60377.jpg
MAIN: 2026-10-26 12:20:06,861 - INFO - duration: 1.0195517290012504
MAIN: 2026-10-26 12:20:06,861 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/12/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-10-26 12:21:05,331 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:21:05,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-10-26 12:21:06,493 - INFO - taking picture
MAIN: 2026-10-26 12:21:06,494 - INFO - we take 351 photos in this while loop
MAIN: 2026-10-26 12:21:06,494 - INFO - /home/pi/Desktop/images/26102026/12/20/image_26102026_12_21_05_59738.jpg
MAIN: 2026-10-26 12:21:06,494 - INFO - duration: 0.9139914789993782
MAIN: 2026-10-26 12:21:06,494 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:22:05,708 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:22:05,875 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:22:06,570 - INFO - taking picture
MAIN: 2026-10-26 12:22:06,570 - INFO - we take 352 photos in this while loop
MAIN: 2026-10-26 12:22:06,570 - INFO - /home/pi/Desktop/images/26102026/12/21/image_26102026_12_22_05_59999.jpg
MAIN: 2026-10-26 12:22:06,571 - INFO - duration: 0.9911812600003032
MAIN: 2026-10-26 12:22:06,571 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:23: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-10-26 12:23:06,077 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:23:06,872 - INFO - taking picture
MAIN: 2026-10-26 12:23:06,872 - INFO - we take 353 photos in this while loop
MAIN: 2026-10-26 12:23:06,872 - INFO - /home/pi/Desktop/images/26102026/12/22/image_26102026_12_23_06_60272.jpg
MAIN: 2026-10-26 12:23:06,872 - INFO - duration: 1.0202001979996567
MAIN: 2026-10-26 12:23:06,873 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:24: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-10-26 12:24:05,254 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:24:05,947 - INFO - taking picture
MAIN: 2026-10-26 12:24:05,947 - INFO - we take 354 photos in this while loop
MAIN: 2026-10-26 12:24:05,947 - INFO - /home/pi/Desktop/images/26102026/12/23/image_26102026_12_24_05_59175.jpg
MAIN: 2026-10-26 12:24:05,948 - INFO - duration: 0.9197004829984508
MAIN: 2026-10-26 12:24:05,948 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:25:05,301 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:25:05,593 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:25:05,998 - INFO - taking picture
MAIN: 2026-10-26 12:25:05,998 - INFO - we take 355 photos in this while loop
MAIN: 2026-10-26 12:25:05,998 - INFO - /home/pi/Desktop/images/26102026/12/24/image_26102026_12_25_05_60049.jpg
MAIN: 2026-10-26 12:25:05,998 - INFO - duration: 0.9213925969997945
MAIN: 2026-10-26 12:25:05,999 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:26:05,393 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:26:05,475 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:26:06,092 - INFO - taking picture
MAIN: 2026-10-26 12:26:06,092 - INFO - we take 356 photos in this while loop
MAIN: 2026-10-26 12:26:06,092 - INFO - /home/pi/Desktop/images/26102026/12/25/image_26102026_12_26_05_60058.jpg
MAIN: 2026-10-26 12:26:06,092 - INFO - duration: 0.9565341550005542
MAIN: 2026-10-26 12:26:06,092 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:27: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-10-26 12:27:05,401 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:27:06,157 - INFO - taking picture
MAIN: 2026-10-26 12:27:06,157 - INFO - we take 357 photos in this while loop
MAIN: 2026-10-26 12:27:06,158 - INFO - /home/pi/Desktop/images/26102026/12/26/image_26102026_12_27_05_59996.jpg
MAIN: 2026-10-26 12:27:06,158 - INFO - duration: 1.025834815001872
MAIN: 2026-10-26 12:27:06,158 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:28: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-10-26 12:28:05,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-10-26 12:28:06,348 - INFO - taking picture
MAIN: 2026-10-26 12:28:06,349 - INFO - we take 358 photos in this while loop
MAIN: 2026-10-26 12:28:06,349 - INFO - /home/pi/Desktop/images/26102026/12/27/image_26102026_12_28_05_60236.jpg
MAIN: 2026-10-26 12:28:06,349 - INFO - duration: 0.9809401800011983
MAIN: 2026-10-26 12:28:06,349 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:29:04,730 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:29:05,786 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:29:06,474 - INFO - taking picture
MAIN: 2026-10-26 12:29:06,474 - INFO - we take 359 photos in this while loop
MAIN: 2026-10-26 12:29:06,474 - INFO - /home/pi/Desktop/images/26102026/12/28/image_26102026_12_29_05_60156.jpg
MAIN: 2026-10-26 12:29:06,474 - INFO - duration: 0.9503028459985217
MAIN: 2026-10-26 12:29:06,475 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:30: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-10-26 12:30:06,084 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:30:06,780 - INFO - taking picture
MAIN: 2026-10-26 12:30:06,780 - INFO - we take 360 photos in this while loop
MAIN: 2026-10-26 12:30:06,780 - INFO - /home/pi/Desktop/images/26102026/12/29/image_26102026_12_30_06_60294.jpg
MAIN: 2026-10-26 12:30:06,781 - INFO - duration: 0.9624288839986548
MAIN: 2026-10-26 12:30:06,781 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:31:04,976 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:31: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-10-26 12:31:05,670 - INFO - taking picture
MAIN: 2026-10-26 12:31:05,671 - INFO - we take 361 photos in this while loop
MAIN: 2026-10-26 12:31:05,671 - INFO - /home/pi/Desktop/images/26102026/12/30/image_26102026_12_31_04_58897.jpg
MAIN: 2026-10-26 12:31:05,671 - INFO - duration: 0.9552731100011442
MAIN: 2026-10-26 12:31:05,671 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:32:05,110 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:32:05,841 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:32:05,854 - INFO - taking picture
MAIN: 2026-10-26 12:32:05,854 - INFO - we take 362 photos in this while loop
MAIN: 2026-10-26 12:32:05,855 - INFO - /home/pi/Desktop/images/26102026/12/31/image_26102026_12_32_05_60098.jpg
MAIN: 2026-10-26 12:32:05,855 - INFO - duration: 1.041276009997091
MAIN: 2026-10-26 12:32:05,856 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:33:04,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-10-26 12:33:05,453 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:33:06,140 - INFO - taking picture
MAIN: 2026-10-26 12:33:06,140 - INFO - we take 363 photos in this while loop
MAIN: 2026-10-26 12:33:06,140 - INFO - /home/pi/Desktop/images/26102026/12/32/image_26102026_12_33_05_60355.jpg
MAIN: 2026-10-26 12:33:06,141 - INFO - duration: 0.971681514998636
MAIN: 2026-10-26 12:33:06,141 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:34: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-10-26 12:34:05,640 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:34:06,329 - INFO - taking picture
MAIN: 2026-10-26 12:34:06,330 - INFO - we take 364 photos in this while loop
MAIN: 2026-10-26 12:34:06,330 - INFO - /home/pi/Desktop/images/26102026/12/33/image_26102026_12_34_05_60246.jpg
MAIN: 2026-10-26 12:34:06,330 - INFO - duration: 0.9143608109989145
MAIN: 2026-10-26 12:34:06,330 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:35:05,158 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:35: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-10-26 12:35:06,683 - INFO - taking picture
MAIN: 2026-10-26 12:35:06,684 - INFO - we take 365 photos in this while loop
MAIN: 2026-10-26 12:35:06,684 - INFO - /home/pi/Desktop/images/26102026/12/34/image_26102026_12_35_05_60202.jpg
MAIN: 2026-10-26 12:35:06,684 - INFO - duration: 1.065725817999919
MAIN: 2026-10-26 12:35:06,684 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:36: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-10-26 12:36: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-10-26 12:36:05,691 - INFO - taking picture
MAIN: 2026-10-26 12:36:05,691 - INFO - we take 366 photos in this while loop
MAIN: 2026-10-26 12:36:05,691 - INFO - /home/pi/Desktop/images/26102026/12/35/image_26102026_12_36_04_59087.jpg
MAIN: 2026-10-26 12:36:05,692 - INFO - duration: 0.98563079700034
MAIN: 2026-10-26 12:36:05,692 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:37: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-10-26 12:37:05,684 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:37:06,406 - INFO - taking picture
MAIN: 2026-10-26 12:37:06,406 - INFO - we take 367 photos in this while loop
MAIN: 2026-10-26 12:37:06,406 - INFO - /home/pi/Desktop/images/26102026/12/36/image_26102026_12_37_05_60756.jpg
MAIN: 2026-10-26 12:37:06,406 - INFO - duration: 0.9439274569995177
MAIN: 2026-10-26 12:37:06,407 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:38:04,882 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:38:05,765 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:38:06,452 - INFO - taking picture
MAIN: 2026-10-26 12:38:06,453 - INFO - we take 368 photos in this while loop
MAIN: 2026-10-26 12:38:06,453 - INFO - /home/pi/Desktop/images/26102026/12/37/image_26102026_12_38_05_60028.jpg
MAIN: 2026-10-26 12:38:06,453 - INFO - duration: 0.961476649998076
MAIN: 2026-10-26 12:38:06,453 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:39:04,622 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:39:06,148 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:39:06,879 - INFO - taking picture
MAIN: 2026-10-26 12:39:06,880 - INFO - we take 369 photos in this while loop
MAIN: 2026-10-26 12:39:06,880 - INFO - /home/pi/Desktop/images/26102026/12/38/image_26102026_12_39_06_60368.jpg
MAIN: 2026-10-26 12:39:06,880 - INFO - duration: 1.0198261559999082
MAIN: 2026-10-26 12:39:06,880 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:40:05,088 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:40:05,331 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:40:05,813 - INFO - taking picture
MAIN: 2026-10-26 12:40:05,813 - INFO - we take 370 photos in this while loop
MAIN: 2026-10-26 12:40:05,813 - INFO - /home/pi/Desktop/images/26102026/12/39/image_26102026_12_40_05_58994.jpg
MAIN: 2026-10-26 12:40:05,814 - INFO - duration: 0.9590727670001797
MAIN: 2026-10-26 12:40:05,814 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:41: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-10-26 12:41: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-10-26 12:41:05,966 - INFO - taking picture
MAIN: 2026-10-26 12:41:05,967 - INFO - we take 371 photos in this while loop
MAIN: 2026-10-26 12:41:05,967 - INFO - /home/pi/Desktop/images/26102026/12/40/image_26102026_12_41_05_60155.jpg
MAIN: 2026-10-26 12:41:05,967 - INFO - duration: 0.9568199799978174
MAIN: 2026-10-26 12:41:05,967 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:42: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-10-26 12:42:05,702 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:42:06,050 - INFO - taking picture
MAIN: 2026-10-26 12:42:06,050 - INFO - we take 372 photos in this while loop
MAIN: 2026-10-26 12:42:06,050 - INFO - /home/pi/Desktop/images/26102026/12/41/image_26102026_12_42_05_60078.jpg
MAIN: 2026-10-26 12:42:06,050 - INFO - duration: 0.9616057259991067
MAIN: 2026-10-26 12:42:06,051 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:43:05,540 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:43: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-10-26 12:43:06,232 - INFO - taking picture
MAIN: 2026-10-26 12:43:06,232 - INFO - we take 373 photos in this while loop
MAIN: 2026-10-26 12:43:06,233 - INFO - /home/pi/Desktop/images/26102026/12/42/image_26102026_12_43_05_60174.jpg
MAIN: 2026-10-26 12:43:06,233 - INFO - duration: 0.969820673999493
MAIN: 2026-10-26 12:43:06,233 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:44: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-10-26 12:44:05,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-10-26 12:44:06,525 - INFO - taking picture
MAIN: 2026-10-26 12:44:06,525 - INFO - we take 374 photos in this while loop
MAIN: 2026-10-26 12:44:06,525 - INFO - /home/pi/Desktop/images/26102026/12/43/image_26102026_12_44_05_60314.jpg
MAIN: 2026-10-26 12:44:06,525 - INFO - duration: 0.9484971790006966
MAIN: 2026-10-26 12:44:06,526 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:45: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-10-26 12:45:06,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-10-26 12:45:06,792 - INFO - taking picture
MAIN: 2026-10-26 12:45:06,792 - INFO - we take 375 photos in this while loop
MAIN: 2026-10-26 12:45:06,793 - INFO - /home/pi/Desktop/images/26102026/12/44/image_26102026_12_45_06_60239.jpg
MAIN: 2026-10-26 12:45:06,793 - INFO - duration: 0.9759371209984238
MAIN: 2026-10-26 12:45:06,793 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:46:04,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-10-26 12:46:05,219 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:46:05,651 - INFO - taking picture
MAIN: 2026-10-26 12:46:05,651 - INFO - we take 376 photos in this while loop
MAIN: 2026-10-26 12:46:05,652 - INFO - /home/pi/Desktop/images/26102026/12/45/image_26102026_12_46_04_58857.jpg
MAIN: 2026-10-26 12:46:05,652 - INFO - duration: 0.9778150950005511
MAIN: 2026-10-26 12:46:05,652 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:47: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-10-26 12:47: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-10-26 12:47:05,611 - INFO - taking picture
MAIN: 2026-10-26 12:47:05,612 - INFO - we take 377 photos in this while loop
MAIN: 2026-10-26 12:47:05,612 - INFO - /home/pi/Desktop/images/26102026/12/46/image_26102026_12_47_04_59967.jpg
MAIN: 2026-10-26 12:47:05,612 - INFO - duration: 0.9700324860023102
MAIN: 2026-10-26 12:47:05,612 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:48: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-10-26 12:48:05,376 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:48:05,628 - INFO - taking picture
MAIN: 2026-10-26 12:48:05,629 - INFO - we take 378 photos in this while loop
MAIN: 2026-10-26 12:48:05,629 - INFO - /home/pi/Desktop/images/26102026/12/47/image_26102026_12_48_04_60065.jpg
MAIN: 2026-10-26 12:48:05,629 - INFO - duration: 0.9214089979977871
MAIN: 2026-10-26 12:48:05,629 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:49: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-10-26 12:49:05,481 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:49:05,785 - INFO - taking picture
MAIN: 2026-10-26 12:49:05,785 - INFO - we take 379 photos in this while loop
MAIN: 2026-10-26 12:49:05,785 - INFO - /home/pi/Desktop/images/26102026/12/48/image_26102026_12_49_05_60106.jpg
MAIN: 2026-10-26 12:49:05,785 - INFO - duration: 0.9709596620014054
MAIN: 2026-10-26 12:49:05,786 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:50:05,367 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:50:06,159 - INFO - taking picture
MAIN: 2026-10-26 12:50:06,160 - INFO - we take 380 photos in this while loop
MAIN: 2026-10-26 12:50:06,160 - INFO - /home/pi/Desktop/images/26102026/12/49/image_26102026_12_50_05_60279.jpg
MAIN: 2026-10-26 12:50:06,160 - INFO - duration: 1.0665192220003519
MAIN: 2026-10-26 12:50:06,160 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/12/50'
MAIN: 2026-10-26 12:50:06,346 - 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-10-26 12:51: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-10-26 12:51:05,544 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:51:06,227 - INFO - taking picture
MAIN: 2026-10-26 12:51:06,227 - INFO - we take 381 photos in this while loop
MAIN: 2026-10-26 12:51:06,227 - INFO - /home/pi/Desktop/images/26102026/12/50/image_26102026_12_51_05_60213.jpg
MAIN: 2026-10-26 12:51:06,227 - INFO - duration: 0.9198403159971349
MAIN: 2026-10-26 12:51:06,228 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:52: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-10-26 12:52: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-10-26 12:52:06,374 - INFO - taking picture
MAIN: 2026-10-26 12:52:06,374 - INFO - we take 382 photos in this while loop
MAIN: 2026-10-26 12:52:06,374 - INFO - /home/pi/Desktop/images/26102026/12/51/image_26102026_12_52_05_60158.jpg
MAIN: 2026-10-26 12:52:06,375 - INFO - duration: 0.9082267609992414
MAIN: 2026-10-26 12:52:06,375 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:53: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-10-26 12:53: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-10-26 12:53:06,452 - INFO - taking picture
MAIN: 2026-10-26 12:53:06,452 - INFO - we take 383 photos in this while loop
MAIN: 2026-10-26 12:53:06,452 - INFO - /home/pi/Desktop/images/26102026/12/52/image_26102026_12_53_05_60021.jpg
MAIN: 2026-10-26 12:53:06,452 - INFO - duration: 0.964602867999929
MAIN: 2026-10-26 12:53:06,453 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:54: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-10-26 12:54: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-10-26 12:54:06,494 - INFO - taking picture
MAIN: 2026-10-26 12:54:06,494 - INFO - we take 384 photos in this while loop
MAIN: 2026-10-26 12:54:06,495 - INFO - /home/pi/Desktop/images/26102026/12/53/image_26102026_12_54_05_60095.jpg
MAIN: 2026-10-26 12:54:06,495 - INFO - duration: 0.9117343259968038
MAIN: 2026-10-26 12:54:06,495 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:55: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-10-26 12:55: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-10-26 12:55:06,010 - INFO - taking picture
MAIN: 2026-10-26 12:55:06,010 - INFO - we take 385 photos in this while loop
MAIN: 2026-10-26 12:55:06,010 - INFO - /home/pi/Desktop/images/26102026/12/54/image_26102026_12_55_05_59475.jpg
MAIN: 2026-10-26 12:55:06,010 - INFO - duration: 0.9519683460021042
MAIN: 2026-10-26 12:55:06,010 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/12/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-10-26 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-10-26 12:56: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 ! 
MAIN: 2026-10-26 12:56:06,152 - INFO - taking picture
MAIN: 2026-10-26 12:56:06,152 - INFO - we take 386 photos in this while loop
MAIN: 2026-10-26 12:56:06,153 - INFO - /home/pi/Desktop/images/26102026/12/55/image_26102026_12_56_05_60107.jpg
MAIN: 2026-10-26 12:56:06,153 - INFO - duration: 0.9874301009986084
MAIN: 2026-10-26 12:56:06,153 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:57:04,659 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:57:05,012 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 12:57:05,764 - INFO - taking picture
MAIN: 2026-10-26 12:57:05,765 - INFO - we take 387 photos in this while loop
MAIN: 2026-10-26 12:57:05,765 - INFO - /home/pi/Desktop/images/26102026/12/56/image_26102026_12_57_05_59603.jpg
MAIN: 2026-10-26 12:57:05,765 - INFO - duration: 0.9963112129989895
MAIN: 2026-10-26 12:57:05,765 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:58: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-10-26 12:58:05,218 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:58:05,892 - INFO - taking picture
MAIN: 2026-10-26 12:58:05,892 - INFO - we take 388 photos in this while loop
MAIN: 2026-10-26 12:58:05,892 - INFO - /home/pi/Desktop/images/26102026/12/57/image_26102026_12_58_05_60152.jpg
MAIN: 2026-10-26 12:58:05,892 - INFO - duration: 0.9713208350003697
MAIN: 2026-10-26 12:58:05,893 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 12:59:05,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-10-26 12:59:05,218 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 12:59:05,750 - INFO - taking picture
MAIN: 2026-10-26 12:59:05,750 - INFO - we take 389 photos in this while loop
MAIN: 2026-10-26 12:59:05,750 - INFO - /home/pi/Desktop/images/26102026/12/58/image_26102026_12_59_05_59868.jpg
MAIN: 2026-10-26 12:59:05,750 - INFO - duration: 0.9601919929991709
MAIN: 2026-10-26 12:59:05,750 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:00:05,225 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:00:05,278 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:00:05,921 - INFO - taking picture
MAIN: 2026-10-26 13:00:05,922 - INFO - we take 390 photos in this while loop
MAIN: 2026-10-26 13:00:05,922 - INFO - /home/pi/Desktop/images/26102026/12/59/image_26102026_13_00_05_60212.jpg
MAIN: 2026-10-26 13:00:05,922 - INFO - duration: 0.919638852999924
MAIN: 2026-10-26 13:00:05,922 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/13/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-10-26 13:01: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-10-26 13:01:05,460 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:01:05,638 - INFO - taking picture
MAIN: 2026-10-26 13:01:05,638 - INFO - we take 391 photos in this while loop
MAIN: 2026-10-26 13:01:05,638 - INFO - /home/pi/Desktop/images/26102026/13/00/image_26102026_13_01_04_59659.jpg
MAIN: 2026-10-26 13:01:05,638 - INFO - duration: 0.9769634479998786
MAIN: 2026-10-26 13:01:05,639 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:02:05,080 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:02:05,766 - INFO - taking picture
MAIN: 2026-10-26 13:02:05,766 - INFO - we take 392 photos in this while loop
MAIN: 2026-10-26 13:02:05,767 - INFO - /home/pi/Desktop/images/26102026/13/01/image_26102026_13_02_05_60160.jpg
MAIN: 2026-10-26 13:02:05,767 - INFO - duration: 0.9446668679993309
MAIN: 2026-10-26 13:02:05,767 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/13/02'
MAIN: 2026-10-26 13:02:05,813 - 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-10-26 13:03:05,216 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:03: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-10-26 13:03:05,910 - INFO - taking picture
MAIN: 2026-10-26 13:03:05,910 - INFO - we take 393 photos in this while loop
MAIN: 2026-10-26 13:03:05,910 - INFO - /home/pi/Desktop/images/26102026/13/02/image_26102026_13_03_05_60129.jpg
MAIN: 2026-10-26 13:03:05,910 - INFO - duration: 0.9593296060011198
MAIN: 2026-10-26 13:03:05,911 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:04:05,310 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:04:05,996 - INFO - taking picture
MAIN: 2026-10-26 13:04:05,996 - INFO - we take 394 photos in this while loop
MAIN: 2026-10-26 13:04:05,996 - INFO - /home/pi/Desktop/images/26102026/13/03/image_26102026_13_04_05_60132.jpg
MAIN: 2026-10-26 13:04:05,996 - INFO - duration: 0.912408926000353
MAIN: 2026-10-26 13:04:05,996 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/13/04'
MAIN: 2026-10-26 13:04:06,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 13:05:05,179 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:05: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-10-26 13:05:06,641 - INFO - taking picture
MAIN: 2026-10-26 13:05:06,642 - INFO - we take 395 photos in this while loop
MAIN: 2026-10-26 13:05:06,642 - INFO - /home/pi/Desktop/images/26102026/13/04/image_26102026_13_05_05_60490.jpg
MAIN: 2026-10-26 13:05:06,642 - INFO - duration: 1.0680309550007223
MAIN: 2026-10-26 13:05:06,642 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/13/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-10-26 13:06: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-10-26 13:06: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-10-26 13:06:06,738 - INFO - taking picture
MAIN: 2026-10-26 13:06:06,739 - INFO - we take 396 photos in this while loop
MAIN: 2026-10-26 13:06:06,739 - INFO - /home/pi/Desktop/images/26102026/13/05/image_26102026_13_06_06_60254.jpg
MAIN: 2026-10-26 13:06:06,739 - INFO - duration: 0.9099741089994495
MAIN: 2026-10-26 13:06:06,739 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:07: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-10-26 13:07: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-10-26 13:07:06,709 - INFO - taking picture
MAIN: 2026-10-26 13:07:06,709 - INFO - we take 397 photos in this while loop
MAIN: 2026-10-26 13:07:06,709 - INFO - /home/pi/Desktop/images/26102026/13/06/image_26102026_13_07_06_59933.jpg
MAIN: 2026-10-26 13:07:06,709 - INFO - duration: 0.9475674420027644
MAIN: 2026-10-26 13:07:06,710 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:08:05,007 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:08:05,692 - INFO - taking picture
MAIN: 2026-10-26 13:08:05,692 - INFO - we take 398 photos in this while loop
MAIN: 2026-10-26 13:08:05,692 - INFO - /home/pi/Desktop/images/26102026/13/07/image_26102026_13_08_05_58982.jpg
MAIN: 2026-10-26 13:08:05,692 - INFO - duration: 0.9477608859997417
MAIN: 2026-10-26 13:08:05,692 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/13/08'
MAIN: 2026-10-26 13:08:05,732 - 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-10-26 13:09:04,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-10-26 13:09:06,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-10-26 13:09:06,752 - INFO - taking picture
MAIN: 2026-10-26 13:09:06,752 - INFO - we take 399 photos in this while loop
MAIN: 2026-10-26 13:09:06,752 - INFO - /home/pi/Desktop/images/26102026/13/08/image_26102026_13_09_06_61043.jpg
MAIN: 2026-10-26 13:09:06,753 - INFO - duration: 0.965072851999139
MAIN: 2026-10-26 13:09:06,753 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:10:05,001 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:10:05,304 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:10:05,766 - INFO - taking picture
MAIN: 2026-10-26 13:10:05,767 - INFO - we take 400 photos in this while loop
MAIN: 2026-10-26 13:10:05,767 - INFO - /home/pi/Desktop/images/26102026/13/09/image_26102026_13_10_05_58977.jpg
MAIN: 2026-10-26 13:10:05,767 - INFO - duration: 1.0015373390015156
MAIN: 2026-10-26 13:10:05,767 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:11: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-10-26 13:11: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-10-26 13:11:05,923 - INFO - taking picture
MAIN: 2026-10-26 13:11:05,923 - INFO - we take 401 photos in this while loop
MAIN: 2026-10-26 13:11:05,923 - INFO - /home/pi/Desktop/images/26102026/13/10/image_26102026_13_11_05_60115.jpg
MAIN: 2026-10-26 13:11:05,923 - INFO - duration: 1.0429764090004028
MAIN: 2026-10-26 13:11:05,924 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:12:05,248 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:12:05,531 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:12:05,974 - INFO - taking picture
MAIN: 2026-10-26 13:12:05,974 - INFO - we take 402 photos in this while loop
MAIN: 2026-10-26 13:12:05,974 - INFO - /home/pi/Desktop/images/26102026/13/11/image_26102026_13_12_05_60067.jpg
MAIN: 2026-10-26 13:12:05,974 - INFO - duration: 1.026129118999961
MAIN: 2026-10-26 13:12:05,975 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:13: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-10-26 13:13: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-10-26 13:13:05,910 - INFO - taking picture
MAIN: 2026-10-26 13:13:05,910 - INFO - we take 403 photos in this while loop
MAIN: 2026-10-26 13:13:05,910 - INFO - /home/pi/Desktop/images/26102026/13/12/image_26102026_13_13_05_59932.jpg
MAIN: 2026-10-26 13:13:05,910 - INFO - duration: 1.0296337050021975
MAIN: 2026-10-26 13:13:05,911 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:14: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-10-26 13:14:05,641 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:14:06,012 - INFO - taking picture
MAIN: 2026-10-26 13:14:06,012 - INFO - we take 404 photos in this while loop
MAIN: 2026-10-26 13:14:06,012 - INFO - /home/pi/Desktop/images/26102026/13/13/image_26102026_13_14_05_60140.jpg
MAIN: 2026-10-26 13:14:06,012 - INFO - duration: 0.9913709770007699
MAIN: 2026-10-26 13:14:06,013 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:15:05,491 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:15:06,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-10-26 13:15:06,213 - INFO - taking picture
MAIN: 2026-10-26 13:15:06,213 - INFO - we take 405 photos in this while loop
MAIN: 2026-10-26 13:15:06,213 - INFO - /home/pi/Desktop/images/26102026/13/14/image_26102026_13_15_05_60224.jpg
MAIN: 2026-10-26 13:15:06,213 - INFO - duration: 0.967526740001631
MAIN: 2026-10-26 13:15:06,213 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:16: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-10-26 13:16:05,575 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:16:06,265 - INFO - taking picture
MAIN: 2026-10-26 13:16:06,265 - INFO - we take 406 photos in this while loop
MAIN: 2026-10-26 13:16:06,265 - INFO - /home/pi/Desktop/images/26102026/13/15/image_26102026_13_16_05_60105.jpg
MAIN: 2026-10-26 13:16:06,265 - INFO - duration: 0.9142416030008462
MAIN: 2026-10-26 13:16:06,266 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:17:05,062 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:17:05,709 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:17:06,400 - INFO - taking picture
MAIN: 2026-10-26 13:17:06,400 - INFO - we take 407 photos in this while loop
MAIN: 2026-10-26 13:17:06,401 - INFO - /home/pi/Desktop/images/26102026/13/16/image_26102026_13_17_05_60131.jpg
MAIN: 2026-10-26 13:17:06,401 - INFO - duration: 0.9178107640000235
MAIN: 2026-10-26 13:17:06,401 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:18:05,634 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:18:05,952 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:18:06,649 - INFO - taking picture
MAIN: 2026-10-26 13:18:06,649 - INFO - we take 408 photos in this while loop
MAIN: 2026-10-26 13:18:06,650 - INFO - /home/pi/Desktop/images/26102026/13/17/image_26102026_13_18_05_60233.jpg
MAIN: 2026-10-26 13:18:06,650 - INFO - duration: 0.9334970999989309
MAIN: 2026-10-26 13:18:06,650 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:19:05,092 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:19:05,303 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:19:06,001 - INFO - taking picture
MAIN: 2026-10-26 13:19:06,001 - INFO - we take 409 photos in this while loop
MAIN: 2026-10-26 13:19:06,001 - INFO - /home/pi/Desktop/images/26102026/13/18/image_26102026_13_19_05_59301.jpg
MAIN: 2026-10-26 13:19:06,001 - INFO - duration: 0.9836121419975825
MAIN: 2026-10-26 13:19:06,001 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:20: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-10-26 13:20:05,900 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:20:06,397 - INFO - taking picture
MAIN: 2026-10-26 13:20:06,397 - INFO - we take 410 photos in this while loop
MAIN: 2026-10-26 13:20:06,397 - INFO - /home/pi/Desktop/images/26102026/13/19/image_26102026_13_20_05_60408.jpg
MAIN: 2026-10-26 13:20:06,397 - INFO - duration: 0.9706336630006263
MAIN: 2026-10-26 13:20:06,397 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/13/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-10-26 13:21: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-10-26 13:21:05,651 - INFO - taking picture
MAIN: 2026-10-26 13:21:05,651 - INFO - we take 411 photos in this while loop
MAIN: 2026-10-26 13:21:05,651 - INFO - /home/pi/Desktop/images/26102026/13/20/image_26102026_13_21_04_59256.jpg
MAIN: 2026-10-26 13:21:05,651 - INFO - duration: 0.9678534160011623
MAIN: 2026-10-26 13:21:05,651 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/13/21'
MAIN: 2026-10-26 13:21:05,695 - 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-10-26 13:22:05,218 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:22: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-10-26 13:22:06,423 - INFO - taking picture
MAIN: 2026-10-26 13:22:06,423 - INFO - we take 412 photos in this while loop
MAIN: 2026-10-26 13:22:06,423 - INFO - /home/pi/Desktop/images/26102026/13/21/image_26102026_13_22_05_60694.jpg
MAIN: 2026-10-26 13:22:06,423 - INFO - duration: 1.0453729929977271
MAIN: 2026-10-26 13:22:06,424 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:23: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-10-26 13:23: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-10-26 13:23:05,608 - INFO - taking picture
MAIN: 2026-10-26 13:23:05,608 - INFO - we take 413 photos in this while loop
MAIN: 2026-10-26 13:23:05,608 - INFO - /home/pi/Desktop/images/26102026/13/22/image_26102026_13_23_04_59258.jpg
MAIN: 2026-10-26 13:23:05,609 - INFO - duration: 0.9726959869985876
MAIN: 2026-10-26 13:23:05,609 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:24: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-10-26 13:24:05,241 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:24:05,875 - INFO - taking picture
MAIN: 2026-10-26 13:24:05,875 - INFO - we take 414 photos in this while loop
MAIN: 2026-10-26 13:24:05,875 - INFO - /home/pi/Desktop/images/26102026/13/23/image_26102026_13_24_05_60251.jpg
MAIN: 2026-10-26 13:24:05,875 - INFO - duration: 0.9880840940022608
MAIN: 2026-10-26 13:24:05,876 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:25: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-10-26 13:25:05,611 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:25:06,233 - INFO - taking picture
MAIN: 2026-10-26 13:25:06,233 - INFO - we take 415 photos in this while loop
MAIN: 2026-10-26 13:25:06,233 - INFO - /home/pi/Desktop/images/26102026/13/24/image_26102026_13_25_05_60399.jpg
MAIN: 2026-10-26 13:25:06,234 - INFO - duration: 0.9464159579983971
MAIN: 2026-10-26 13:25:06,234 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/13/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-10-26 13:26:05,645 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:26:05,699 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:26:06,397 - INFO - taking picture
MAIN: 2026-10-26 13:26:06,397 - INFO - we take 416 photos in this while loop
MAIN: 2026-10-26 13:26:06,397 - INFO - /home/pi/Desktop/images/26102026/13/25/image_26102026_13_26_05_60138.jpg
MAIN: 2026-10-26 13:26:06,397 - INFO - duration: 0.9718935009987035
MAIN: 2026-10-26 13:26:06,398 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:27:04,593 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:27: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-10-26 13:27:06,554 - INFO - taking picture
MAIN: 2026-10-26 13:27:06,554 - INFO - we take 417 photos in this while loop
MAIN: 2026-10-26 13:27:06,554 - INFO - /home/pi/Desktop/images/26102026/13/26/image_26102026_13_27_05_60081.jpg
MAIN: 2026-10-26 13:27:06,554 - INFO - duration: 1.047742876002303
MAIN: 2026-10-26 13:27:06,555 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:28:05,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 ! 
MAIN: 2026-10-26 13:28: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-10-26 13:28:06,632 - INFO - taking picture
MAIN: 2026-10-26 13:28:06,632 - INFO - we take 418 photos in this while loop
MAIN: 2026-10-26 13:28:06,632 - INFO - /home/pi/Desktop/images/26102026/13/27/image_26102026_13_28_05_60169.jpg
MAIN: 2026-10-26 13:28:06,632 - INFO - duration: 0.956082223001431
MAIN: 2026-10-26 13:28:06,633 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:29: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-10-26 13:29:06,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-10-26 13:29:06,841 - INFO - taking picture
MAIN: 2026-10-26 13:29:06,841 - INFO - we take 419 photos in this while loop
MAIN: 2026-10-26 13:29:06,841 - INFO - /home/pi/Desktop/images/26102026/13/28/image_26102026_13_29_06_60178.jpg
MAIN: 2026-10-26 13:29:06,841 - INFO - duration: 0.9867877510005201
MAIN: 2026-10-26 13:29:06,841 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:30:05,264 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:30:05,973 - INFO - taking picture
MAIN: 2026-10-26 13:30:05,973 - INFO - we take 420 photos in this while loop
MAIN: 2026-10-26 13:30:05,973 - INFO - /home/pi/Desktop/images/26102026/13/29/image_26102026_13_30_05_59169.jpg
MAIN: 2026-10-26 13:30:05,974 - INFO - duration: 0.9494171509977605
MAIN: 2026-10-26 13:30:05,974 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/13/30'
MAIN: 2026-10-26 13:30: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-10-26 13:31: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-10-26 13:31: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-10-26 13:31:06,009 - INFO - taking picture
MAIN: 2026-10-26 13:31:06,010 - INFO - we take 421 photos in this while loop
MAIN: 2026-10-26 13:31:06,010 - INFO - /home/pi/Desktop/images/26102026/13/30/image_26102026_13_31_05_60009.jpg
MAIN: 2026-10-26 13:31:06,010 - INFO - duration: 0.9760406660025183
MAIN: 2026-10-26 13:31:06,010 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:32: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-10-26 13:32:05,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-10-26 13:32:06,044 - INFO - taking picture
MAIN: 2026-10-26 13:32:06,044 - INFO - we take 422 photos in this while loop
MAIN: 2026-10-26 13:32:06,044 - INFO - /home/pi/Desktop/images/26102026/13/31/image_26102026_13_32_05_60090.jpg
MAIN: 2026-10-26 13:32:06,045 - INFO - duration: 0.9202620169999136
MAIN: 2026-10-26 13:32:06,045 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:33:05,074 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:33:05,451 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:33:06,209 - INFO - taking picture
MAIN: 2026-10-26 13:33:06,209 - INFO - we take 423 photos in this while loop
MAIN: 2026-10-26 13:33:06,209 - INFO - /home/pi/Desktop/images/26102026/13/32/image_26102026_13_33_05_60073.jpg
MAIN: 2026-10-26 13:33:06,210 - INFO - duration: 1.0122729479990085
MAIN: 2026-10-26 13:33:06,210 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:34:05,486 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:34: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-10-26 13:34:06,734 - INFO - taking picture
MAIN: 2026-10-26 13:34:06,734 - INFO - we take 424 photos in this while loop
MAIN: 2026-10-26 13:34:06,734 - INFO - /home/pi/Desktop/images/26102026/13/33/image_26102026_13_34_05_60526.jpg
MAIN: 2026-10-26 13:34:06,734 - INFO - duration: 1.0103680930005794
MAIN: 2026-10-26 13:34:06,734 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:35: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-10-26 13:35:05,401 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:35:05,648 - INFO - taking picture
MAIN: 2026-10-26 13:35:05,648 - INFO - we take 425 photos in this while loop
MAIN: 2026-10-26 13:35:05,648 - INFO - /home/pi/Desktop/images/26102026/13/34/image_26102026_13_35_04_58972.jpg
MAIN: 2026-10-26 13:35:05,649 - INFO - duration: 0.9519244740004069
MAIN: 2026-10-26 13:35:05,649 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:36: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-10-26 13:36: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-10-26 13:36:05,756 - INFO - taking picture
MAIN: 2026-10-26 13:36:05,756 - INFO - we take 426 photos in this while loop
MAIN: 2026-10-26 13:36:05,756 - INFO - /home/pi/Desktop/images/26102026/13/35/image_26102026_13_36_05_60141.jpg
MAIN: 2026-10-26 13:36:05,756 - INFO - duration: 0.9186229099977936
MAIN: 2026-10-26 13:36:05,757 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:37:04,877 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:37: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-10-26 13:37:05,602 - INFO - taking picture
MAIN: 2026-10-26 13:37:05,603 - INFO - we take 427 photos in this while loop
MAIN: 2026-10-26 13:37:05,603 - INFO - /home/pi/Desktop/images/26102026/13/36/image_26102026_13_37_04_59806.jpg
MAIN: 2026-10-26 13:37:05,603 - INFO - duration: 0.9584518170013325
MAIN: 2026-10-26 13:37:05,603 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:38:05,252 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:38:05,948 - INFO - taking picture
MAIN: 2026-10-26 13:38:05,949 - INFO - we take 428 photos in this while loop
MAIN: 2026-10-26 13:38:05,949 - INFO - /home/pi/Desktop/images/26102026/13/37/image_26102026_13_38_05_60376.jpg
MAIN: 2026-10-26 13:38:05,949 - INFO - duration: 0.9280497689978802
MAIN: 2026-10-26 13:38:05,949 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/13/38'
MAIN: 2026-10-26 13:38:05,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 13:39: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-10-26 13:39:05,543 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:39:06,275 - INFO - taking picture
MAIN: 2026-10-26 13:39:06,275 - INFO - we take 429 photos in this while loop
MAIN: 2026-10-26 13:39:06,275 - INFO - /home/pi/Desktop/images/26102026/13/38/image_26102026_13_39_05_60283.jpg
MAIN: 2026-10-26 13:39:06,275 - INFO - duration: 0.9712711259999196
MAIN: 2026-10-26 13:39:06,276 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:40: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-10-26 13:40: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-10-26 13:40:06,631 - INFO - taking picture
MAIN: 2026-10-26 13:40:06,632 - INFO - we take 430 photos in this while loop
MAIN: 2026-10-26 13:40:06,632 - INFO - /home/pi/Desktop/images/26102026/13/39/image_26102026_13_40_05_60392.jpg
MAIN: 2026-10-26 13:40:06,632 - INFO - duration: 0.9353693290031515
MAIN: 2026-10-26 13:40:06,632 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:41: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-10-26 13:41: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-10-26 13:41:06,164 - INFO - taking picture
MAIN: 2026-10-26 13:41:06,164 - INFO - we take 431 photos in this while loop
MAIN: 2026-10-26 13:41:06,164 - INFO - /home/pi/Desktop/images/26102026/13/40/image_26102026_13_41_05_59530.jpg
MAIN: 2026-10-26 13:41:06,164 - INFO - duration: 0.9369866409979295
MAIN: 2026-10-26 13:41:06,165 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:42: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-10-26 13:42: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-10-26 13:42:06,511 - INFO - taking picture
MAIN: 2026-10-26 13:42:06,511 - INFO - we take 432 photos in this while loop
MAIN: 2026-10-26 13:42:06,512 - INFO - /home/pi/Desktop/images/26102026/13/41/image_26102026_13_42_05_60201.jpg
MAIN: 2026-10-26 13:42:06,512 - INFO - duration: 1.0823835109986248
MAIN: 2026-10-26 13:42:06,512 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:43: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-10-26 13:43:06,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-10-26 13:43:06,781 - INFO - taking picture
MAIN: 2026-10-26 13:43:06,781 - INFO - we take 433 photos in this while loop
MAIN: 2026-10-26 13:43:06,781 - INFO - /home/pi/Desktop/images/26102026/13/42/image_26102026_13_43_06_60433.jpg
MAIN: 2026-10-26 13:43:06,781 - INFO - duration: 0.9182965240033809
MAIN: 2026-10-26 13:43:06,782 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:44: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-10-26 13:44:05,900 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:44:05,916 - INFO - taking picture
MAIN: 2026-10-26 13:44:05,917 - INFO - we take 434 photos in this while loop
MAIN: 2026-10-26 13:44:05,917 - INFO - /home/pi/Desktop/images/26102026/13/43/image_26102026_13_44_05_59059.jpg
MAIN: 2026-10-26 13:44:05,918 - INFO - duration: 0.9950910090046818
MAIN: 2026-10-26 13:44:05,918 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:45:05,030 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:45:05,421 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:45:05,740 - INFO - taking picture
MAIN: 2026-10-26 13:45:05,741 - INFO - we take 435 photos in this while loop
MAIN: 2026-10-26 13:45:05,741 - INFO - /home/pi/Desktop/images/26102026/13/44/image_26102026_13_45_05_59866.jpg
MAIN: 2026-10-26 13:45:05,741 - INFO - duration: 0.9518857880029827
MAIN: 2026-10-26 13:45:05,741 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:46: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-10-26 13:46:05,381 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:46:06,087 - INFO - taking picture
MAIN: 2026-10-26 13:46:06,087 - INFO - we take 436 photos in this while loop
MAIN: 2026-10-26 13:46:06,088 - INFO - /home/pi/Desktop/images/26102026/13/45/image_26102026_13_46_05_60292.jpg
MAIN: 2026-10-26 13:46:06,088 - INFO - duration: 1.00564096999733
MAIN: 2026-10-26 13:46:06,088 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:47: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-10-26 13:47:05,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-10-26 13:47:06,689 - INFO - taking picture
MAIN: 2026-10-26 13:47:06,690 - INFO - we take 437 photos in this while loop
MAIN: 2026-10-26 13:47:06,690 - INFO - /home/pi/Desktop/images/26102026/13/46/image_26102026_13_47_05_60597.jpg
MAIN: 2026-10-26 13:47:06,690 - INFO - duration: 1.009917694995238
MAIN: 2026-10-26 13:47:06,691 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:48:05,779 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:48:05,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-10-26 13:48:06,487 - INFO - taking picture
MAIN: 2026-10-26 13:48:06,487 - INFO - we take 438 photos in this while loop
MAIN: 2026-10-26 13:48:06,487 - INFO - /home/pi/Desktop/images/26102026/13/47/image_26102026_13_48_05_59820.jpg
MAIN: 2026-10-26 13:48:06,487 - INFO - duration: 0.9869455080042826
MAIN: 2026-10-26 13:48:06,487 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:49:04,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-10-26 13:49: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-10-26 13:49:05,867 - INFO - taking picture
MAIN: 2026-10-26 13:49:05,868 - INFO - we take 439 photos in this while loop
MAIN: 2026-10-26 13:49:05,868 - INFO - /home/pi/Desktop/images/26102026/13/48/image_26102026_13_49_05_59318.jpg
MAIN: 2026-10-26 13:49:05,868 - INFO - duration: 1.0495808460036642
MAIN: 2026-10-26 13:49:05,868 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/13/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-10-26 13:50: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-10-26 13:50:05,540 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:50:06,342 - INFO - taking picture
MAIN: 2026-10-26 13:50:06,342 - INFO - we take 440 photos in this while loop
MAIN: 2026-10-26 13:50:06,342 - INFO - /home/pi/Desktop/images/26102026/13/49/image_26102026_13_50_05_60448.jpg
MAIN: 2026-10-26 13:50:06,342 - INFO - duration: 1.0753399540044484
MAIN: 2026-10-26 13:50:06,343 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/13/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-10-26 13:51:05,186 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:51:06,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-10-26 13:51:06,818 - INFO - taking picture
MAIN: 2026-10-26 13:51:06,819 - INFO - we take 441 photos in this while loop
MAIN: 2026-10-26 13:51:06,819 - INFO - /home/pi/Desktop/images/26102026/13/50/image_26102026_13_51_06_60583.jpg
MAIN: 2026-10-26 13:51:06,819 - INFO - duration: 0.9682418849988608
MAIN: 2026-10-26 13:51:06,819 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:52:05,207 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:52: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-10-26 13:52:05,917 - INFO - taking picture
MAIN: 2026-10-26 13:52:05,917 - INFO - we take 442 photos in this while loop
MAIN: 2026-10-26 13:52:05,917 - INFO - /home/pi/Desktop/images/26102026/13/51/image_26102026_13_52_05_59076.jpg
MAIN: 2026-10-26 13:52:05,917 - INFO - duration: 0.990383837997797
MAIN: 2026-10-26 13:52:05,918 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:53: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-10-26 13:53: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-10-26 13:53:06,243 - INFO - taking picture
MAIN: 2026-10-26 13:53:06,243 - INFO - we take 443 photos in this while loop
MAIN: 2026-10-26 13:53:06,243 - INFO - /home/pi/Desktop/images/26102026/13/52/image_26102026_13_53_05_60321.jpg
MAIN: 2026-10-26 13:53:06,243 - INFO - duration: 0.9946661860012682
MAIN: 2026-10-26 13:53:06,243 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:54:05,030 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:54: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-10-26 13:54:05,982 - INFO - taking picture
MAIN: 2026-10-26 13:54:05,982 - INFO - we take 444 photos in this while loop
MAIN: 2026-10-26 13:54:05,983 - INFO - /home/pi/Desktop/images/26102026/13/53/image_26102026_13_54_05_59645.jpg
MAIN: 2026-10-26 13:54:05,983 - INFO - duration: 1.0882985909993295
MAIN: 2026-10-26 13:54:05,983 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:55: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-10-26 13:55:05,867 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:55:06,566 - INFO - taking picture
MAIN: 2026-10-26 13:55:06,566 - INFO - we take 445 photos in this while loop
MAIN: 2026-10-26 13:55:06,566 - INFO - /home/pi/Desktop/images/26102026/13/54/image_26102026_13_55_05_60709.jpg
MAIN: 2026-10-26 13:55:06,566 - INFO - duration: 0.9620421869985876
MAIN: 2026-10-26 13:55:06,567 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:56: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-10-26 13:56:05,316 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 13:56:05,705 - INFO - taking picture
MAIN: 2026-10-26 13:56:05,706 - INFO - we take 446 photos in this while loop
MAIN: 2026-10-26 13:56:05,706 - INFO - /home/pi/Desktop/images/26102026/13/55/image_26102026_13_56_04_59105.jpg
MAIN: 2026-10-26 13:56:05,706 - INFO - duration: 0.9956536579993553
MAIN: 2026-10-26 13:56:05,706 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:57: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-10-26 13:57:05,372 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 13:57:06,161 - INFO - taking picture
MAIN: 2026-10-26 13:57:06,162 - INFO - we take 447 photos in this while loop
MAIN: 2026-10-26 13:57:06,162 - INFO - /home/pi/Desktop/images/26102026/13/56/image_26102026_13_57_05_60356.jpg
MAIN: 2026-10-26 13:57:06,162 - INFO - duration: 1.0954565319989342
MAIN: 2026-10-26 13:57:06,162 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:58:05,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-10-26 13:58:06,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-10-26 13:58:06,856 - INFO - taking picture
MAIN: 2026-10-26 13:58:06,857 - INFO - we take 448 photos in this while loop
MAIN: 2026-10-26 13:58:06,857 - INFO - /home/pi/Desktop/images/26102026/13/57/image_26102026_13_58_06_60723.jpg
MAIN: 2026-10-26 13:58:06,857 - INFO - duration: 1.0665540039990447
MAIN: 2026-10-26 13:58:06,857 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 13:59: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-10-26 13:59: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-10-26 13:59:06,226 - INFO - taking picture
MAIN: 2026-10-26 13:59:06,227 - INFO - we take 449 photos in this while loop
MAIN: 2026-10-26 13:59:06,227 - INFO - /home/pi/Desktop/images/26102026/13/58/image_26102026_13_59_05_59395.jpg
MAIN: 2026-10-26 13:59:06,227 - INFO - duration: 1.0407357360018068
MAIN: 2026-10-26 13:59:06,227 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:00: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-10-26 14:00: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-10-26 14:00:05,649 - INFO - taking picture
MAIN: 2026-10-26 14:00:05,649 - INFO - we take 450 photos in this while loop
MAIN: 2026-10-26 14:00:05,649 - INFO - /home/pi/Desktop/images/26102026/13/59/image_26102026_14_00_04_59468.jpg
MAIN: 2026-10-26 14:00:05,650 - INFO - duration: 0.9951890469965292
MAIN: 2026-10-26 14:00:05,650 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/14/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-10-26 14:01: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-10-26 14:01: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-10-26 14:01:06,568 - INFO - taking picture
MAIN: 2026-10-26 14:01:06,569 - INFO - we take 451 photos in this while loop
MAIN: 2026-10-26 14:01:06,569 - INFO - /home/pi/Desktop/images/26102026/14/00/image_26102026_14_01_05_60867.jpg
MAIN: 2026-10-26 14:01:06,569 - INFO - duration: 1.0466744160003145
MAIN: 2026-10-26 14:01:06,569 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/14/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-10-26 14:02:05,170 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 14:02: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-10-26 14:02:05,890 - INFO - taking picture
MAIN: 2026-10-26 14:02:05,890 - INFO - we take 452 photos in this while loop
MAIN: 2026-10-26 14:02:05,890 - INFO - /home/pi/Desktop/images/26102026/14/01/image_26102026_14_02_05_59362.jpg
MAIN: 2026-10-26 14:02:05,890 - INFO - duration: 1.0051029410024057
MAIN: 2026-10-26 14:02:05,890 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:03:05,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-10-26 14:03:05,876 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 14:03:06,577 - INFO - taking picture
MAIN: 2026-10-26 14:03:06,577 - INFO - we take 453 photos in this while loop
MAIN: 2026-10-26 14:03:06,577 - INFO - /home/pi/Desktop/images/26102026/14/02/image_26102026_14_03_05_60711.jpg
MAIN: 2026-10-26 14:03:06,577 - INFO - duration: 0.9811776649949024
MAIN: 2026-10-26 14:03:06,578 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:04: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-10-26 14:04:05,932 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 14:04:06,480 - INFO - taking picture
MAIN: 2026-10-26 14:04:06,481 - INFO - we take 454 photos in this while loop
MAIN: 2026-10-26 14:04:06,481 - INFO - /home/pi/Desktop/images/26102026/14/03/image_26102026_14_04_05_59917.jpg
MAIN: 2026-10-26 14:04:06,481 - INFO - duration: 0.9666565660008928
MAIN: 2026-10-26 14:04:06,481 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:05: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-10-26 14:05:04,913 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 14:05:05,561 - INFO - taking picture
MAIN: 2026-10-26 14:05:05,561 - INFO - we take 455 photos in this while loop
MAIN: 2026-10-26 14:05:05,561 - INFO - /home/pi/Desktop/images/26102026/14/04/image_26102026_14_05_04_59116.jpg
MAIN: 2026-10-26 14:05:05,561 - INFO - duration: 0.9308339709969005
MAIN: 2026-10-26 14:05:05,562 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/14/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-10-26 14:06:05,221 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 14:06:06,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-10-26 14:06:06,849 - INFO - taking picture
MAIN: 2026-10-26 14:06:06,849 - INFO - we take 456 photos in this while loop
MAIN: 2026-10-26 14:06:06,849 - INFO - /home/pi/Desktop/images/26102026/14/05/image_26102026_14_06_06_61226.jpg
MAIN: 2026-10-26 14:06:06,849 - INFO - duration: 0.9923308420038666
MAIN: 2026-10-26 14:06:06,849 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/14/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-10-26 14:07: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-10-26 14: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-10-26 14:07:05,923 - INFO - taking picture
MAIN: 2026-10-26 14:07:05,924 - INFO - we take 457 photos in this while loop
MAIN: 2026-10-26 14:07:05,924 - INFO - /home/pi/Desktop/images/26102026/14/06/image_26102026_14_07_05_59012.jpg
MAIN: 2026-10-26 14:07:05,924 - INFO - duration: 1.0542024500027765
MAIN: 2026-10-26 14:07:05,924 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:08: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-10-26 14:08:05,798 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 14:08:05,822 - INFO - taking picture
MAIN: 2026-10-26 14:08:05,823 - INFO - we take 458 photos in this while loop
MAIN: 2026-10-26 14:08:05,823 - INFO - /home/pi/Desktop/images/26102026/14/07/image_26102026_14_08_05_59981.jpg
MAIN: 2026-10-26 14:08:05,824 - INFO - duration: 0.9730672770019737
MAIN: 2026-10-26 14:08:05,824 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:09: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-10-26 14:09: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-10-26 14:09:06,257 - INFO - taking picture
MAIN: 2026-10-26 14:09:06,258 - INFO - we take 459 photos in this while loop
MAIN: 2026-10-26 14:09:06,258 - INFO - /home/pi/Desktop/images/26102026/14/08/image_26102026_14_09_05_60333.jpg
MAIN: 2026-10-26 14:09:06,258 - INFO - duration: 1.0741773760018987
MAIN: 2026-10-26 14:09:06,258 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:10: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-10-26 14:10:06,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-10-26 14:10:06,331 - INFO - taking picture
MAIN: 2026-10-26 14:10:06,331 - INFO - we take 460 photos in this while loop
MAIN: 2026-10-26 14:10:06,331 - INFO - /home/pi/Desktop/images/26102026/14/09/image_26102026_14_10_05_60143.jpg
MAIN: 2026-10-26 14:10:06,332 - INFO - duration: 1.0044146369982627
MAIN: 2026-10-26 14:10:06,332 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:11:04,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 ! 
MAIN: 2026-10-26 14:11: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-10-26 14:11:06,513 - INFO - taking picture
MAIN: 2026-10-26 14:11:06,513 - INFO - we take 461 photos in this while loop
MAIN: 2026-10-26 14:11:06,513 - INFO - /home/pi/Desktop/images/26102026/14/10/image_26102026_14_11_05_60207.jpg
MAIN: 2026-10-26 14:11:06,514 - INFO - duration: 0.9786811470039538
MAIN: 2026-10-26 14:11:06,514 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:12:05,443 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 14:12:06,060 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 14:12:06,791 - INFO - taking picture
MAIN: 2026-10-26 14:12:06,792 - INFO - we take 462 photos in this while loop
MAIN: 2026-10-26 14:12:06,792 - INFO - /home/pi/Desktop/images/26102026/14/11/image_26102026_14_12_06_60301.jpg
MAIN: 2026-10-26 14:12:06,792 - INFO - duration: 0.9548669380019419
MAIN: 2026-10-26 14:12:06,792 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/14/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-10-26 14:13:05,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-10-26 14:13:05,208 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 14:13:05,736 - INFO - taking picture
MAIN: 2026-10-26 14:13:05,737 - INFO - we take 463 photos in this while loop
MAIN: 2026-10-26 14:13:05,737 - INFO - /home/pi/Desktop/images/26102026/14/12/image_26102026_14_13_05_58932.jpg
MAIN: 2026-10-26 14:13:05,737 - INFO - duration: 0.967449094998301
MAIN: 2026-10-26 14:13:05,737 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:14:05,119 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 14:14:05,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-10-26 14:14:05,815 - INFO - taking picture
MAIN: 2026-10-26 14:14:05,816 - INFO - we take 464 photos in this while loop
MAIN: 2026-10-26 14:14:05,816 - INFO - /home/pi/Desktop/images/26102026/14/13/image_26102026_14_14_05_60115.jpg
MAIN: 2026-10-26 14:14:05,817 - INFO - duration: 0.9311873779952293
MAIN: 2026-10-26 14:14:05,817 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:15: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-10-26 14:15:05,773 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 14:15:06,104 - INFO - taking picture
MAIN: 2026-10-26 14:15:06,104 - INFO - we take 465 photos in this while loop
MAIN: 2026-10-26 14:15:06,105 - INFO - /home/pi/Desktop/images/26102026/14/14/image_26102026_14_15_05_60270.jpg
MAIN: 2026-10-26 14:15:06,105 - INFO - duration: 0.9484773659933126
MAIN: 2026-10-26 14:15:06,105 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:16: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-10-26 14:16:05,620 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 14:16:06,351 - INFO - taking picture
MAIN: 2026-10-26 14:16:06,352 - INFO - we take 466 photos in this while loop
MAIN: 2026-10-26 14:16:06,352 - INFO - /home/pi/Desktop/images/26102026/14/15/image_26102026_14_16_05_60240.jpg
MAIN: 2026-10-26 14:16:06,352 - INFO - duration: 0.9555012780037941
MAIN: 2026-10-26 14:16:06,352 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/14/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-10-26 14:17: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-10-26 14:17:05,798 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 14:17:06,483 - INFO - taking picture
MAIN: 2026-10-26 14:17:06,484 - INFO - we take 467 photos in this while loop
MAIN: 2026-10-26 14:17:06,484 - INFO - /home/pi/Desktop/images/26102026/14/16/image_26102026_14_17_05_60131.jpg
MAIN: 2026-10-26 14:17:06,484 - INFO - duration: 0.9558042600037879
MAIN: 2026-10-26 14:17:06,484 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:18:05,241 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 14:18:05,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-10-26 14:18:06,527 - INFO - taking picture
MAIN: 2026-10-26 14:18:06,527 - INFO - we take 468 photos in this while loop
MAIN: 2026-10-26 14:18:06,528 - INFO - /home/pi/Desktop/images/26102026/14/17/image_26102026_14_18_05_60089.jpg
MAIN: 2026-10-26 14:18:06,528 - INFO - duration: 0.9096188910043566
MAIN: 2026-10-26 14:18:06,528 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/14/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-10-26 14:19: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-10-26 14:19: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-10-26 14:19:06,699 - INFO - taking picture
MAIN: 2026-10-26 14:19:06,699 - INFO - we take 469 photos in this while loop
MAIN: 2026-10-26 14:19:06,699 - INFO - /home/pi/Desktop/images/26102026/14/18/image_26102026_14_19_06_60118.jpg
MAIN: 2026-10-26 14:19:06,699 - INFO - duration: 0.963365925999824
MAIN: 2026-10-26 14:19:06,700 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:20:04,996 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 14:20:05,716 - INFO - taking picture
MAIN: 2026-10-26 14:20:05,717 - INFO - we take 470 photos in this while loop
MAIN: 2026-10-26 14:20:05,717 - INFO - /home/pi/Desktop/images/26102026/14/19/image_26102026_14_20_04_59020.jpg
MAIN: 2026-10-26 14:20:05,717 - INFO - duration: 0.9600324190032552
MAIN: 2026-10-26 14:20:05,717 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/14/20'
MAIN: 2026-10-26 14:20:05,960 - 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-10-26 14:21:05,213 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 14:21: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-10-26 14:21:05,907 - INFO - taking picture
MAIN: 2026-10-26 14:21:05,907 - INFO - we take 471 photos in this while loop
MAIN: 2026-10-26 14:21:05,907 - INFO - /home/pi/Desktop/images/26102026/14/20/image_26102026_14_21_05_60182.jpg
MAIN: 2026-10-26 14:21:05,907 - INFO - duration: 0.9672152700004517
MAIN: 2026-10-26 14:21:05,907 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:22: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-10-26 14:22:05,832 - INFO - taking picture
MAIN: 2026-10-26 14:22:05,833 - INFO - we take 472 photos in this while loop
MAIN: 2026-10-26 14:22:05,833 - INFO - /home/pi/Desktop/images/26102026/14/21/image_26102026_14_22_05_59980.jpg
MAIN: 2026-10-26 14:22:05,833 - INFO - duration: 0.9125199650006834
MAIN: 2026-10-26 14:22:05,833 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/14/22'
MAIN: 2026-10-26 14:22:05,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 14:23:04,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-10-26 14:23: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-10-26 14:23:06,023 - INFO - taking picture
MAIN: 2026-10-26 14:23:06,023 - INFO - we take 473 photos in this while loop
MAIN: 2026-10-26 14:23:06,023 - INFO - /home/pi/Desktop/images/26102026/14/22/image_26102026_14_23_05_60192.jpg
MAIN: 2026-10-26 14:23:06,023 - INFO - duration: 0.9109885029974976
MAIN: 2026-10-26 14:23:06,024 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:24: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-10-26 14:24: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-10-26 14:24:06,026 - INFO - taking picture
MAIN: 2026-10-26 14:24:06,027 - INFO - we take 474 photos in this while loop
MAIN: 2026-10-26 14:24:06,027 - INFO - /home/pi/Desktop/images/26102026/14/23/image_26102026_14_24_05_59890.jpg
MAIN: 2026-10-26 14:24:06,027 - INFO - duration: 1.0244267380039673
MAIN: 2026-10-26 14:24:06,027 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:25:05,251 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 14:25:05,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-10-26 14:25:06,502 - INFO - taking picture
MAIN: 2026-10-26 14:25:06,502 - INFO - we take 475 photos in this while loop
MAIN: 2026-10-26 14:25:06,502 - INFO - /home/pi/Desktop/images/26102026/14/24/image_26102026_14_25_05_60547.jpg
MAIN: 2026-10-26 14:25:06,502 - INFO - duration: 0.9521196800051257
MAIN: 2026-10-26 14:25:06,503 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:26: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-10-26 14:26: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-10-26 14:26:06,801 - INFO - taking picture
MAIN: 2026-10-26 14:26:06,802 - INFO - we take 476 photos in this while loop
MAIN: 2026-10-26 14:26:06,802 - INFO - /home/pi/Desktop/images/26102026/14/25/image_26102026_14_26_06_60231.jpg
MAIN: 2026-10-26 14:26:06,802 - INFO - duration: 1.019926093002141
MAIN: 2026-10-26 14:26:06,802 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:27:05,200 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 14:27: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-10-26 14:27:05,935 - INFO - taking picture
MAIN: 2026-10-26 14:27:05,935 - INFO - we take 477 photos in this while loop
MAIN: 2026-10-26 14:27:05,935 - INFO - /home/pi/Desktop/images/26102026/14/26/image_26102026_14_27_05_59194.jpg
MAIN: 2026-10-26 14:27:05,936 - INFO - duration: 0.9586520540033234
MAIN: 2026-10-26 14:27:05,936 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:28:05,202 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 14:28:05,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-10-26 14:28:05,912 - INFO - taking picture
MAIN: 2026-10-26 14:28:05,913 - INFO - we take 478 photos in this while loop
MAIN: 2026-10-26 14:28:05,913 - INFO - /home/pi/Desktop/images/26102026/14/27/image_26102026_14_28_05_59991.jpg
MAIN: 2026-10-26 14:28:05,913 - INFO - duration: 0.9449663720006356
MAIN: 2026-10-26 14:28:05,913 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:29:04,642 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 14:29: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-10-26 14:29:06,198 - INFO - taking picture
MAIN: 2026-10-26 14:29:06,198 - INFO - we take 479 photos in this while loop
MAIN: 2026-10-26 14:29:06,198 - INFO - /home/pi/Desktop/images/26102026/14/28/image_26102026_14_29_05_60190.jpg
MAIN: 2026-10-26 14:29:06,198 - INFO - duration: 1.0392461960000219
MAIN: 2026-10-26 14:29:06,198 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/14/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-10-26 14:30:05,331 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 14:30: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-10-26 14:30:06,525 - INFO - taking picture
MAIN: 2026-10-26 14:30:06,525 - INFO - we take 480 photos in this while loop
MAIN: 2026-10-26 14:30:06,525 - INFO - /home/pi/Desktop/images/26102026/14/29/image_26102026_14_30_05_60444.jpg
MAIN: 2026-10-26 14:30:06,526 - INFO - duration: 0.9225942580014816
MAIN: 2026-10-26 14:30:06,526 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/14/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-10-26 14:31:04,929 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 14:31: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-10-26 14:31:06,621 - INFO - taking picture
MAIN: 2026-10-26 14:31:06,622 - INFO - we take 481 photos in this while loop
MAIN: 2026-10-26 14:31:06,622 - INFO - /home/pi/Desktop/images/26102026/14/30/image_26102026_14_31_05_60052.jpg
MAIN: 2026-10-26 14:31:06,622 - INFO - duration: 0.9661083350001718
MAIN: 2026-10-26 14:31:06,622 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:32: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-10-26 14:32:06,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-10-26 14:32:06,779 - INFO - taking picture
MAIN: 2026-10-26 14:32:06,779 - INFO - we take 482 photos in this while loop
MAIN: 2026-10-26 14:32:06,780 - INFO - /home/pi/Desktop/images/26102026/14/31/image_26102026_14_32_06_60180.jpg
MAIN: 2026-10-26 14:32:06,780 - INFO - duration: 0.9431263290025527
MAIN: 2026-10-26 14:32:06,780 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:33: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-10-26 14:33:05,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-10-26 14:33:05,784 - INFO - taking picture
MAIN: 2026-10-26 14:33:05,784 - INFO - we take 483 photos in this while loop
MAIN: 2026-10-26 14:33:05,784 - INFO - /home/pi/Desktop/images/26102026/14/32/image_26102026_14_33_05_58945.jpg
MAIN: 2026-10-26 14:33:05,784 - INFO - duration: 1.002574164995167
MAIN: 2026-10-26 14:33:05,785 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:34: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-10-26 14:34: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-10-26 14:34:05,805 - INFO - taking picture
MAIN: 2026-10-26 14:34:05,805 - INFO - we take 484 photos in this while loop
MAIN: 2026-10-26 14:34:05,805 - INFO - /home/pi/Desktop/images/26102026/14/33/image_26102026_14_34_05_60046.jpg
MAIN: 2026-10-26 14:34:05,806 - INFO - duration: 0.976922743000614
MAIN: 2026-10-26 14:34:05,806 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:35: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-10-26 14:35:06,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-10-26 14:35:06,428 - INFO - taking picture
MAIN: 2026-10-26 14:35:06,429 - INFO - we take 485 photos in this while loop
MAIN: 2026-10-26 14:35:06,429 - INFO - /home/pi/Desktop/images/26102026/14/34/image_26102026_14_35_05_60622.jpg
MAIN: 2026-10-26 14:35:06,429 - INFO - duration: 0.9773838089968194
MAIN: 2026-10-26 14:35:06,429 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:36:05,009 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 14:36:05,085 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 14:36:05,715 - INFO - taking picture
MAIN: 2026-10-26 14:36:05,715 - INFO - we take 486 photos in this while loop
MAIN: 2026-10-26 14:36:05,715 - INFO - /home/pi/Desktop/images/26102026/14/35/image_26102026_14_36_05_59264.jpg
MAIN: 2026-10-26 14:36:05,715 - INFO - duration: 0.9993571130034979
MAIN: 2026-10-26 14:36:05,716 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:37:04,956 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 14:37: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-10-26 14:37:05,827 - INFO - taking picture
MAIN: 2026-10-26 14:37:05,827 - INFO - we take 487 photos in this while loop
MAIN: 2026-10-26 14:37:05,827 - INFO - /home/pi/Desktop/images/26102026/14/36/image_26102026_14_37_05_60122.jpg
MAIN: 2026-10-26 14:37:05,827 - INFO - duration: 0.9883700950013008
MAIN: 2026-10-26 14:37:05,828 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:38: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-10-26 14:38:05,538 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 14:38:06,028 - INFO - taking picture
MAIN: 2026-10-26 14:38:06,029 - INFO - we take 488 photos in this while loop
MAIN: 2026-10-26 14:38:06,029 - INFO - /home/pi/Desktop/images/26102026/14/37/image_26102026_14_38_05_60232.jpg
MAIN: 2026-10-26 14:38:06,029 - INFO - duration: 0.9577490599986049
MAIN: 2026-10-26 14:38:06,029 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:39: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-10-26 14:39:05,602 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 14:39:06,154 - INFO - taking picture
MAIN: 2026-10-26 14:39:06,155 - INFO - we take 489 photos in this while loop
MAIN: 2026-10-26 14:39:06,155 - INFO - /home/pi/Desktop/images/26102026/14/38/image_26102026_14_39_05_60090.jpg
MAIN: 2026-10-26 14:39:06,155 - INFO - duration: 0.9926545439957408
MAIN: 2026-10-26 14:39:06,155 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:40: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-10-26 14:40: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-10-26 14:40:06,461 - INFO - taking picture
MAIN: 2026-10-26 14:40:06,462 - INFO - we take 490 photos in this while loop
MAIN: 2026-10-26 14:40:06,462 - INFO - /home/pi/Desktop/images/26102026/14/39/image_26102026_14_40_05_60359.jpg
MAIN: 2026-10-26 14:40:06,462 - INFO - duration: 0.9397286329985945
MAIN: 2026-10-26 14:40:06,462 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:41: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-10-26 14:41:05,729 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 14:41:06,413 - INFO - taking picture
MAIN: 2026-10-26 14:41:06,413 - INFO - we take 491 photos in this while loop
MAIN: 2026-10-26 14:41:06,413 - INFO - /home/pi/Desktop/images/26102026/14/40/image_26102026_14_41_05_59942.jpg
MAIN: 2026-10-26 14:41:06,413 - INFO - duration: 0.9488000920027844
MAIN: 2026-10-26 14:41:06,413 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:42:05,084 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 14:42: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-10-26 14:42:06,537 - INFO - taking picture
MAIN: 2026-10-26 14:42:06,538 - INFO - we take 492 photos in this while loop
MAIN: 2026-10-26 14:42:06,538 - INFO - /home/pi/Desktop/images/26102026/14/41/image_26102026_14_42_05_60093.jpg
MAIN: 2026-10-26 14:42:06,538 - INFO - duration: 0.9799853380027344
MAIN: 2026-10-26 14:42:06,538 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14: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-10-26 14:43:05,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-10-26 14:43:06,582 - INFO - taking picture
MAIN: 2026-10-26 14:43:06,582 - INFO - we take 493 photos in this while loop
MAIN: 2026-10-26 14:43:06,582 - INFO - /home/pi/Desktop/images/26102026/14/42/image_26102026_14_43_05_60065.jpg
MAIN: 2026-10-26 14:43:06,583 - INFO - duration: 0.9594129399993108
MAIN: 2026-10-26 14:43:06,583 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:44:05,425 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 14:44:05,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-10-26 14:44:06,666 - INFO - taking picture
MAIN: 2026-10-26 14:44:06,667 - INFO - we take 494 photos in this while loop
MAIN: 2026-10-26 14:44:06,667 - INFO - /home/pi/Desktop/images/26102026/14/43/image_26102026_14_44_05_60135.jpg
MAIN: 2026-10-26 14:44:06,667 - INFO - duration: 0.9083839189988794
MAIN: 2026-10-26 14:44:06,667 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:45:05,071 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 14:45:05,785 - INFO - taking picture
MAIN: 2026-10-26 14:45:05,785 - INFO - we take 495 photos in this while loop
MAIN: 2026-10-26 14:45:05,785 - INFO - /home/pi/Desktop/images/26102026/14/44/image_26102026_14_45_05_59078.jpg
MAIN: 2026-10-26 14:45:05,785 - INFO - duration: 0.9480113399986294
MAIN: 2026-10-26 14:45:05,785 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/14/45'
MAIN: 2026-10-26 14:45: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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 14:46: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-10-26 14:46: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-10-26 14:46:05,700 - INFO - taking picture
MAIN: 2026-10-26 14:46:05,700 - INFO - we take 496 photos in this while loop
MAIN: 2026-10-26 14:46:05,701 - INFO - /home/pi/Desktop/images/26102026/14/45/image_26102026_14_46_05_59922.jpg
MAIN: 2026-10-26 14:46:05,701 - INFO - duration: 0.9409723819990177
MAIN: 2026-10-26 14:46:05,701 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:47: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-10-26 14:47: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-10-26 14:47:06,604 - INFO - taking picture
MAIN: 2026-10-26 14:47:06,604 - INFO - we take 497 photos in this while loop
MAIN: 2026-10-26 14:47:06,604 - INFO - /home/pi/Desktop/images/26102026/14/46/image_26102026_14_47_05_60871.jpg
MAIN: 2026-10-26 14:47:06,604 - INFO - duration: 0.9731336580007337
MAIN: 2026-10-26 14:47:06,605 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:48: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-10-26 14:48:06,007 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 14:48:06,757 - INFO - taking picture
MAIN: 2026-10-26 14:48:06,757 - INFO - we take 498 photos in this while loop
MAIN: 2026-10-26 14:48:06,757 - INFO - /home/pi/Desktop/images/26102026/14/47/image_26102026_14_48_06_60099.jpg
MAIN: 2026-10-26 14:48:06,757 - INFO - duration: 1.0265550429976429
MAIN: 2026-10-26 14:48:06,758 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/14/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-10-26 14:49: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

MAIN: 2026-10-26 14:49: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-10-26 14:49:05,599 - INFO - taking picture
MAIN: 2026-10-26 14:49:05,599 - INFO - we take 499 photos in this while loop
MAIN: 2026-10-26 14:49:05,600 - INFO - /home/pi/Desktop/images/26102026/14/48/image_26102026_14_49_04_58917.jpg
MAIN: 2026-10-26 14:49:05,600 - INFO - duration: 0.9514178190001985
MAIN: 2026-10-26 14:49:05,600 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:50:05,151 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 14:50:05,855 - INFO - taking picture
MAIN: 2026-10-26 14:50:05,856 - INFO - we take 500 photos in this while loop
MAIN: 2026-10-26 14:50:05,856 - INFO - /home/pi/Desktop/images/26102026/14/49/image_26102026_14_50_05_60260.jpg
MAIN: 2026-10-26 14:50:05,856 - INFO - duration: 0.9467956470034551
MAIN: 2026-10-26 14:50:05,856 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/14/50'
MAIN: 2026-10-26 14:50:05,881 - 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-10-26 14:51: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-10-26 14:51: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-10-26 14:51:05,961 - INFO - taking picture
MAIN: 2026-10-26 14:51:05,962 - INFO - we take 501 photos in this while loop
MAIN: 2026-10-26 14:51:05,962 - INFO - /home/pi/Desktop/images/26102026/14/50/image_26102026_14_51_05_60074.jpg
MAIN: 2026-10-26 14:51:05,962 - INFO - duration: 0.9777848239973537
MAIN: 2026-10-26 14:51:05,962 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:52:05,691 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 14:52: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-10-26 14:52:06,514 - INFO - taking picture
MAIN: 2026-10-26 14:52:06,514 - INFO - we take 502 photos in this while loop
MAIN: 2026-10-26 14:52:06,514 - INFO - /home/pi/Desktop/images/26102026/14/51/image_26102026_14_52_05_60559.jpg
MAIN: 2026-10-26 14:52:06,514 - INFO - duration: 0.9708484360016882
MAIN: 2026-10-26 14:52:06,514 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:53:04,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-10-26 14:53:05,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-10-26 14:53:06,670 - INFO - taking picture
MAIN: 2026-10-26 14:53:06,670 - INFO - we take 503 photos in this while loop
MAIN: 2026-10-26 14:53:06,670 - INFO - /home/pi/Desktop/images/26102026/14/52/image_26102026_14_53_05_60079.jpg
MAIN: 2026-10-26 14:53:06,670 - INFO - duration: 1.047635591996368
MAIN: 2026-10-26 14:53:06,671 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:54: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-10-26 14:54:05,868 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 14:54:06,585 - INFO - taking picture
MAIN: 2026-10-26 14:54:06,585 - INFO - we take 504 photos in this while loop
MAIN: 2026-10-26 14:54:06,585 - INFO - /home/pi/Desktop/images/26102026/14/53/image_26102026_14_54_05_60023.jpg
MAIN: 2026-10-26 14:54:06,585 - INFO - duration: 0.9386704810021911
MAIN: 2026-10-26 14:54:06,585 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:55: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-10-26 14:55: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-10-26 14:55:06,668 - INFO - taking picture
MAIN: 2026-10-26 14:55:06,668 - INFO - we take 505 photos in this while loop
MAIN: 2026-10-26 14:55:06,668 - INFO - /home/pi/Desktop/images/26102026/14/54/image_26102026_14_55_05_59986.jpg
MAIN: 2026-10-26 14:55:06,668 - INFO - duration: 1.0355658710032003
MAIN: 2026-10-26 14:55:06,669 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:56: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-10-26 14:56:06,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-10-26 14:56:06,828 - INFO - taking picture
MAIN: 2026-10-26 14:56:06,828 - INFO - we take 506 photos in this while loop
MAIN: 2026-10-26 14:56:06,828 - INFO - /home/pi/Desktop/images/26102026/14/55/image_26102026_14_56_06_60233.jpg
MAIN: 2026-10-26 14:56:06,828 - INFO - duration: 0.9619075180016807
MAIN: 2026-10-26 14:56:06,829 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:57:05,240 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 14:57: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-10-26 14:57:06,209 - INFO - taking picture
MAIN: 2026-10-26 14:57:06,210 - INFO - we take 507 photos in this while loop
MAIN: 2026-10-26 14:57:06,210 - INFO - /home/pi/Desktop/images/26102026/14/56/image_26102026_14_57_05_59372.jpg
MAIN: 2026-10-26 14:57:06,210 - INFO - duration: 0.9708068140025716
MAIN: 2026-10-26 14:57:06,210 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:58: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-10-26 14:58: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-10-26 14:58:06,012 - INFO - taking picture
MAIN: 2026-10-26 14:58:06,013 - INFO - we take 508 photos in this while loop
MAIN: 2026-10-26 14:58:06,013 - INFO - /home/pi/Desktop/images/26102026/14/57/image_26102026_14_58_05_59829.jpg
MAIN: 2026-10-26 14:58:06,013 - INFO - duration: 0.944781755002623
MAIN: 2026-10-26 14:58:06,013 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 14:59: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-10-26 14:59: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-10-26 14:59:06,109 - INFO - taking picture
MAIN: 2026-10-26 14:59:06,110 - INFO - we take 509 photos in this while loop
MAIN: 2026-10-26 14:59:06,110 - INFO - /home/pi/Desktop/images/26102026/14/58/image_26102026_14_59_05_60075.jpg
MAIN: 2026-10-26 14:59:06,110 - INFO - duration: 0.9663882330060005
MAIN: 2026-10-26 14:59:06,110 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/14/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-10-26 15:00:05,567 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 15:00: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-10-26 15:00:06,406 - INFO - taking picture
MAIN: 2026-10-26 15:00:06,407 - INFO - we take 510 photos in this while loop
MAIN: 2026-10-26 15:00:06,407 - INFO - /home/pi/Desktop/images/26102026/14/59/image_26102026_15_00_05_60262.jpg
MAIN: 2026-10-26 15:00:06,407 - INFO - duration: 1.000436449998233
MAIN: 2026-10-26 15:00:06,407 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/15/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-10-26 15:01: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-10-26 15:01:05,615 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:01:06,296 - INFO - taking picture
MAIN: 2026-10-26 15:01:06,296 - INFO - we take 511 photos in this while loop
MAIN: 2026-10-26 15:01:06,296 - INFO - /home/pi/Desktop/images/26102026/15/00/image_26102026_15_01_05_59986.jpg
MAIN: 2026-10-26 15:01:06,297 - INFO - duration: 0.9041038329960429
MAIN: 2026-10-26 15:01:06,297 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:02: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-10-26 15:02:05,688 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 15:02:06,260 - INFO - taking picture
MAIN: 2026-10-26 15:02:06,260 - INFO - we take 512 photos in this while loop
MAIN: 2026-10-26 15:02:06,261 - INFO - /home/pi/Desktop/images/26102026/15/01/image_26102026_15_02_05_59917.jpg
MAIN: 2026-10-26 15:02:06,261 - INFO - duration: 0.9511634680020506
MAIN: 2026-10-26 15:02:06,261 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:03: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-10-26 15:03: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-10-26 15:03:06,391 - INFO - taking picture
MAIN: 2026-10-26 15:03:06,391 - INFO - we take 513 photos in this while loop
MAIN: 2026-10-26 15:03:06,392 - INFO - /home/pi/Desktop/images/26102026/15/02/image_26102026_15_03_05_60168.jpg
MAIN: 2026-10-26 15:03:06,392 - INFO - duration: 0.9133179410055163
MAIN: 2026-10-26 15:03:06,392 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:04: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-10-26 15:04:05,841 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 15:04:06,334 - INFO - taking picture
MAIN: 2026-10-26 15:04:06,334 - INFO - we take 514 photos in this while loop
MAIN: 2026-10-26 15:04:06,335 - INFO - /home/pi/Desktop/images/26102026/15/03/image_26102026_15_04_05_59887.jpg
MAIN: 2026-10-26 15:04:06,335 - INFO - duration: 0.9687265450047562
MAIN: 2026-10-26 15:04:06,335 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/15/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-10-26 15:05: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-10-26 15:05: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-10-26 15:05:06,597 - INFO - taking picture
MAIN: 2026-10-26 15:05:06,598 - INFO - we take 515 photos in this while loop
MAIN: 2026-10-26 15:05:06,598 - INFO - /home/pi/Desktop/images/26102026/15/04/image_26102026_15_05_05_60267.jpg
MAIN: 2026-10-26 15:05:06,598 - INFO - duration: 0.9640471489983611
MAIN: 2026-10-26 15:05:06,598 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:06: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-10-26 15:06:05,915 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:06:06,670 - INFO - taking picture
MAIN: 2026-10-26 15:06:06,670 - INFO - we take 516 photos in this while loop
MAIN: 2026-10-26 15:06:06,670 - INFO - /home/pi/Desktop/images/26102026/15/05/image_26102026_15_06_05_59999.jpg
MAIN: 2026-10-26 15:06:06,671 - INFO - duration: 1.0371297710007639
MAIN: 2026-10-26 15:06:06,671 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:07:05,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-10-26 15:07: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-10-26 15:07:06,708 - INFO - taking picture
MAIN: 2026-10-26 15:07:06,708 - INFO - we take 517 photos in this while loop
MAIN: 2026-10-26 15:07:06,708 - INFO - /home/pi/Desktop/images/26102026/15/06/image_26102026_15_07_06_60117.jpg
MAIN: 2026-10-26 15:07:06,708 - INFO - duration: 0.9576851250021718
MAIN: 2026-10-26 15:07:06,708 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:08:04,868 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:08: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-10-26 15:08:05,556 - INFO - taking picture
MAIN: 2026-10-26 15:08:05,556 - INFO - we take 518 photos in this while loop
MAIN: 2026-10-26 15:08:05,556 - INFO - /home/pi/Desktop/images/26102026/15/07/image_26102026_15_08_04_58879.jpg
MAIN: 2026-10-26 15:08:05,556 - INFO - duration: 0.9263821759959683
MAIN: 2026-10-26 15:08:05,557 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:09:05,024 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:09: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-10-26 15:09:05,752 - INFO - taking picture
MAIN: 2026-10-26 15:09:05,752 - INFO - we take 519 photos in this while loop
MAIN: 2026-10-26 15:09:05,752 - INFO - /home/pi/Desktop/images/26102026/15/08/image_26102026_15_09_05_60114.jpg
MAIN: 2026-10-26 15:09:05,752 - INFO - duration: 1.007714063001913
MAIN: 2026-10-26 15:09:05,753 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:10: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-10-26 15:10:06,069 - INFO - taking picture
MAIN: 2026-10-26 15:10:06,069 - INFO - we take 520 photos in this while loop
MAIN: 2026-10-26 15:10:06,069 - INFO - /home/pi/Desktop/images/26102026/15/09/image_26102026_15_10_05_60332.jpg
MAIN: 2026-10-26 15:10:06,069 - INFO - duration: 0.9915700100027607
MAIN: 2026-10-26 15:10:06,069 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/15/10'
MAIN: 2026-10-26 15:10:06,130 - 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-10-26 15:11:04,993 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 15:11:05,689 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:11:06,372 - INFO - taking picture
MAIN: 2026-10-26 15:11:06,372 - INFO - we take 521 photos in this while loop
MAIN: 2026-10-26 15:11:06,372 - INFO - /home/pi/Desktop/images/26102026/15/10/image_26102026_15_11_05_60342.jpg
MAIN: 2026-10-26 15:11:06,372 - INFO - duration: 0.9517194289946929
MAIN: 2026-10-26 15:11:06,373 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:12:05,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-10-26 15:12:05,875 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:12:06,561 - INFO - taking picture
MAIN: 2026-10-26 15:12:06,561 - INFO - we take 522 photos in this while loop
MAIN: 2026-10-26 15:12:06,561 - INFO - /home/pi/Desktop/images/26102026/15/11/image_26102026_15_12_05_60215.jpg
MAIN: 2026-10-26 15:12:06,561 - INFO - duration: 0.925191262998851
MAIN: 2026-10-26 15:12:06,562 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:13: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-10-26 15:13: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-10-26 15:13:06,701 - INFO - taking picture
MAIN: 2026-10-26 15:13:06,702 - INFO - we take 523 photos in this while loop
MAIN: 2026-10-26 15:13:06,702 - INFO - /home/pi/Desktop/images/26102026/15/12/image_26102026_15_13_06_60157.jpg
MAIN: 2026-10-26 15:13:06,702 - INFO - duration: 0.9079229260023567
MAIN: 2026-10-26 15:13:06,702 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:14: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-10-26 15:14: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-10-26 15:14:06,603 - INFO - taking picture
MAIN: 2026-10-26 15:14:06,603 - INFO - we take 524 photos in this while loop
MAIN: 2026-10-26 15:14:06,603 - INFO - /home/pi/Desktop/images/26102026/15/13/image_26102026_15_14_05_59841.jpg
MAIN: 2026-10-26 15:14:06,603 - INFO - duration: 0.9678754259948619
MAIN: 2026-10-26 15:14:06,603 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:15:05,155 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 15:15:06,030 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:15:06,713 - INFO - taking picture
MAIN: 2026-10-26 15:15:06,713 - INFO - we take 525 photos in this while loop
MAIN: 2026-10-26 15:15:06,714 - INFO - /home/pi/Desktop/images/26102026/15/14/image_26102026_15_15_06_60129.jpg
MAIN: 2026-10-26 15:15:06,714 - INFO - duration: 0.9493983240026864
MAIN: 2026-10-26 15:15:06,714 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:16:04,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-10-26 15:16: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-10-26 15:16:05,687 - INFO - taking picture
MAIN: 2026-10-26 15:16:05,687 - INFO - we take 526 photos in this while loop
MAIN: 2026-10-26 15:16:05,687 - INFO - /home/pi/Desktop/images/26102026/15/15/image_26102026_15_16_04_58886.jpg
MAIN: 2026-10-26 15:16:05,687 - INFO - duration: 1.0368329619959695
MAIN: 2026-10-26 15:16:05,688 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:17:05,136 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:17: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-10-26 15:17:05,829 - INFO - taking picture
MAIN: 2026-10-26 15:17:05,830 - INFO - we take 527 photos in this while loop
MAIN: 2026-10-26 15:17:05,830 - INFO - /home/pi/Desktop/images/26102026/15/16/image_26102026_15_17_05_60212.jpg
MAIN: 2026-10-26 15:17:05,830 - INFO - duration: 0.9670941939984914
MAIN: 2026-10-26 15:17:05,830 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:18:05,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-10-26 15:18: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-10-26 15:18:06,703 - INFO - taking picture
MAIN: 2026-10-26 15:18:06,703 - INFO - we take 528 photos in this while loop
MAIN: 2026-10-26 15:18:06,703 - INFO - /home/pi/Desktop/images/26102026/15/17/image_26102026_15_18_06_60890.jpg
MAIN: 2026-10-26 15:18:06,703 - INFO - duration: 0.949493138003163
MAIN: 2026-10-26 15:18:06,703 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:19: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-10-26 15:19: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-10-26 15:19:05,777 - INFO - taking picture
MAIN: 2026-10-26 15:19:05,777 - INFO - we take 529 photos in this while loop
MAIN: 2026-10-26 15:19:05,777 - INFO - /home/pi/Desktop/images/26102026/15/18/image_26102026_15_19_05_59062.jpg
MAIN: 2026-10-26 15:19:05,778 - INFO - duration: 0.9618783850019099
MAIN: 2026-10-26 15:19:05,778 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/15/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-10-26 15:20: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-10-26 15:20: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 ! 
MAIN: 2026-10-26 15:20:05,855 - INFO - taking picture
MAIN: 2026-10-26 15:20:05,855 - INFO - we take 530 photos in this while loop
MAIN: 2026-10-26 15:20:05,855 - INFO - /home/pi/Desktop/images/26102026/15/19/image_26102026_15_20_05_60022.jpg
MAIN: 2026-10-26 15:20:05,855 - INFO - duration: 1.0170807319955202
MAIN: 2026-10-26 15:20:05,856 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/15/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-10-26 15:21: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-10-26 15:21:05,516 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:21:06,201 - INFO - taking picture
MAIN: 2026-10-26 15:21:06,201 - INFO - we take 531 photos in this while loop
MAIN: 2026-10-26 15:21:06,201 - INFO - /home/pi/Desktop/images/26102026/15/20/image_26102026_15_21_05_60454.jpg
MAIN: 2026-10-26 15:21:06,201 - INFO - duration: 0.908971675002249
MAIN: 2026-10-26 15:21:06,202 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:22:05,186 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 15:22: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-10-26 15:22:06,263 - INFO - taking picture
MAIN: 2026-10-26 15:22:06,264 - INFO - we take 532 photos in this while loop
MAIN: 2026-10-26 15:22:06,264 - INFO - /home/pi/Desktop/images/26102026/15/21/image_26102026_15_22_05_60062.jpg
MAIN: 2026-10-26 15:22:06,264 - INFO - duration: 0.9090644940006314
MAIN: 2026-10-26 15:22:06,264 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:23: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-10-26 15:23: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-10-26 15:23:06,197 - INFO - taking picture
MAIN: 2026-10-26 15:23:06,197 - INFO - we take 533 photos in this while loop
MAIN: 2026-10-26 15:23:06,197 - INFO - /home/pi/Desktop/images/26102026/15/22/image_26102026_15_23_05_59942.jpg
MAIN: 2026-10-26 15:23:06,197 - INFO - duration: 0.8996461369970348
MAIN: 2026-10-26 15:23:06,197 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:24: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-10-26 15: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-10-26 15:24:06,363 - INFO - taking picture
MAIN: 2026-10-26 15:24:06,363 - INFO - we take 534 photos in this while loop
MAIN: 2026-10-26 15:24:06,363 - INFO - /home/pi/Desktop/images/26102026/15/23/image_26102026_15_24_05_60056.jpg
MAIN: 2026-10-26 15:24:06,363 - INFO - duration: 1.0092586040045717
MAIN: 2026-10-26 15:24:06,364 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:25:05,689 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:25:05,996 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 15:25:06,378 - INFO - taking picture
MAIN: 2026-10-26 15:25:06,378 - INFO - we take 535 photos in this while loop
MAIN: 2026-10-26 15:25:06,378 - INFO - /home/pi/Desktop/images/26102026/15/24/image_26102026_15_25_05_60114.jpg
MAIN: 2026-10-26 15:25:06,378 - INFO - duration: 0.9099157070013462
MAIN: 2026-10-26 15:25:06,379 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:26:05,380 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:26:05,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-10-26 15:26:06,081 - INFO - taking picture
MAIN: 2026-10-26 15:26:06,082 - INFO - we take 536 photos in this while loop
MAIN: 2026-10-26 15:26:06,082 - INFO - /home/pi/Desktop/images/26102026/15/25/image_26102026_15_26_05_59676.jpg
MAIN: 2026-10-26 15:26:06,082 - INFO - duration: 0.9374166829948081
MAIN: 2026-10-26 15:26:06,082 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:27: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-10-26 15:27:05,836 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:27:06,515 - INFO - taking picture
MAIN: 2026-10-26 15:27:06,515 - INFO - we take 537 photos in this while loop
MAIN: 2026-10-26 15:27:06,515 - INFO - /home/pi/Desktop/images/26102026/15/26/image_26102026_15_27_05_60431.jpg
MAIN: 2026-10-26 15:27:06,515 - INFO - duration: 0.939391608000733
MAIN: 2026-10-26 15:27:06,515 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:28: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-10-26 15:28:05,667 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:28:06,349 - INFO - taking picture
MAIN: 2026-10-26 15:28:06,349 - INFO - we take 538 photos in this while loop
MAIN: 2026-10-26 15:28:06,349 - INFO - /home/pi/Desktop/images/26102026/15/27/image_26102026_15_28_05_59857.jpg
MAIN: 2026-10-26 15:28:06,349 - INFO - duration: 0.9154476350013283
MAIN: 2026-10-26 15:28:06,350 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:29: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-10-26 15:29: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-10-26 15:29:06,459 - INFO - taking picture
MAIN: 2026-10-26 15:29:06,459 - INFO - we take 539 photos in this while loop
MAIN: 2026-10-26 15:29:06,460 - INFO - /home/pi/Desktop/images/26102026/15/28/image_26102026_15_29_05_60119.jpg
MAIN: 2026-10-26 15:29:06,460 - INFO - duration: 0.9063526209938573
MAIN: 2026-10-26 15:29:06,460 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:30:05,782 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 15:30: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-10-26 15:30:06,515 - INFO - taking picture
MAIN: 2026-10-26 15:30:06,516 - INFO - we take 540 photos in this while loop
MAIN: 2026-10-26 15:30:06,516 - INFO - /home/pi/Desktop/images/26102026/15/29/image_26102026_15_30_05_60007.jpg
MAIN: 2026-10-26 15:30:06,516 - INFO - duration: 0.9552879379989463
MAIN: 2026-10-26 15:30:06,516 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:31: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-10-26 15:31: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-10-26 15:31:06,452 - INFO - taking picture
MAIN: 2026-10-26 15:31:06,452 - INFO - we take 541 photos in this while loop
MAIN: 2026-10-26 15:31:06,452 - INFO - /home/pi/Desktop/images/26102026/15/30/image_26102026_15_31_05_59857.jpg
MAIN: 2026-10-26 15:31:06,453 - INFO - duration: 1.034029909002129
MAIN: 2026-10-26 15:31:06,453 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:32:04,996 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 15:32: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-10-26 15:32:05,718 - INFO - taking picture
MAIN: 2026-10-26 15:32:05,718 - INFO - we take 542 photos in this while loop
MAIN: 2026-10-26 15:32:05,718 - INFO - /home/pi/Desktop/images/26102026/15/31/image_26102026_15_32_05_59320.jpg
MAIN: 2026-10-26 15:32:05,718 - INFO - duration: 0.9788161920005223
MAIN: 2026-10-26 15:32:05,718 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:33:04,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-10-26 15:33: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-10-26 15:33:05,758 - INFO - taking picture
MAIN: 2026-10-26 15:33:05,758 - INFO - we take 543 photos in this while loop
MAIN: 2026-10-26 15:33:05,758 - INFO - /home/pi/Desktop/images/26102026/15/32/image_26102026_15_33_05_60083.jpg
MAIN: 2026-10-26 15:33:05,758 - INFO - duration: 0.9351264310025726
MAIN: 2026-10-26 15:33:05,759 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:34: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-10-26 15:34:05,485 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 15:34:05,837 - INFO - taking picture
MAIN: 2026-10-26 15:34:05,837 - INFO - we take 544 photos in this while loop
MAIN: 2026-10-26 15:34:05,838 - INFO - /home/pi/Desktop/images/26102026/15/33/image_26102026_15_34_05_60001.jpg
MAIN: 2026-10-26 15:34:05,838 - INFO - duration: 1.0131074480013922
MAIN: 2026-10-26 15:34:05,838 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:35:05,077 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:35: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-10-26 15:35:05,774 - INFO - taking picture
MAIN: 2026-10-26 15:35:05,775 - INFO - we take 545 photos in this while loop
MAIN: 2026-10-26 15:35:05,775 - INFO - /home/pi/Desktop/images/26102026/15/34/image_26102026_15_35_05_60018.jpg
MAIN: 2026-10-26 15:35:05,775 - INFO - duration: 0.9317645429982804
MAIN: 2026-10-26 15:35:05,775 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:36: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-10-26 15:36:05,538 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 15:36:05,674 - INFO - taking picture
MAIN: 2026-10-26 15:36:05,675 - INFO - we take 546 photos in this while loop
MAIN: 2026-10-26 15:36:05,675 - INFO - /home/pi/Desktop/images/26102026/15/35/image_26102026_15_36_04_59862.jpg
MAIN: 2026-10-26 15:36:05,675 - INFO - duration: 0.9691425389974029
MAIN: 2026-10-26 15:36:05,675 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:37: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-10-26 15:37:05,685 - INFO - taking picture
MAIN: 2026-10-26 15:37:05,686 - INFO - we take 547 photos in this while loop
MAIN: 2026-10-26 15:37:05,686 - INFO - /home/pi/Desktop/images/26102026/15/36/image_26102026_15_37_05_60039.jpg
MAIN: 2026-10-26 15:37:05,686 - INFO - duration: 0.9409624000036274
MAIN: 2026-10-26 15:37:05,686 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/15/37'
MAIN: 2026-10-26 15:37:05,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 15:38:04,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-10-26 15:38:05,983 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:38:06,665 - INFO - taking picture
MAIN: 2026-10-26 15:38:06,665 - INFO - we take 548 photos in this while loop
MAIN: 2026-10-26 15:38:06,665 - INFO - /home/pi/Desktop/images/26102026/15/37/image_26102026_15_38_05_60954.jpg
MAIN: 2026-10-26 15:38:06,665 - INFO - duration: 0.9659732460058876
MAIN: 2026-10-26 15:38:06,666 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:39:04,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-10-26 15:39:05,880 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:39:06,630 - INFO - taking picture
MAIN: 2026-10-26 15:39:06,630 - INFO - we take 549 photos in this while loop
MAIN: 2026-10-26 15:39:06,630 - INFO - /home/pi/Desktop/images/26102026/15/38/image_26102026_15_39_05_59868.jpg
MAIN: 2026-10-26 15:39:06,630 - INFO - duration: 1.0621382419994916
MAIN: 2026-10-26 15:39:06,631 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:40:04,965 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:40:05,675 - INFO - taking picture
MAIN: 2026-10-26 15:40:05,676 - INFO - we take 550 photos in this while loop
MAIN: 2026-10-26 15:40:05,676 - INFO - /home/pi/Desktop/images/26102026/15/39/image_26102026_15_40_04_59151.jpg
MAIN: 2026-10-26 15:40:05,676 - INFO - duration: 0.9563133929987089
MAIN: 2026-10-26 15:40:05,676 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/15/40'
MAIN: 2026-10-26 15:40:05,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 15:41: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-10-26 15:41:06,042 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:41:06,721 - INFO - taking picture
MAIN: 2026-10-26 15:41:06,721 - INFO - we take 551 photos in this while loop
MAIN: 2026-10-26 15:41:06,721 - INFO - /home/pi/Desktop/images/26102026/15/40/image_26102026_15_41_06_61069.jpg
MAIN: 2026-10-26 15:41:06,722 - INFO - duration: 0.9326861169975018
MAIN: 2026-10-26 15:41:06,722 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:42: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-10-26 15:42:06,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-10-26 15:42:06,702 - INFO - taking picture
MAIN: 2026-10-26 15:42:06,702 - INFO - we take 552 photos in this while loop
MAIN: 2026-10-26 15:42:06,703 - INFO - /home/pi/Desktop/images/26102026/15/41/image_26102026_15_42_06_60012.jpg
MAIN: 2026-10-26 15:42:06,703 - INFO - duration: 0.9013089770014631
MAIN: 2026-10-26 15:42:06,703 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:43:05,519 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 15:43: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-10-26 15:43:06,437 - INFO - taking picture
MAIN: 2026-10-26 15:43:06,437 - INFO - we take 553 photos in this while loop
MAIN: 2026-10-26 15:43:06,438 - INFO - /home/pi/Desktop/images/26102026/15/42/image_26102026_15_43_05_59696.jpg
MAIN: 2026-10-26 15:43:06,438 - INFO - duration: 0.9401327930027037
MAIN: 2026-10-26 15:43:06,438 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:44: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-10-26 15:44: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-10-26 15:44:06,228 - INFO - taking picture
MAIN: 2026-10-26 15:44:06,229 - INFO - we take 554 photos in this while loop
MAIN: 2026-10-26 15:44:06,229 - INFO - /home/pi/Desktop/images/26102026/15/43/image_26102026_15_44_05_59829.jpg
MAIN: 2026-10-26 15:44:06,229 - INFO - duration: 0.9024886260012863
MAIN: 2026-10-26 15:44:06,229 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:45: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-10-26 15:45: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-10-26 15:45:06,418 - INFO - taking picture
MAIN: 2026-10-26 15:45:06,418 - INFO - we take 555 photos in this while loop
MAIN: 2026-10-26 15:45:06,418 - INFO - /home/pi/Desktop/images/26102026/15/44/image_26102026_15_45_05_60154.jpg
MAIN: 2026-10-26 15:45:06,418 - INFO - duration: 0.9369846170011442
MAIN: 2026-10-26 15:45:06,419 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:46: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-10-26 15:46:05,664 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:46:06,413 - INFO - taking picture
MAIN: 2026-10-26 15:46:06,413 - INFO - we take 556 photos in this while loop
MAIN: 2026-10-26 15:46:06,414 - INFO - /home/pi/Desktop/images/26102026/15/45/image_26102026_15_46_05_59917.jpg
MAIN: 2026-10-26 15:46:06,414 - INFO - duration: 1.0141994779987726
MAIN: 2026-10-26 15:46:06,414 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:47:05,268 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 15:47:06,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-10-26 15:47:06,775 - INFO - taking picture
MAIN: 2026-10-26 15:47:06,776 - INFO - we take 557 photos in this while loop
MAIN: 2026-10-26 15:47:06,776 - INFO - /home/pi/Desktop/images/26102026/15/46/image_26102026_15_47_06_60440.jpg
MAIN: 2026-10-26 15:47:06,776 - INFO - duration: 0.9356453680011327
MAIN: 2026-10-26 15:47:06,776 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:48:05,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-10-26 15:48:06,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-10-26 15:48:06,645 - INFO - taking picture
MAIN: 2026-10-26 15:48:06,645 - INFO - we take 558 photos in this while loop
MAIN: 2026-10-26 15:48:06,646 - INFO - /home/pi/Desktop/images/26102026/15/47/image_26102026_15_48_05_59861.jpg
MAIN: 2026-10-26 15:48:06,646 - INFO - duration: 0.9440553709937376
MAIN: 2026-10-26 15:48:06,646 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:49: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-10-26 15:49:05,721 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:49:06,397 - INFO - taking picture
MAIN: 2026-10-26 15:49:06,397 - INFO - we take 559 photos in this while loop
MAIN: 2026-10-26 15:49:06,397 - INFO - /home/pi/Desktop/images/26102026/15/48/image_26102026_15_49_05_59746.jpg
MAIN: 2026-10-26 15:49:06,397 - INFO - duration: 0.9488264130050084
MAIN: 2026-10-26 15:49:06,398 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:50: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-10-26 15:50:05,769 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:50:06,514 - INFO - taking picture
MAIN: 2026-10-26 15:50:06,514 - INFO - we take 560 photos in this while loop
MAIN: 2026-10-26 15:50:06,514 - INFO - /home/pi/Desktop/images/26102026/15/49/image_26102026_15_50_05_60069.jpg
MAIN: 2026-10-26 15:50:06,514 - INFO - duration: 0.9966377279997687
MAIN: 2026-10-26 15:50:06,514 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:51:05,017 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 15:51: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-10-26 15:51:06,281 - INFO - taking picture
MAIN: 2026-10-26 15:51:06,281 - INFO - we take 561 photos in this while loop
MAIN: 2026-10-26 15:51:06,281 - INFO - /home/pi/Desktop/images/26102026/15/50/image_26102026_15_51_05_59837.jpg
MAIN: 2026-10-26 15:51:06,281 - INFO - duration: 0.9263874780008337
MAIN: 2026-10-26 15:51:06,281 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:52: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-10-26 15:52:05,449 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:52:06,136 - INFO - taking picture
MAIN: 2026-10-26 15:52:06,136 - INFO - we take 562 photos in this while loop
MAIN: 2026-10-26 15:52:06,136 - INFO - /home/pi/Desktop/images/26102026/15/51/image_26102026_15_52_05_59831.jpg
MAIN: 2026-10-26 15:52:06,136 - INFO - duration: 0.949932675997843
MAIN: 2026-10-26 15:52:06,137 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:53: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-10-26 15:53: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-10-26 15:53:05,994 - INFO - taking picture
MAIN: 2026-10-26 15:53:05,995 - INFO - we take 563 photos in this while loop
MAIN: 2026-10-26 15:53:05,995 - INFO - /home/pi/Desktop/images/26102026/15/52/image_26102026_15_53_05_59850.jpg
MAIN: 2026-10-26 15:53:05,995 - INFO - duration: 0.958358476003923
MAIN: 2026-10-26 15:53:05,995 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:54: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-10-26 15:54: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-10-26 15:54:05,809 - INFO - taking picture
MAIN: 2026-10-26 15:54:05,810 - INFO - we take 564 photos in this while loop
MAIN: 2026-10-26 15:54:05,810 - INFO - /home/pi/Desktop/images/26102026/15/53/image_26102026_15_54_05_59846.jpg
MAIN: 2026-10-26 15:54:05,810 - INFO - duration: 0.9270480740015046
MAIN: 2026-10-26 15:54:05,810 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:55:05,169 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:55:05,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-10-26 15:55:05,955 - INFO - taking picture
MAIN: 2026-10-26 15:55:05,955 - INFO - we take 565 photos in this while loop
MAIN: 2026-10-26 15:55:05,955 - INFO - /home/pi/Desktop/images/26102026/15/54/image_26102026_15_55_05_59997.jpg
MAIN: 2026-10-26 15:55:05,955 - INFO - duration: 1.0745312689978164
MAIN: 2026-10-26 15:55:05,956 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:56:05,074 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 15:56: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-10-26 15:56:06,354 - INFO - taking picture
MAIN: 2026-10-26 15:56:06,354 - INFO - we take 566 photos in this while loop
MAIN: 2026-10-26 15:56:06,354 - INFO - /home/pi/Desktop/images/26102026/15/55/image_26102026_15_56_05_60566.jpg
MAIN: 2026-10-26 15:56:06,354 - INFO - duration: 0.906639021995943
MAIN: 2026-10-26 15:56:06,355 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/15/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-10-26 15:57:05,044 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 15:57: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-10-26 15:57:06,587 - INFO - taking picture
MAIN: 2026-10-26 15:57:06,587 - INFO - we take 567 photos in this while loop
MAIN: 2026-10-26 15:57:06,587 - INFO - /home/pi/Desktop/images/26102026/15/56/image_26102026_15_57_05_60203.jpg
MAIN: 2026-10-26 15:57:06,587 - INFO - duration: 0.9364328970041242
MAIN: 2026-10-26 15:57:06,588 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:58: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-10-26 15:58:05,774 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:58:06,454 - INFO - taking picture
MAIN: 2026-10-26 15:58:06,455 - INFO - we take 568 photos in this while loop
MAIN: 2026-10-26 15:58:06,455 - INFO - /home/pi/Desktop/images/26102026/15/57/image_26102026_15_58_05_59838.jpg
MAIN: 2026-10-26 15:58:06,455 - INFO - duration: 0.9656073430014658
MAIN: 2026-10-26 15:58:06,455 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 15:59: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-10-26 15:59:05,380 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 15:59:06,120 - INFO - taking picture
MAIN: 2026-10-26 15:59:06,120 - INFO - we take 569 photos in this while loop
MAIN: 2026-10-26 15:59:06,120 - INFO - /home/pi/Desktop/images/26102026/15/58/image_26102026_15_59_05_59650.jpg
MAIN: 2026-10-26 15:59:06,120 - INFO - duration: 0.9802923800016288
MAIN: 2026-10-26 15:59:06,121 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:00:05,138 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:00: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-10-26 16:00:05,857 - INFO - taking picture
MAIN: 2026-10-26 16:00:05,857 - INFO - we take 570 photos in this while loop
MAIN: 2026-10-26 16:00:05,858 - INFO - /home/pi/Desktop/images/26102026/15/59/image_26102026_16_00_05_59775.jpg
MAIN: 2026-10-26 16:00:05,858 - INFO - duration: 0.9423870590035222
MAIN: 2026-10-26 16:00:05,858 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:01:04,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 ! 
MAIN: 2026-10-26 16:01:05,062 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:01:05,736 - INFO - taking picture
MAIN: 2026-10-26 16:01:05,736 - INFO - we take 571 photos in this while loop
MAIN: 2026-10-26 16:01:05,736 - INFO - /home/pi/Desktop/images/26102026/16/00/image_26102026_16_01_05_59838.jpg
MAIN: 2026-10-26 16:01:05,737 - INFO - duration: 0.9823343300013221
MAIN: 2026-10-26 16:01:05,737 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:02: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-10-26 16:02:05,341 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 16:02:05,671 - INFO - taking picture
MAIN: 2026-10-26 16:02:05,671 - INFO - we take 572 photos in this while loop
MAIN: 2026-10-26 16:02:05,671 - INFO - /home/pi/Desktop/images/26102026/16/01/image_26102026_16_02_04_59953.jpg
MAIN: 2026-10-26 16:02:05,671 - INFO - duration: 0.9639199550001649
MAIN: 2026-10-26 16:02:05,672 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:03: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-10-26 16:03:05,208 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 16:03:05,726 - INFO - taking picture
MAIN: 2026-10-26 16:03:05,726 - INFO - we take 573 photos in this while loop
MAIN: 2026-10-26 16:03:05,726 - INFO - /home/pi/Desktop/images/26102026/16/02/image_26102026_16_03_05_60073.jpg
MAIN: 2026-10-26 16:03:05,726 - INFO - duration: 0.945062405000499
MAIN: 2026-10-26 16:03:05,727 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:04:05,251 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:04:05,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-10-26 16:04:05,932 - INFO - taking picture
MAIN: 2026-10-26 16:04:05,932 - INFO - we take 574 photos in this while loop
MAIN: 2026-10-26 16:04:05,933 - INFO - /home/pi/Desktop/images/26102026/16/03/image_26102026_16_04_05_60190.jpg
MAIN: 2026-10-26 16:04:05,933 - INFO - duration: 0.9611045199999353
MAIN: 2026-10-26 16:04:05,933 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:05: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-10-26 16:05:05,691 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 16:05:06,004 - INFO - taking picture
MAIN: 2026-10-26 16:05:06,004 - INFO - we take 575 photos in this while loop
MAIN: 2026-10-26 16:05:06,004 - INFO - /home/pi/Desktop/images/26102026/16/04/image_26102026_16_05_05_60074.jpg
MAIN: 2026-10-26 16:05:06,005 - INFO - duration: 0.9585015609991387
MAIN: 2026-10-26 16:05:06,005 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:06:04,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-10-26 16:06: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-10-26 16:06:06,056 - INFO - taking picture
MAIN: 2026-10-26 16:06:06,056 - INFO - we take 576 photos in this while loop
MAIN: 2026-10-26 16:06:06,056 - INFO - /home/pi/Desktop/images/26102026/16/05/image_26102026_16_06_05_60121.jpg
MAIN: 2026-10-26 16:06:06,057 - INFO - duration: 0.8893786179978633
MAIN: 2026-10-26 16:06:06,057 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:07: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-10-26 16:07:05,251 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:07:05,921 - INFO - taking picture
MAIN: 2026-10-26 16:07:05,921 - INFO - we take 577 photos in this while loop
MAIN: 2026-10-26 16:07:05,921 - INFO - /home/pi/Desktop/images/26102026/16/06/image_26102026_16_07_05_59867.jpg
MAIN: 2026-10-26 16:07:05,921 - INFO - duration: 0.8862137389951386
MAIN: 2026-10-26 16:07:05,922 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:08: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-10-26 16:08: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-10-26 16:08:05,955 - INFO - taking picture
MAIN: 2026-10-26 16:08:05,955 - INFO - we take 578 photos in this while loop
MAIN: 2026-10-26 16:08:05,955 - INFO - /home/pi/Desktop/images/26102026/16/07/image_26102026_16_08_05_59969.jpg
MAIN: 2026-10-26 16:08:05,955 - INFO - duration: 0.9511208960029762
MAIN: 2026-10-26 16:08:05,956 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:09:05,164 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 16:09: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-10-26 16:09:05,908 - INFO - taking picture
MAIN: 2026-10-26 16:09:05,909 - INFO - we take 579 photos in this while loop
MAIN: 2026-10-26 16:09:05,909 - INFO - /home/pi/Desktop/images/26102026/16/08/image_26102026_16_09_05_59952.jpg
MAIN: 2026-10-26 16:09:05,909 - INFO - duration: 0.9522465550035122
MAIN: 2026-10-26 16:09:05,909 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:10:05,403 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:10:05,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-10-26 16:10:06,142 - INFO - taking picture
MAIN: 2026-10-26 16:10:06,142 - INFO - we take 580 photos in this while loop
MAIN: 2026-10-26 16:10:06,142 - INFO - /home/pi/Desktop/images/26102026/16/09/image_26102026_16_10_05_60203.jpg
MAIN: 2026-10-26 16:10:06,143 - INFO - duration: 0.9824198890055413
MAIN: 2026-10-26 16:10:06,143 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/16/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-10-26 16:11: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-10-26 16:11: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-10-26 16:11:06,092 - INFO - taking picture
MAIN: 2026-10-26 16:11:06,092 - INFO - we take 581 photos in this while loop
MAIN: 2026-10-26 16:11:06,092 - INFO - /home/pi/Desktop/images/26102026/16/10/image_26102026_16_11_05_59988.jpg
MAIN: 2026-10-26 16:11:06,092 - INFO - duration: 0.9435332389984978
MAIN: 2026-10-26 16:11:06,092 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:12:04,940 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 16:12: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-10-26 16:12:06,006 - INFO - taking picture
MAIN: 2026-10-26 16:12:06,006 - INFO - we take 582 photos in this while loop
MAIN: 2026-10-26 16:12:06,006 - INFO - /home/pi/Desktop/images/26102026/16/11/image_26102026_16_12_05_59967.jpg
MAIN: 2026-10-26 16:12:06,006 - INFO - duration: 0.8901009840046754
MAIN: 2026-10-26 16:12:06,006 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:13: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-10-26 16:13: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-10-26 16:13:05,975 - INFO - taking picture
MAIN: 2026-10-26 16:13:05,975 - INFO - we take 583 photos in this while loop
MAIN: 2026-10-26 16:13:05,975 - INFO - /home/pi/Desktop/images/26102026/16/12/image_26102026_16_13_05_59968.jpg
MAIN: 2026-10-26 16:13:05,975 - INFO - duration: 0.8912390140030766
MAIN: 2026-10-26 16:13:05,976 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:14: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-10-26 16:14: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-10-26 16:14:06,032 - INFO - taking picture
MAIN: 2026-10-26 16:14:06,032 - INFO - we take 584 photos in this while loop
MAIN: 2026-10-26 16:14:06,032 - INFO - /home/pi/Desktop/images/26102026/16/13/image_26102026_16_14_05_59919.jpg
MAIN: 2026-10-26 16:14:06,033 - INFO - duration: 1.0294710279995343
MAIN: 2026-10-26 16:14:06,033 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/16/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-10-26 16:15: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-10-26 16:15:05,690 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 16:15:06,150 - INFO - taking picture
MAIN: 2026-10-26 16:15:06,150 - INFO - we take 585 photos in this while loop
MAIN: 2026-10-26 16:15:06,151 - INFO - /home/pi/Desktop/images/26102026/16/14/image_26102026_16_15_05_60250.jpg
MAIN: 2026-10-26 16:15:06,151 - INFO - duration: 0.897502893996716
MAIN: 2026-10-26 16:15:06,151 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/16/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-10-26 16:16: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-10-26 16:16:05,527 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 16:16:05,767 - INFO - taking picture
MAIN: 2026-10-26 16:16:05,767 - INFO - we take 586 photos in this while loop
MAIN: 2026-10-26 16:16:05,768 - INFO - /home/pi/Desktop/images/26102026/16/15/image_26102026_16_16_05_59616.jpg
MAIN: 2026-10-26 16:16:05,768 - INFO - duration: 0.8980587769983686
MAIN: 2026-10-26 16:16:05,768 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:17:05,042 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:17:05,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-10-26 16:17:05,721 - INFO - taking picture
MAIN: 2026-10-26 16:17:05,721 - INFO - we take 587 photos in this while loop
MAIN: 2026-10-26 16:17:05,722 - INFO - /home/pi/Desktop/images/26102026/16/16/image_26102026_16_17_05_59900.jpg
MAIN: 2026-10-26 16:17:05,722 - INFO - duration: 0.9513146399985999
MAIN: 2026-10-26 16:17:05,722 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:18: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-10-26 16:18:06,024 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:18:06,751 - INFO - taking picture
MAIN: 2026-10-26 16:18:06,752 - INFO - we take 588 photos in this while loop
MAIN: 2026-10-26 16:18:06,752 - INFO - /home/pi/Desktop/images/26102026/16/17/image_26102026_16_18_06_60962.jpg
MAIN: 2026-10-26 16:18:06,752 - INFO - duration: 1.0187494050042005
MAIN: 2026-10-26 16:18:06,752 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:19: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-10-26 16:19:05,314 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:19:05,979 - INFO - taking picture
MAIN: 2026-10-26 16:19:05,979 - INFO - we take 589 photos in this while loop
MAIN: 2026-10-26 16:19:05,979 - INFO - /home/pi/Desktop/images/26102026/16/18/image_26102026_16_19_05_59347.jpg
MAIN: 2026-10-26 16:19:05,979 - INFO - duration: 0.8989262719987892
MAIN: 2026-10-26 16:19:05,980 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:20:05,456 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:20:05,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-10-26 16:20:06,174 - INFO - taking picture
MAIN: 2026-10-26 16:20:06,174 - INFO - we take 590 photos in this while loop
MAIN: 2026-10-26 16:20:06,174 - INFO - /home/pi/Desktop/images/26102026/16/19/image_26102026_16_20_05_60137.jpg
MAIN: 2026-10-26 16:20:06,174 - INFO - duration: 0.9565469369990751
MAIN: 2026-10-26 16:20:06,175 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:21:05,516 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 16:21: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-10-26 16:21:06,377 - INFO - taking picture
MAIN: 2026-10-26 16:21:06,377 - INFO - we take 591 photos in this while loop
MAIN: 2026-10-26 16:21:06,377 - INFO - /home/pi/Desktop/images/26102026/16/20/image_26102026_16_21_05_60233.jpg
MAIN: 2026-10-26 16:21:06,377 - INFO - duration: 0.9256010969984345
MAIN: 2026-10-26 16:21:06,378 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:22:05,767 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 16:22:05,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-10-26 16:22:06,656 - INFO - taking picture
MAIN: 2026-10-26 16:22:06,657 - INFO - we take 592 photos in this while loop
MAIN: 2026-10-26 16:22:06,657 - INFO - /home/pi/Desktop/images/26102026/16/21/image_26102026_16_22_05_60175.jpg
MAIN: 2026-10-26 16:22:06,657 - INFO - duration: 1.0301605889981147
MAIN: 2026-10-26 16:22:06,657 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:23: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-10-26 16:23:06,072 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:23:06,795 - INFO - taking picture
MAIN: 2026-10-26 16:23:06,795 - INFO - we take 593 photos in this while loop
MAIN: 2026-10-26 16:23:06,795 - INFO - /home/pi/Desktop/images/26102026/16/22/image_26102026_16_23_06_60156.jpg
MAIN: 2026-10-26 16:23:06,796 - INFO - duration: 1.012449175999791
MAIN: 2026-10-26 16:23:06,796 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:24: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-10-26 16:24: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-10-26 16:24:06,017 - INFO - taking picture
MAIN: 2026-10-26 16:24:06,017 - INFO - we take 594 photos in this while loop
MAIN: 2026-10-26 16:24:06,017 - INFO - /home/pi/Desktop/images/26102026/16/23/image_26102026_16_24_05_59310.jpg
MAIN: 2026-10-26 16:24:06,017 - INFO - duration: 0.9233474220018252
MAIN: 2026-10-26 16:24:06,017 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:25:05,461 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 16:25: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-10-26 16:25:06,212 - INFO - taking picture
MAIN: 2026-10-26 16:25:06,212 - INFO - we take 595 photos in this while loop
MAIN: 2026-10-26 16:25:06,213 - INFO - /home/pi/Desktop/images/26102026/16/24/image_26102026_16_25_05_60187.jpg
MAIN: 2026-10-26 16:25:06,213 - INFO - duration: 0.9318719839939149
MAIN: 2026-10-26 16:25:06,213 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:26: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-10-26 16:26:06,033 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:26:06,702 - INFO - taking picture
MAIN: 2026-10-26 16:26:06,702 - INFO - we take 596 photos in this while loop
MAIN: 2026-10-26 16:26:06,702 - INFO - /home/pi/Desktop/images/26102026/16/25/image_26102026_16_26_06_60528.jpg
MAIN: 2026-10-26 16:26:06,703 - INFO - duration: 0.8929554279966396
MAIN: 2026-10-26 16:26:06,703 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:27: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-10-26 16:27: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-10-26 16:27:05,806 - INFO - taking picture
MAIN: 2026-10-26 16:27:05,807 - INFO - we take 597 photos in this while loop
MAIN: 2026-10-26 16:27:05,807 - INFO - /home/pi/Desktop/images/26102026/16/26/image_26102026_16_27_05_59062.jpg
MAIN: 2026-10-26 16:27:05,807 - INFO - duration: 0.934264561998134
MAIN: 2026-10-26 16:27:05,807 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:28:05,355 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:28:06,028 - INFO - taking picture
MAIN: 2026-10-26 16:28:06,028 - INFO - we take 598 photos in this while loop
MAIN: 2026-10-26 16:28:06,028 - INFO - /home/pi/Desktop/images/26102026/16/27/image_26102026_16_28_05_60247.jpg
MAIN: 2026-10-26 16:28:06,028 - INFO - duration: 0.9076532600010978
MAIN: 2026-10-26 16:28:06,028 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/16/28'
MAIN: 2026-10-26 16:28:06,055 - 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-10-26 16:29:04,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-10-26 16:29:05,593 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:29:06,317 - INFO - taking picture
MAIN: 2026-10-26 16:29:06,318 - INFO - we take 599 photos in this while loop
MAIN: 2026-10-26 16:29:06,318 - INFO - /home/pi/Desktop/images/26102026/16/28/image_26102026_16_29_05_60201.jpg
MAIN: 2026-10-26 16:29:06,318 - INFO - duration: 0.9961748679997982
MAIN: 2026-10-26 16:29:06,318 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:30: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-10-26 16:30: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-10-26 16:30:06,568 - INFO - taking picture
MAIN: 2026-10-26 16:30:06,569 - INFO - we take 600 photos in this while loop
MAIN: 2026-10-26 16:30:06,569 - INFO - /home/pi/Desktop/images/26102026/16/29/image_26102026_16_30_05_60328.jpg
MAIN: 2026-10-26 16:30:06,569 - INFO - duration: 0.9184133919989108
MAIN: 2026-10-26 16:30:06,569 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:31: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-10-26 16:31: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-10-26 16:31:06,650 - INFO - taking picture
MAIN: 2026-10-26 16:31:06,650 - INFO - we take 601 photos in this while loop
MAIN: 2026-10-26 16:31:06,650 - INFO - /home/pi/Desktop/images/26102026/16/30/image_26102026_16_31_05_60063.jpg
MAIN: 2026-10-26 16:31:06,650 - INFO - duration: 0.9365051269996911
MAIN: 2026-10-26 16:31:06,651 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:32: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-10-26 16:32: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-10-26 16:32:05,657 - INFO - taking picture
MAIN: 2026-10-26 16:32:05,657 - INFO - we take 602 photos in this while loop
MAIN: 2026-10-26 16:32:05,658 - INFO - /home/pi/Desktop/images/26102026/16/31/image_26102026_16_32_04_58985.jpg
MAIN: 2026-10-26 16:32:05,658 - INFO - duration: 0.9581315460018232
MAIN: 2026-10-26 16:32:05,658 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:33:04,928 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:33: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-10-26 16:33:05,671 - INFO - taking picture
MAIN: 2026-10-26 16:33:05,671 - INFO - we take 603 photos in this while loop
MAIN: 2026-10-26 16:33:05,672 - INFO - /home/pi/Desktop/images/26102026/16/32/image_26102026_16_33_04_60010.jpg
MAIN: 2026-10-26 16:33:05,672 - INFO - duration: 0.9619782660010969
MAIN: 2026-10-26 16:33:05,672 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:34:05,007 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:34: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 ! 
MAIN: 2026-10-26 16:34:05,741 - INFO - taking picture
MAIN: 2026-10-26 16:34:05,741 - INFO - we take 604 photos in this while loop
MAIN: 2026-10-26 16:34:05,742 - INFO - /home/pi/Desktop/images/26102026/16/33/image_26102026_16_34_05_60022.jpg
MAIN: 2026-10-26 16:34:05,742 - INFO - duration: 1.0089528569951653
MAIN: 2026-10-26 16:34:05,742 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:35:05,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-10-26 16:35:05,774 - INFO - taking picture
MAIN: 2026-10-26 16:35:05,774 - INFO - we take 605 photos in this while loop
MAIN: 2026-10-26 16:35:05,774 - INFO - /home/pi/Desktop/images/26102026/16/34/image_26102026_16_35_05_60110.jpg
MAIN: 2026-10-26 16:35:05,774 - INFO - duration: 0.9310277319964371
MAIN: 2026-10-26 16:35:05,775 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/16/35'
MAIN: 2026-10-26 16:35:06,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 16:36: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-10-26 16:36: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-10-26 16:36:06,094 - INFO - taking picture
MAIN: 2026-10-26 16:36:06,094 - INFO - we take 606 photos in this while loop
MAIN: 2026-10-26 16:36:06,094 - INFO - /home/pi/Desktop/images/26102026/16/35/image_26102026_16_36_05_60352.jpg
MAIN: 2026-10-26 16:36:06,094 - INFO - duration: 0.8984424540030886
MAIN: 2026-10-26 16:36:06,095 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:37:04,930 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 16:37: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-10-26 16:37:06,436 - INFO - taking picture
MAIN: 2026-10-26 16:37:06,437 - INFO - we take 607 photos in this while loop
MAIN: 2026-10-26 16:37:06,437 - INFO - /home/pi/Desktop/images/26102026/16/36/image_26102026_16_37_05_60217.jpg
MAIN: 2026-10-26 16:37:06,437 - INFO - duration: 1.0234454480014392
MAIN: 2026-10-26 16:37:06,437 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:38: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-10-26 16:38:05,983 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:38:06,653 - INFO - taking picture
MAIN: 2026-10-26 16:38:06,653 - INFO - we take 608 photos in this while loop
MAIN: 2026-10-26 16:38:06,654 - INFO - /home/pi/Desktop/images/26102026/16/37/image_26102026_16_38_05_60316.jpg
MAIN: 2026-10-26 16:38:06,654 - INFO - duration: 0.923431465998874
MAIN: 2026-10-26 16:38:06,654 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:39: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-10-26 16:39:06,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-10-26 16:39:06,862 - INFO - taking picture
MAIN: 2026-10-26 16:39:06,862 - INFO - we take 609 photos in this while loop
MAIN: 2026-10-26 16:39:06,863 - INFO - /home/pi/Desktop/images/26102026/16/38/image_26102026_16_39_06_60138.jpg
MAIN: 2026-10-26 16:39:06,863 - INFO - duration: 0.9943867999973008
MAIN: 2026-10-26 16:39:06,863 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/16/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-10-26 16:40: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-10-26 16:40:05,989 - INFO - taking picture
MAIN: 2026-10-26 16:40:05,989 - INFO - we take 610 photos in this while loop
MAIN: 2026-10-26 16:40:05,989 - INFO - /home/pi/Desktop/images/26102026/16/39/image_26102026_16_40_05_59187.jpg
MAIN: 2026-10-26 16:40:05,989 - INFO - cam.read() return no image
MAIN: 2026-10-26 16:40:05,990 - INFO - duration: 0.9334717679957976
MAIN: 2026-10-26 16:40:05,990 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/16/40'
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-10-26 16:41: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-10-26 16:41: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-10-26 16:41:06,251 - INFO - taking picture
MAIN: 2026-10-26 16:41:06,251 - INFO - we take 611 photos in this while loop
MAIN: 2026-10-26 16:41:06,251 - INFO - /home/pi/Desktop/images/26102026/16/40/image_26102026_16_41_05_60202.jpg
MAIN: 2026-10-26 16:41:06,251 - INFO - duration: 0.9921182520047296
MAIN: 2026-10-26 16:41:06,252 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:42: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-10-26 16: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-10-26 16:42:06,426 - INFO - taking picture
MAIN: 2026-10-26 16:42:06,426 - INFO - we take 612 photos in this while loop
MAIN: 2026-10-26 16:42:06,426 - INFO - /home/pi/Desktop/images/26102026/16/41/image_26102026_16_42_05_60221.jpg
MAIN: 2026-10-26 16:42:06,426 - INFO - duration: 0.945128052997461
MAIN: 2026-10-26 16:42:06,426 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:43:04,872 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 16:43:05,808 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:43:06,472 - INFO - taking picture
MAIN: 2026-10-26 16:43:06,472 - INFO - we take 613 photos in this while loop
MAIN: 2026-10-26 16:43:06,473 - INFO - /home/pi/Desktop/images/26102026/16/42/image_26102026_16_43_05_60051.jpg
MAIN: 2026-10-26 16:43:06,473 - INFO - duration: 0.94066258300154
MAIN: 2026-10-26 16:43:06,473 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:44: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-10-26 16:44: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-10-26 16:44:06,604 - INFO - taking picture
MAIN: 2026-10-26 16:44:06,604 - INFO - we take 614 photos in this while loop
MAIN: 2026-10-26 16:44:06,604 - INFO - /home/pi/Desktop/images/26102026/16/43/image_26102026_16_44_05_60128.jpg
MAIN: 2026-10-26 16:44:06,604 - INFO - duration: 0.9436802359996364
MAIN: 2026-10-26 16:44:06,605 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:45: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-10-26 16:45: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-10-26 16:45:05,637 - INFO - taking picture
MAIN: 2026-10-26 16:45:05,638 - INFO - we take 615 photos in this while loop
MAIN: 2026-10-26 16:45:05,638 - INFO - /home/pi/Desktop/images/26102026/16/44/image_26102026_16_45_04_59011.jpg
MAIN: 2026-10-26 16:45:05,638 - INFO - duration: 0.9654358180050622
MAIN: 2026-10-26 16:45:05,638 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:46:05,393 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:46:05,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-10-26 16:46:06,068 - INFO - taking picture
MAIN: 2026-10-26 16:46:06,069 - INFO - we take 616 photos in this while loop
MAIN: 2026-10-26 16:46:06,069 - INFO - /home/pi/Desktop/images/26102026/16/45/image_26102026_16_46_05_60440.jpg
MAIN: 2026-10-26 16:46:06,069 - INFO - duration: 0.9560203270011698
MAIN: 2026-10-26 16:46:06,069 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:47:05,473 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 16:47:05,553 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:47:06,221 - INFO - taking picture
MAIN: 2026-10-26 16:47:06,221 - INFO - we take 617 photos in this while loop
MAIN: 2026-10-26 16:47:06,221 - INFO - /home/pi/Desktop/images/26102026/16/46/image_26102026_16_47_05_60153.jpg
MAIN: 2026-10-26 16:47:06,221 - INFO - duration: 0.9549868939939188
MAIN: 2026-10-26 16:47:06,221 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:48: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-10-26 16:48:05,798 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:48:06,467 - INFO - taking picture
MAIN: 2026-10-26 16:48:06,467 - INFO - we take 618 photos in this while loop
MAIN: 2026-10-26 16:48:06,468 - INFO - /home/pi/Desktop/images/26102026/16/47/image_26102026_16_48_05_60283.jpg
MAIN: 2026-10-26 16:48:06,468 - INFO - duration: 0.918014957998821
MAIN: 2026-10-26 16:48:06,468 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:49:04,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-10-26 16:49:06,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-10-26 16:49:06,791 - INFO - taking picture
MAIN: 2026-10-26 16:49:06,792 - INFO - we take 619 photos in this while loop
MAIN: 2026-10-26 16:49:06,792 - INFO - /home/pi/Desktop/images/26102026/16/48/image_26102026_16_49_06_60227.jpg
MAIN: 2026-10-26 16:49:06,792 - INFO - duration: 1.0144329620015924
MAIN: 2026-10-26 16:49:06,792 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:50:05,062 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:50: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-10-26 16:50:05,815 - INFO - taking picture
MAIN: 2026-10-26 16:50:05,816 - INFO - we take 620 photos in this while loop
MAIN: 2026-10-26 16:50:05,816 - INFO - /home/pi/Desktop/images/26102026/16/49/image_26102026_16_50_05_59027.jpg
MAIN: 2026-10-26 16:50:05,816 - INFO - duration: 1.010992998999427
MAIN: 2026-10-26 16:50:05,816 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:51: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-10-26 16:51: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-10-26 16:51:06,531 - INFO - taking picture
MAIN: 2026-10-26 16:51:06,532 - INFO - we take 621 photos in this while loop
MAIN: 2026-10-26 16:51:06,532 - INFO - /home/pi/Desktop/images/26102026/16/50/image_26102026_16_51_05_60774.jpg
MAIN: 2026-10-26 16:51:06,532 - INFO - duration: 0.952578550997714
MAIN: 2026-10-26 16:51:06,532 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:52:05,734 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 16:52:06,036 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:52:06,701 - INFO - taking picture
MAIN: 2026-10-26 16:52:06,701 - INFO - we take 622 photos in this while loop
MAIN: 2026-10-26 16:52:06,702 - INFO - /home/pi/Desktop/images/26102026/16/51/image_26102026_16_52_06_60236.jpg
MAIN: 2026-10-26 16:52:06,702 - INFO - duration: 0.8858897289974266
MAIN: 2026-10-26 16:52:06,702 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:53: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-10-26 16:53: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-10-26 16:53:06,307 - INFO - taking picture
MAIN: 2026-10-26 16:53:06,307 - INFO - we take 623 photos in this while loop
MAIN: 2026-10-26 16:53:06,307 - INFO - /home/pi/Desktop/images/26102026/16/52/image_26102026_16_53_05_59570.jpg
MAIN: 2026-10-26 16:53:06,307 - INFO - duration: 0.9206432830033009
MAIN: 2026-10-26 16:53:06,307 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:54: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-10-26 16:54:05,568 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:54:06,233 - INFO - taking picture
MAIN: 2026-10-26 16:54:06,233 - INFO - we take 624 photos in this while loop
MAIN: 2026-10-26 16:54:06,233 - INFO - /home/pi/Desktop/images/26102026/16/53/image_26102026_16_54_05_59949.jpg
MAIN: 2026-10-26 16:54:06,233 - INFO - duration: 0.8972067390059237
MAIN: 2026-10-26 16:54:06,233 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:55:05,514 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 16:55: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-10-26 16:55:06,309 - INFO - taking picture
MAIN: 2026-10-26 16:55:06,309 - INFO - we take 625 photos in this while loop
MAIN: 2026-10-26 16:55:06,309 - INFO - /home/pi/Desktop/images/26102026/16/54/image_26102026_16_55_05_60037.jpg
MAIN: 2026-10-26 16:55:06,309 - INFO - duration: 0.9354377729978296
MAIN: 2026-10-26 16:55:06,310 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:56: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-10-26 16:56: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-10-26 16:56:06,293 - INFO - taking picture
MAIN: 2026-10-26 16:56:06,294 - INFO - we take 626 photos in this while loop
MAIN: 2026-10-26 16:56:06,294 - INFO - /home/pi/Desktop/images/26102026/16/55/image_26102026_16_56_05_59973.jpg
MAIN: 2026-10-26 16:56:06,294 - INFO - duration: 0.9464385070023127
MAIN: 2026-10-26 16:56:06,294 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:57: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-10-26 16:57:05,522 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:57:06,186 - INFO - taking picture
MAIN: 2026-10-26 16:57:06,186 - INFO - we take 627 photos in this while loop
MAIN: 2026-10-26 16:57:06,186 - INFO - /home/pi/Desktop/images/26102026/16/56/image_26102026_16_57_05_59895.jpg
MAIN: 2026-10-26 16:57:06,187 - INFO - duration: 0.9440335879990016
MAIN: 2026-10-26 16:57:06,187 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:58:05,398 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:58:05,893 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 16:58:06,074 - INFO - taking picture
MAIN: 2026-10-26 16:58:06,074 - INFO - we take 628 photos in this while loop
MAIN: 2026-10-26 16:58:06,074 - INFO - /home/pi/Desktop/images/26102026/16/57/image_26102026_16_58_05_59939.jpg
MAIN: 2026-10-26 16:58:06,074 - INFO - duration: 0.8922309030022006
MAIN: 2026-10-26 16:58:06,074 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 16:59:05,414 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 16:59:05,536 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 16:59:06,083 - INFO - taking picture
MAIN: 2026-10-26 16:59:06,084 - INFO - we take 629 photos in this while loop
MAIN: 2026-10-26 16:59:06,084 - INFO - /home/pi/Desktop/images/26102026/16/58/image_26102026_16_59_05_59961.jpg
MAIN: 2026-10-26 16:59:06,084 - INFO - duration: 0.9409026229986921
MAIN: 2026-10-26 16:59:06,084 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:00:05,455 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:00: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-10-26 17:00:06,133 - INFO - taking picture
MAIN: 2026-10-26 17:00:06,133 - INFO - we take 630 photos in this while loop
MAIN: 2026-10-26 17:00:06,133 - INFO - /home/pi/Desktop/images/26102026/16/59/image_26102026_17_00_05_60080.jpg
MAIN: 2026-10-26 17:00:06,134 - INFO - duration: 0.9095912169941585
MAIN: 2026-10-26 17:00:06,134 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:01: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-10-26 17:01: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-10-26 17:01:06,068 - INFO - taking picture
MAIN: 2026-10-26 17:01:06,068 - INFO - we take 631 photos in this while loop
MAIN: 2026-10-26 17:01:06,068 - INFO - /home/pi/Desktop/images/26102026/17/00/image_26102026_17_01_05_59910.jpg
MAIN: 2026-10-26 17:01:06,068 - INFO - duration: 0.9337336620010319
MAIN: 2026-10-26 17:01:06,068 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:02:05,394 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:02: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-10-26 17:02:06,073 - INFO - taking picture
MAIN: 2026-10-26 17:02:06,073 - INFO - we take 632 photos in this while loop
MAIN: 2026-10-26 17:02:06,073 - INFO - /home/pi/Desktop/images/26102026/17/01/image_26102026_17_02_05_60011.jpg
MAIN: 2026-10-26 17:02:06,073 - INFO - duration: 0.9271621590014547
MAIN: 2026-10-26 17:02:06,073 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:03: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-10-26 17:03:05,628 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 17:03:05,865 - INFO - taking picture
MAIN: 2026-10-26 17:03:05,865 - INFO - we take 633 photos in this while loop
MAIN: 2026-10-26 17:03:05,865 - INFO - /home/pi/Desktop/images/26102026/17/02/image_26102026_17_03_05_59774.jpg
MAIN: 2026-10-26 17:03:05,866 - INFO - duration: 0.9448930990038207
MAIN: 2026-10-26 17:03:05,866 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:04: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-10-26 17:04:05,223 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:04:05,892 - INFO - taking picture
MAIN: 2026-10-26 17:04:05,892 - INFO - we take 634 photos in this while loop
MAIN: 2026-10-26 17:04:05,892 - INFO - /home/pi/Desktop/images/26102026/17/03/image_26102026_17_04_05_60017.jpg
MAIN: 2026-10-26 17:04:05,892 - INFO - duration: 0.9545339030009927
MAIN: 2026-10-26 17:04:05,893 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17: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-10-26 17:05:05,541 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 17:05:05,802 - INFO - taking picture
MAIN: 2026-10-26 17:05:05,803 - INFO - we take 635 photos in this while loop
MAIN: 2026-10-26 17:05:05,803 - INFO - /home/pi/Desktop/images/26102026/17/04/image_26102026_17_05_05_59918.jpg
MAIN: 2026-10-26 17:05:05,803 - INFO - duration: 0.9467983010035823
MAIN: 2026-10-26 17:05:05,803 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:06: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-10-26 17:06:05,514 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 17:06:05,908 - INFO - taking picture
MAIN: 2026-10-26 17:06:05,909 - INFO - we take 636 photos in this while loop
MAIN: 2026-10-26 17:06:05,909 - INFO - /home/pi/Desktop/images/26102026/17/05/image_26102026_17_06_05_60091.jpg
MAIN: 2026-10-26 17:06:05,909 - INFO - duration: 0.9614997359967674
MAIN: 2026-10-26 17:06:05,909 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:07: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-10-26 17:07: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-10-26 17:07:05,717 - INFO - taking picture
MAIN: 2026-10-26 17:07:05,717 - INFO - we take 637 photos in this while loop
MAIN: 2026-10-26 17:07:05,717 - INFO - /home/pi/Desktop/images/26102026/17/06/image_26102026_17_07_05_59837.jpg
MAIN: 2026-10-26 17:07:05,717 - INFO - duration: 0.9325737119943369
MAIN: 2026-10-26 17:07:05,718 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:08: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-10-26 17:08: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-10-26 17:08:05,698 - INFO - taking picture
MAIN: 2026-10-26 17:08:05,698 - INFO - we take 638 photos in this while loop
MAIN: 2026-10-26 17:08:05,698 - INFO - /home/pi/Desktop/images/26102026/17/07/image_26102026_17_08_05_60018.jpg
MAIN: 2026-10-26 17:08:05,698 - INFO - duration: 0.895012355002109
MAIN: 2026-10-26 17:08:05,699 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:09:05,259 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:09: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-10-26 17:09:05,933 - INFO - taking picture
MAIN: 2026-10-26 17:09:05,933 - INFO - we take 639 photos in this while loop
MAIN: 2026-10-26 17:09:05,934 - INFO - /home/pi/Desktop/images/26102026/17/08/image_26102026_17_09_05_60174.jpg
MAIN: 2026-10-26 17:09:05,934 - INFO - duration: 0.9560363310010871
MAIN: 2026-10-26 17:09:05,934 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:10: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-10-26 17:10: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-10-26 17:10:06,352 - INFO - taking picture
MAIN: 2026-10-26 17:10:06,352 - INFO - we take 640 photos in this while loop
MAIN: 2026-10-26 17:10:06,352 - INFO - /home/pi/Desktop/images/26102026/17/09/image_26102026_17_10_05_60367.jpg
MAIN: 2026-10-26 17:10:06,352 - INFO - duration: 1.0067751400056295
MAIN: 2026-10-26 17:10:06,353 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/17/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-10-26 17:11: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-10-26 17:11: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-10-26 17:11:06,634 - INFO - taking picture
MAIN: 2026-10-26 17:11:06,634 - INFO - we take 641 photos in this while loop
MAIN: 2026-10-26 17:11:06,634 - INFO - /home/pi/Desktop/images/26102026/17/10/image_26102026_17_11_05_60360.jpg
MAIN: 2026-10-26 17:11:06,635 - INFO - duration: 0.9290465279991622
MAIN: 2026-10-26 17:11:06,635 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:12:04,924 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:12:05,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 ! 
MAIN: 2026-10-26 17:12:05,601 - INFO - taking picture
MAIN: 2026-10-26 17:12:05,601 - INFO - we take 642 photos in this while loop
MAIN: 2026-10-26 17:12:05,601 - INFO - /home/pi/Desktop/images/26102026/17/11/image_26102026_17_12_04_58956.jpg
MAIN: 2026-10-26 17:12:05,602 - INFO - duration: 0.9393383249989711
MAIN: 2026-10-26 17:12:05,602 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:13:04,878 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 17:13:05,081 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:13:05,742 - INFO - taking picture
MAIN: 2026-10-26 17:13:05,742 - INFO - we take 643 photos in this while loop
MAIN: 2026-10-26 17:13:05,742 - INFO - /home/pi/Desktop/images/26102026/17/12/image_26102026_17_13_05_60142.jpg
MAIN: 2026-10-26 17:13:05,742 - INFO - duration: 0.9381283190014074
MAIN: 2026-10-26 17:13:05,743 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:14: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-10-26 17:14: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-10-26 17:14:05,980 - INFO - taking picture
MAIN: 2026-10-26 17:14:05,981 - INFO - we take 644 photos in this while loop
MAIN: 2026-10-26 17:14:05,981 - INFO - /home/pi/Desktop/images/26102026/17/13/image_26102026_17_14_05_60226.jpg
MAIN: 2026-10-26 17:14:05,981 - INFO - duration: 0.9503693369988468
MAIN: 2026-10-26 17:14:05,981 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:15:05,482 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:15: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-10-26 17:15:06,171 - INFO - taking picture
MAIN: 2026-10-26 17:15:06,171 - INFO - we take 645 photos in this while loop
MAIN: 2026-10-26 17:15:06,171 - INFO - /home/pi/Desktop/images/26102026/17/14/image_26102026_17_15_05_60212.jpg
MAIN: 2026-10-26 17:15:06,171 - INFO - duration: 0.9278673740045633
MAIN: 2026-10-26 17:15:06,171 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:16: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 ! 
MAIN: 2026-10-26 17:16: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-10-26 17:16:06,631 - INFO - taking picture
MAIN: 2026-10-26 17:16:06,631 - INFO - we take 646 photos in this while loop
MAIN: 2026-10-26 17:16:06,631 - INFO - /home/pi/Desktop/images/26102026/17/15/image_26102026_17_16_05_60437.jpg
MAIN: 2026-10-26 17:16:06,631 - INFO - duration: 0.9505349460014259
MAIN: 2026-10-26 17:16:06,632 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:17:04,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-10-26 17:17: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-10-26 17:17:05,706 - INFO - taking picture
MAIN: 2026-10-26 17:17:05,706 - INFO - we take 647 photos in this while loop
MAIN: 2026-10-26 17:17:05,707 - INFO - /home/pi/Desktop/images/26102026/17/16/image_26102026_17_17_04_58963.jpg
MAIN: 2026-10-26 17:17:05,707 - INFO - duration: 1.0619312899943907
MAIN: 2026-10-26 17:17:05,707 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:18:05,281 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 17:18:05,462 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:18:06,126 - INFO - taking picture
MAIN: 2026-10-26 17:18:06,127 - INFO - we take 648 photos in this while loop
MAIN: 2026-10-26 17:18:06,127 - INFO - /home/pi/Desktop/images/26102026/17/17/image_26102026_17_18_05_60561.jpg
MAIN: 2026-10-26 17:18:06,127 - INFO - duration: 0.9209161889957613
MAIN: 2026-10-26 17:18:06,127 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:19:05,212 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 17:19: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-10-26 17:19:06,366 - INFO - taking picture
MAIN: 2026-10-26 17:19:06,367 - INFO - we take 649 photos in this while loop
MAIN: 2026-10-26 17:19:06,367 - INFO - /home/pi/Desktop/images/26102026/17/18/image_26102026_17_19_05_60285.jpg
MAIN: 2026-10-26 17:19:06,367 - INFO - duration: 0.8753120110050077
MAIN: 2026-10-26 17:19:06,367 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/17/19'
MAIN: 2026-10-26 17:20:04,862 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=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-10-26 17:20:05,571 - INFO - taking picture
MAIN: 2026-10-26 17:20:05,571 - INFO - we take 650 photos in this while loop
MAIN: 2026-10-26 17:20:05,571 - INFO - /home/pi/Desktop/images/26102026/17/19/image_26102026_17_20_04_59138.jpg
MAIN: 2026-10-26 17:20:05,571 - INFO - duration: 0.9414787840069039
MAIN: 2026-10-26 17:20:05,572 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/17/20'
MAIN: 2026-10-26 17:20:06,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 17:21: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-10-26 17:21:04,996 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:21:05,656 - INFO - taking picture
MAIN: 2026-10-26 17:21:05,657 - INFO - we take 651 photos in this while loop
MAIN: 2026-10-26 17:21:05,657 - INFO - /home/pi/Desktop/images/26102026/17/20/image_26102026_17_21_04_60133.jpg
MAIN: 2026-10-26 17:21:05,657 - INFO - duration: 0.8935410749982111
MAIN: 2026-10-26 17:21:05,657 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:22:05,053 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:22: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-10-26 17:22:05,725 - INFO - taking picture
MAIN: 2026-10-26 17:22:05,725 - INFO - we take 652 photos in this while loop
MAIN: 2026-10-26 17:22:05,725 - INFO - /home/pi/Desktop/images/26102026/17/21/image_26102026_17_22_05_60022.jpg
MAIN: 2026-10-26 17:22:05,725 - INFO - duration: 0.9388972189990454
MAIN: 2026-10-26 17:22:05,725 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:23: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-10-26 17:23:06,024 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:23:06,685 - INFO - taking picture
MAIN: 2026-10-26 17:23:06,685 - INFO - we take 653 photos in this while loop
MAIN: 2026-10-26 17:23:06,685 - INFO - /home/pi/Desktop/images/26102026/17/22/image_26102026_17_23_06_60949.jpg
MAIN: 2026-10-26 17:23:06,685 - INFO - duration: 0.9493016810010886
MAIN: 2026-10-26 17:23:06,686 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:24:05,421 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 17:24: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-10-26 17:24:06,460 - INFO - taking picture
MAIN: 2026-10-26 17:24:06,460 - INFO - we take 654 photos in this while loop
MAIN: 2026-10-26 17:24:06,460 - INFO - /home/pi/Desktop/images/26102026/17/23/image_26102026_17_24_05_59839.jpg
MAIN: 2026-10-26 17:24:06,460 - INFO - duration: 0.8849199459946249
MAIN: 2026-10-26 17:24:06,460 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:25:05,503 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:25:05,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-10-26 17:25:06,173 - INFO - taking picture
MAIN: 2026-10-26 17:25:06,174 - INFO - we take 655 photos in this while loop
MAIN: 2026-10-26 17:25:06,174 - INFO - /home/pi/Desktop/images/26102026/17/24/image_26102026_17_25_05_59691.jpg
MAIN: 2026-10-26 17:25:06,174 - INFO - duration: 0.9068719510032679
MAIN: 2026-10-26 17:25:06,174 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:26:04,891 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 17:26: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-10-26 17:26:05,948 - INFO - taking picture
MAIN: 2026-10-26 17:26:05,948 - INFO - we take 656 photos in this while loop
MAIN: 2026-10-26 17:26:05,948 - INFO - /home/pi/Desktop/images/26102026/17/25/image_26102026_17_26_05_59806.jpg
MAIN: 2026-10-26 17:26:05,948 - INFO - duration: 0.8743003189956653
MAIN: 2026-10-26 17:26:05,948 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:27:04,812 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 17:27:06,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-10-26 17:27:06,745 - INFO - taking picture
MAIN: 2026-10-26 17:27:06,745 - INFO - we take 657 photos in this while loop
MAIN: 2026-10-26 17:27:06,745 - INFO - /home/pi/Desktop/images/26102026/17/26/image_26102026_17_27_06_60731.jpg
MAIN: 2026-10-26 17:27:06,745 - INFO - duration: 0.9398216159970616
MAIN: 2026-10-26 17:27:06,746 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:28:05,601 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 17:28:06,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-10-26 17:28:06,676 - INFO - taking picture
MAIN: 2026-10-26 17:28:06,676 - INFO - we take 658 photos in this while loop
MAIN: 2026-10-26 17:28:06,676 - INFO - /home/pi/Desktop/images/26102026/17/27/image_26102026_17_28_06_59994.jpg
MAIN: 2026-10-26 17:28:06,676 - INFO - duration: 0.8763025189982727
MAIN: 2026-10-26 17:28:06,676 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:29: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-10-26 17:29:05,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-10-26 17:29:06,448 - INFO - taking picture
MAIN: 2026-10-26 17:29:06,448 - INFO - we take 659 photos in this while loop
MAIN: 2026-10-26 17:29:06,448 - INFO - /home/pi/Desktop/images/26102026/17/28/image_26102026_17_29_05_59773.jpg
MAIN: 2026-10-26 17:29:06,448 - INFO - duration: 0.8744385390018579
MAIN: 2026-10-26 17:29:06,448 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:30:05,626 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:30:06,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-10-26 17:30:06,374 - INFO - taking picture
MAIN: 2026-10-26 17:30:06,374 - INFO - we take 660 photos in this while loop
MAIN: 2026-10-26 17:30:06,374 - INFO - /home/pi/Desktop/images/26102026/17/29/image_26102026_17_30_05_59797.jpg
MAIN: 2026-10-26 17:30:06,374 - INFO - duration: 1.0030369389933185
MAIN: 2026-10-26 17:30:06,375 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:31:05,464 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:31:05,497 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 17:31:06,179 - INFO - taking picture
MAIN: 2026-10-26 17:31:06,179 - INFO - we take 661 photos in this while loop
MAIN: 2026-10-26 17:31:06,179 - INFO - /home/pi/Desktop/images/26102026/17/30/image_26102026_17_31_05_59824.jpg
MAIN: 2026-10-26 17:31:06,179 - INFO - duration: 0.9832692070049234
MAIN: 2026-10-26 17:31:06,179 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:32: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-10-26 17:32: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-10-26 17:32:06,194 - INFO - taking picture
MAIN: 2026-10-26 17:32:06,194 - INFO - we take 662 photos in this while loop
MAIN: 2026-10-26 17:32:06,194 - INFO - /home/pi/Desktop/images/26102026/17/31/image_26102026_17_32_05_60025.jpg
MAIN: 2026-10-26 17:32:06,194 - INFO - duration: 0.9729945750004845
MAIN: 2026-10-26 17:32:06,195 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:33:05,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-10-26 17:33: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-10-26 17:33:06,083 - INFO - taking picture
MAIN: 2026-10-26 17:33:06,083 - INFO - we take 663 photos in this while loop
MAIN: 2026-10-26 17:33:06,083 - INFO - /home/pi/Desktop/images/26102026/17/32/image_26102026_17_33_05_59989.jpg
MAIN: 2026-10-26 17:33:06,084 - INFO - duration: 0.8727180019996013
MAIN: 2026-10-26 17:33:06,084 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:34:05,129 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17: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-10-26 17:34:05,838 - INFO - taking picture
MAIN: 2026-10-26 17:34:05,838 - INFO - we take 664 photos in this while loop
MAIN: 2026-10-26 17:34:05,838 - INFO - /home/pi/Desktop/images/26102026/17/33/image_26102026_17_34_05_59687.jpg
MAIN: 2026-10-26 17:34:05,838 - INFO - duration: 0.9399782999971649
MAIN: 2026-10-26 17:34:05,838 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:35:05,053 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:35: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-10-26 17:35:05,736 - INFO - taking picture
MAIN: 2026-10-26 17:35:05,737 - INFO - we take 665 photos in this while loop
MAIN: 2026-10-26 17:35:05,737 - INFO - /home/pi/Desktop/images/26102026/17/34/image_26102026_17_35_05_59927.jpg
MAIN: 2026-10-26 17:35:05,737 - INFO - duration: 0.9111688310003956
MAIN: 2026-10-26 17:35:05,737 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:36:04,976 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:36: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-10-26 17:36:05,650 - INFO - taking picture
MAIN: 2026-10-26 17:36:05,651 - INFO - we take 666 photos in this while loop
MAIN: 2026-10-26 17:36:05,651 - INFO - /home/pi/Desktop/images/26102026/17/35/image_26102026_17_36_04_59872.jpg
MAIN: 2026-10-26 17:36:05,651 - INFO - duration: 0.9532353920003516
MAIN: 2026-10-26 17:36:05,653 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:37:04,952 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:37:05,537 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 17:37:05,620 - INFO - taking picture
MAIN: 2026-10-26 17:37:05,620 - INFO - we take 667 photos in this while loop
MAIN: 2026-10-26 17:37:05,621 - INFO - /home/pi/Desktop/images/26102026/17/36/image_26102026_17_37_04_59992.jpg
MAIN: 2026-10-26 17:37:05,621 - INFO - duration: 0.9302285630037659
MAIN: 2026-10-26 17:37:05,621 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:38:04,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 ! 
MAIN: 2026-10-26 17:38: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-10-26 17:38:06,638 - INFO - taking picture
MAIN: 2026-10-26 17:38:06,639 - INFO - we take 668 photos in this while loop
MAIN: 2026-10-26 17:38:06,639 - INFO - /home/pi/Desktop/images/26102026/17/37/image_26102026_17_38_05_61022.jpg
MAIN: 2026-10-26 17:38:06,639 - INFO - duration: 0.9260272180035827
MAIN: 2026-10-26 17:38:06,639 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/17/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-10-26 17:39:04,718 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 17:39: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-10-26 17:39:06,402 - INFO - taking picture
MAIN: 2026-10-26 17:39:06,403 - INFO - we take 669 photos in this while loop
MAIN: 2026-10-26 17:39:06,403 - INFO - /home/pi/Desktop/images/26102026/17/38/image_26102026_17_39_05_59756.jpg
MAIN: 2026-10-26 17:39:06,403 - INFO - duration: 0.9329846889959299
MAIN: 2026-10-26 17:39:06,403 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:40: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-10-26 17:40: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-10-26 17:40:06,616 - INFO - taking picture
MAIN: 2026-10-26 17:40:06,616 - INFO - we take 670 photos in this while loop
MAIN: 2026-10-26 17:40:06,616 - INFO - /home/pi/Desktop/images/26102026/17/39/image_26102026_17_40_05_60232.jpg
MAIN: 2026-10-26 17:40:06,616 - INFO - duration: 0.9134444419978536
MAIN: 2026-10-26 17:40:06,616 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:41: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

MAIN: 2026-10-26 17:41: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-10-26 17:41:05,601 - INFO - taking picture
MAIN: 2026-10-26 17:41:05,601 - INFO - we take 671 photos in this while loop
MAIN: 2026-10-26 17:41:05,601 - INFO - /home/pi/Desktop/images/26102026/17/40/image_26102026_17_41_04_58926.jpg
MAIN: 2026-10-26 17:41:05,601 - INFO - duration: 0.9716593690027366
MAIN: 2026-10-26 17:41:05,602 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:42:05,252 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:42: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-10-26 17:42:05,954 - INFO - taking picture
MAIN: 2026-10-26 17:42:05,954 - INFO - we take 672 photos in this while loop
MAIN: 2026-10-26 17:42:05,954 - INFO - /home/pi/Desktop/images/26102026/17/41/image_26102026_17_42_05_60332.jpg
MAIN: 2026-10-26 17:42:05,954 - INFO - duration: 0.9924966229955317
MAIN: 2026-10-26 17:42:05,955 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:43:05,209 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 17:43:05,522 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:43:06,282 - INFO - taking picture
MAIN: 2026-10-26 17:43:06,282 - INFO - we take 673 photos in this while loop
MAIN: 2026-10-26 17:43:06,282 - INFO - /home/pi/Desktop/images/26102026/17/42/image_26102026_17_43_05_60297.jpg
MAIN: 2026-10-26 17:43:06,283 - INFO - duration: 1.023687704000622
MAIN: 2026-10-26 17:43:06,283 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:44: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-10-26 17:44:05,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-10-26 17:44:06,470 - INFO - taking picture
MAIN: 2026-10-26 17:44:06,470 - INFO - we take 674 photos in this while loop
MAIN: 2026-10-26 17:44:06,470 - INFO - /home/pi/Desktop/images/26102026/17/43/image_26102026_17_44_05_60181.jpg
MAIN: 2026-10-26 17:44:06,471 - INFO - duration: 1.0305885540001327
MAIN: 2026-10-26 17:44:06,471 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:45: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-10-26 17:45: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-10-26 17:45:06,510 - INFO - taking picture
MAIN: 2026-10-26 17:45:06,510 - INFO - we take 675 photos in this while loop
MAIN: 2026-10-26 17:45:06,510 - INFO - /home/pi/Desktop/images/26102026/17/44/image_26102026_17_45_05_60113.jpg
MAIN: 2026-10-26 17:45:06,511 - INFO - duration: 0.9567117219994543
MAIN: 2026-10-26 17:45:06,511 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17: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-10-26 17:46:06,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-10-26 17:46:06,728 - INFO - taking picture
MAIN: 2026-10-26 17:46:06,728 - INFO - we take 676 photos in this while loop
MAIN: 2026-10-26 17:46:06,728 - INFO - /home/pi/Desktop/images/26102026/17/45/image_26102026_17_46_06_60228.jpg
MAIN: 2026-10-26 17:46:06,728 - INFO - duration: 0.946124067006167
MAIN: 2026-10-26 17:46:06,728 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:47: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-10-26 17:47: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-10-26 17:47:06,724 - INFO - taking picture
MAIN: 2026-10-26 17:47:06,725 - INFO - we take 677 photos in this while loop
MAIN: 2026-10-26 17:47:06,725 - INFO - /home/pi/Desktop/images/26102026/17/46/image_26102026_17_47_05_59991.jpg
MAIN: 2026-10-26 17:47:06,725 - INFO - duration: 0.9510517790040467
MAIN: 2026-10-26 17:47:06,725 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:48: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-10-26 17:48: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-10-26 17:48:06,596 - INFO - taking picture
MAIN: 2026-10-26 17:48:06,597 - INFO - we take 678 photos in this while loop
MAIN: 2026-10-26 17:48:06,597 - INFO - /home/pi/Desktop/images/26102026/17/47/image_26102026_17_48_05_59914.jpg
MAIN: 2026-10-26 17:48:06,597 - INFO - duration: 0.9091900970015558
MAIN: 2026-10-26 17:48:06,597 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:49:05,503 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 17:49: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-10-26 17:49:06,456 - INFO - taking picture
MAIN: 2026-10-26 17:49:06,456 - INFO - we take 679 photos in this while loop
MAIN: 2026-10-26 17:49:06,456 - INFO - /home/pi/Desktop/images/26102026/17/48/image_26102026_17_49_05_59837.jpg
MAIN: 2026-10-26 17:49:06,457 - INFO - duration: 0.9313203310011886
MAIN: 2026-10-26 17:49:06,457 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:50: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-10-26 17:50: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-10-26 17:50:06,603 - INFO - taking picture
MAIN: 2026-10-26 17:50:06,604 - INFO - we take 680 photos in this while loop
MAIN: 2026-10-26 17:50:06,604 - INFO - /home/pi/Desktop/images/26102026/17/49/image_26102026_17_50_05_60124.jpg
MAIN: 2026-10-26 17:50:06,604 - INFO - duration: 0.9537872709988733
MAIN: 2026-10-26 17:50:06,604 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:51: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-10-26 17:51:05,888 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:51:06,571 - INFO - taking picture
MAIN: 2026-10-26 17:51:06,572 - INFO - we take 681 photos in this while loop
MAIN: 2026-10-26 17:51:06,572 - INFO - /home/pi/Desktop/images/26102026/17/50/image_26102026_17_51_05_59970.jpg
MAIN: 2026-10-26 17:51:06,572 - INFO - duration: 0.9507173910023994
MAIN: 2026-10-26 17:51:06,572 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:52: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-10-26 17:52: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-10-26 17:52:06,670 - INFO - taking picture
MAIN: 2026-10-26 17:52:06,670 - INFO - we take 682 photos in this while loop
MAIN: 2026-10-26 17:52:06,670 - INFO - /home/pi/Desktop/images/26102026/17/51/image_26102026_17_52_05_60098.jpg
MAIN: 2026-10-26 17:52:06,671 - INFO - duration: 0.9507599120042869
MAIN: 2026-10-26 17:52:06,671 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:53:04,945 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 17:53:05,859 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:53:06,542 - INFO - taking picture
MAIN: 2026-10-26 17:53:06,543 - INFO - we take 683 photos in this while loop
MAIN: 2026-10-26 17:53:06,543 - INFO - /home/pi/Desktop/images/26102026/17/52/image_26102026_17_53_05_59880.jpg
MAIN: 2026-10-26 17:53:06,543 - INFO - duration: 0.9428477409965126
MAIN: 2026-10-26 17:53:06,543 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:54:05,581 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 17:54: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-10-26 17:54:06,615 - INFO - taking picture
MAIN: 2026-10-26 17:54:06,615 - INFO - we take 684 photos in this while loop
MAIN: 2026-10-26 17:54:06,615 - INFO - /home/pi/Desktop/images/26102026/17/53/image_26102026_17_54_05_60101.jpg
MAIN: 2026-10-26 17:54:06,615 - INFO - duration: 0.91381898799591
MAIN: 2026-10-26 17:54:06,616 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:55: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-10-26 17:55:05,845 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:55:06,528 - INFO - taking picture
MAIN: 2026-10-26 17:55:06,528 - INFO - we take 685 photos in this while loop
MAIN: 2026-10-26 17:55:06,528 - INFO - /home/pi/Desktop/images/26102026/17/54/image_26102026_17_55_05_59919.jpg
MAIN: 2026-10-26 17:55:06,528 - INFO - duration: 0.9076016809995053
MAIN: 2026-10-26 17:55:06,529 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:56: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-10-26 17:56:05,930 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 17:56:06,412 - INFO - taking picture
MAIN: 2026-10-26 17:56:06,413 - INFO - we take 686 photos in this while loop
MAIN: 2026-10-26 17:56:06,413 - INFO - /home/pi/Desktop/images/26102026/17/55/image_26102026_17_56_05_59831.jpg
MAIN: 2026-10-26 17:56:06,413 - INFO - duration: 0.9609794319985667
MAIN: 2026-10-26 17:56:06,413 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:57:04,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-10-26 17:57: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-10-26 17:57:06,436 - INFO - taking picture
MAIN: 2026-10-26 17:57:06,437 - INFO - we take 687 photos in this while loop
MAIN: 2026-10-26 17:57:06,437 - INFO - /home/pi/Desktop/images/26102026/17/56/image_26102026_17_57_05_60042.jpg
MAIN: 2026-10-26 17:57:06,437 - INFO - duration: 0.9420125739998184
MAIN: 2026-10-26 17:57:06,437 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/17/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-10-26 17:58: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-10-26 17:58: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-10-26 17:58:06,552 - INFO - taking picture
MAIN: 2026-10-26 17:58:06,552 - INFO - we take 688 photos in this while loop
MAIN: 2026-10-26 17:58:06,552 - INFO - /home/pi/Desktop/images/26102026/17/57/image_26102026_17_58_05_60044.jpg
MAIN: 2026-10-26 17:58:06,552 - INFO - duration: 1.0130099830057588
MAIN: 2026-10-26 17:58:06,553 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 17:59: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-10-26 17:59:06,084 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 17:59:06,765 - INFO - taking picture
MAIN: 2026-10-26 17:59:06,765 - INFO - we take 689 photos in this while loop
MAIN: 2026-10-26 17:59:06,765 - INFO - /home/pi/Desktop/images/26102026/17/58/image_26102026_17_59_06_60269.jpg
MAIN: 2026-10-26 17:59:06,766 - INFO - duration: 0.9566143970005214
MAIN: 2026-10-26 17:59:06,766 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:00:05,344 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:00:06,034 - INFO - taking picture
MAIN: 2026-10-26 18:00:06,034 - INFO - we take 690 photos in this while loop
MAIN: 2026-10-26 18:00:06,034 - INFO - /home/pi/Desktop/images/26102026/17/59/image_26102026_18_00_05_59280.jpg
MAIN: 2026-10-26 18:00:06,035 - INFO - duration: 0.9447622000006959
MAIN: 2026-10-26 18:00:06,035 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/18/00'
MAIN: 2026-10-26 18:00:06,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 18:01: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-10-26 18:01:05,726 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 18:01:06,034 - INFO - taking picture
MAIN: 2026-10-26 18:01:06,034 - INFO - we take 691 photos in this while loop
MAIN: 2026-10-26 18:01:06,034 - INFO - /home/pi/Desktop/images/26102026/18/00/image_26102026_18_01_05_59957.jpg
MAIN: 2026-10-26 18:01:06,034 - INFO - duration: 0.9866918699990492
MAIN: 2026-10-26 18:01:06,034 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:02:05,306 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 18:02:05,632 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:02:06,320 - INFO - taking picture
MAIN: 2026-10-26 18:02:06,320 - INFO - we take 692 photos in this while loop
MAIN: 2026-10-26 18:02:06,320 - INFO - /home/pi/Desktop/images/26102026/18/01/image_26102026_18_02_05_60358.jpg
MAIN: 2026-10-26 18:02:06,320 - INFO - duration: 0.9139147200039588
MAIN: 2026-10-26 18:02:06,320 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:03:04,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 ! 
MAIN: 2026-10-26 18:03: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-10-26 18:03:06,377 - INFO - taking picture
MAIN: 2026-10-26 18:03:06,378 - INFO - we take 693 photos in this while loop
MAIN: 2026-10-26 18:03:06,378 - INFO - /home/pi/Desktop/images/26102026/18/02/image_26102026_18_03_05_59963.jpg
MAIN: 2026-10-26 18:03:06,378 - INFO - duration: 1.008562487004383
MAIN: 2026-10-26 18:03:06,378 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:04:05,267 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 18:04: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-10-26 18:04:06,492 - INFO - taking picture
MAIN: 2026-10-26 18:04:06,492 - INFO - we take 694 photos in this while loop
MAIN: 2026-10-26 18:04:06,492 - INFO - /home/pi/Desktop/images/26102026/18/03/image_26102026_18_04_05_60215.jpg
MAIN: 2026-10-26 18:04:06,493 - INFO - duration: 0.9074310009964393
MAIN: 2026-10-26 18:04:06,493 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:05: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-10-26 18:05:06,011 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:05:06,766 - INFO - taking picture
MAIN: 2026-10-26 18:05:06,767 - INFO - we take 695 photos in this while loop
MAIN: 2026-10-26 18:05:06,767 - INFO - /home/pi/Desktop/images/26102026/18/04/image_26102026_18_05_06_60152.jpg
MAIN: 2026-10-26 18:05:06,767 - INFO - duration: 1.0298088739946252
MAIN: 2026-10-26 18:05:06,767 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:06: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-10-26 18:06:05,620 - INFO - taking picture
MAIN: 2026-10-26 18:06:05,621 - INFO - we take 696 photos in this while loop
MAIN: 2026-10-26 18:06:05,621 - INFO - /home/pi/Desktop/images/26102026/18/05/image_26102026_18_06_04_58975.jpg
MAIN: 2026-10-26 18:06:05,621 - INFO - duration: 0.9080279179979698
MAIN: 2026-10-26 18:06:05,621 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/18/06'
MAIN: 2026-10-26 18:06: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-10-26 18:07:05,043 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:07: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-10-26 18:07:05,731 - INFO - taking picture
MAIN: 2026-10-26 18:07:05,731 - INFO - we take 697 photos in this while loop
MAIN: 2026-10-26 18:07:05,731 - INFO - /home/pi/Desktop/images/26102026/18/06/image_26102026_18_07_05_60055.jpg
MAIN: 2026-10-26 18:07:05,731 - INFO - duration: 0.963126219001424
MAIN: 2026-10-26 18:07:05,732 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:08:05,203 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:08:05,886 - INFO - taking picture
MAIN: 2026-10-26 18:08:05,886 - INFO - we take 698 photos in this while loop
MAIN: 2026-10-26 18:08:05,886 - INFO - /home/pi/Desktop/images/26102026/18/07/image_26102026_18_08_05_60149.jpg
MAIN: 2026-10-26 18:08:05,887 - INFO - duration: 0.9683234170006472
MAIN: 2026-10-26 18:08:05,887 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/18/08'
MAIN: 2026-10-26 18:08:05,947 - 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-10-26 18:09:04,740 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 18:09:05,213 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:09:05,896 - INFO - taking picture
MAIN: 2026-10-26 18:09:05,896 - INFO - we take 699 photos in this while loop
MAIN: 2026-10-26 18:09:05,896 - INFO - /home/pi/Desktop/images/26102026/18/08/image_26102026_18_09_05_60071.jpg
MAIN: 2026-10-26 18:09:05,896 - INFO - duration: 0.9060784160028561
MAIN: 2026-10-26 18:09:05,896 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:10: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-10-26 18:10: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-10-26 18:10:05,980 - INFO - taking picture
MAIN: 2026-10-26 18:10:05,980 - INFO - we take 700 photos in this while loop
MAIN: 2026-10-26 18:10:05,980 - INFO - /home/pi/Desktop/images/26102026/18/09/image_26102026_18_10_05_60040.jpg
MAIN: 2026-10-26 18:10:05,980 - INFO - duration: 0.949766288002138
MAIN: 2026-10-26 18:10:05,981 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:11: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-10-26 18:11:05,558 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:11:06,239 - INFO - taking picture
MAIN: 2026-10-26 18:11:06,240 - INFO - we take 701 photos in this while loop
MAIN: 2026-10-26 18:11:06,240 - INFO - /home/pi/Desktop/images/26102026/18/10/image_26102026_18_11_05_60251.jpg
MAIN: 2026-10-26 18:11:06,240 - INFO - duration: 0.9575986240015482
MAIN: 2026-10-26 18:11:06,240 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:12: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-10-26 18:12:05,436 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:12:06,121 - INFO - taking picture
MAIN: 2026-10-26 18:12:06,122 - INFO - we take 702 photos in this while loop
MAIN: 2026-10-26 18:12:06,122 - INFO - /home/pi/Desktop/images/26102026/18/11/image_26102026_18_12_05_59885.jpg
MAIN: 2026-10-26 18:12:06,122 - INFO - duration: 0.9538755239991588
MAIN: 2026-10-26 18:12:06,122 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:13: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-10-26 18:13:05,743 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:13:06,425 - INFO - taking picture
MAIN: 2026-10-26 18:13:06,425 - INFO - we take 703 photos in this while loop
MAIN: 2026-10-26 18:13:06,425 - INFO - /home/pi/Desktop/images/26102026/18/12/image_26102026_18_13_05_60319.jpg
MAIN: 2026-10-26 18:13:06,426 - INFO - duration: 0.9377130330030923
MAIN: 2026-10-26 18:13:06,426 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:14: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-10-26 18:14: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-10-26 18:14:06,451 - INFO - taking picture
MAIN: 2026-10-26 18:14:06,451 - INFO - we take 704 photos in this while loop
MAIN: 2026-10-26 18:14:06,451 - INFO - /home/pi/Desktop/images/26102026/18/13/image_26102026_18_14_05_60055.jpg
MAIN: 2026-10-26 18:14:06,451 - INFO - duration: 0.9077869789980468
MAIN: 2026-10-26 18:14:06,452 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:15:05,007 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 18:15: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-10-26 18:15:06,291 - INFO - taking picture
MAIN: 2026-10-26 18:15:06,291 - INFO - we take 705 photos in this while loop
MAIN: 2026-10-26 18:15:06,292 - INFO - /home/pi/Desktop/images/26102026/18/14/image_26102026_18_15_05_59808.jpg
MAIN: 2026-10-26 18:15:06,292 - INFO - duration: 0.9394105250030407
MAIN: 2026-10-26 18:15:06,292 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:16:05,322 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 18:16:05,604 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:16:06,359 - INFO - taking picture
MAIN: 2026-10-26 18:16:06,359 - INFO - we take 706 photos in this while loop
MAIN: 2026-10-26 18:16:06,360 - INFO - /home/pi/Desktop/images/26102026/18/15/image_26102026_18_16_05_59945.jpg
MAIN: 2026-10-26 18:16:06,360 - INFO - duration: 1.0623505869953078
MAIN: 2026-10-26 18:16:06,360 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:17: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-10-26 18:17: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-10-26 18:17:05,646 - INFO - taking picture
MAIN: 2026-10-26 18:17:05,646 - INFO - we take 707 photos in this while loop
MAIN: 2026-10-26 18:17:05,646 - INFO - /home/pi/Desktop/images/26102026/18/16/image_26102026_18_17_04_59380.jpg
MAIN: 2026-10-26 18:17:05,647 - INFO - duration: 0.9688245450015529
MAIN: 2026-10-26 18:17:05,647 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:18:04,990 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:18: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-10-26 18:18:05,712 - INFO - taking picture
MAIN: 2026-10-26 18:18:05,712 - INFO - we take 708 photos in this while loop
MAIN: 2026-10-26 18:18:05,712 - INFO - /home/pi/Desktop/images/26102026/18/17/image_26102026_18_18_04_60056.jpg
MAIN: 2026-10-26 18:18:05,712 - INFO - duration: 0.9779991380055435
MAIN: 2026-10-26 18:18:05,713 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:19: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-10-26 18:19:05,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-10-26 18:19:05,777 - INFO - taking picture
MAIN: 2026-10-26 18:19:05,778 - INFO - we take 709 photos in this while loop
MAIN: 2026-10-26 18:19:05,778 - INFO - /home/pi/Desktop/images/26102026/18/18/image_26102026_18_19_05_60013.jpg
MAIN: 2026-10-26 18:19:05,779 - INFO - duration: 1.0309134910057765
MAIN: 2026-10-26 18:19:05,779 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/18/19'
MAIN: 2026-10-26 18:20:05,387 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=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-10-26 18:20:06,118 - INFO - taking picture
MAIN: 2026-10-26 18:20:06,119 - INFO - we take 710 photos in this while loop
MAIN: 2026-10-26 18:20:06,119 - INFO - /home/pi/Desktop/images/26102026/18/19/image_26102026_18_20_05_60375.jpg
MAIN: 2026-10-26 18:20:06,119 - INFO - duration: 0.9964365760024521
MAIN: 2026-10-26 18:20:06,120 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/18/20'
MAIN: 2026-10-26 18:20:06,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 18:21: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-10-26 18:21: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-10-26 18:21:06,140 - INFO - taking picture
MAIN: 2026-10-26 18:21:06,141 - INFO - we take 711 photos in this while loop
MAIN: 2026-10-26 18:21:06,141 - INFO - /home/pi/Desktop/images/26102026/18/20/image_26102026_18_21_05_60063.jpg
MAIN: 2026-10-26 18:21:06,141 - INFO - duration: 0.9550798950003809
MAIN: 2026-10-26 18:21:06,141 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:22:05,113 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 18:22: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-10-26 18:22:06,112 - INFO - taking picture
MAIN: 2026-10-26 18:22:06,113 - INFO - we take 712 photos in this while loop
MAIN: 2026-10-26 18:22:06,113 - INFO - /home/pi/Desktop/images/26102026/18/21/image_26102026_18_22_05_60016.jpg
MAIN: 2026-10-26 18:22:06,113 - INFO - duration: 0.9105526340063079
MAIN: 2026-10-26 18:22:06,113 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:23:04,968 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 18:23: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-10-26 18:23:06,014 - INFO - taking picture
MAIN: 2026-10-26 18:23:06,014 - INFO - we take 713 photos in this while loop
MAIN: 2026-10-26 18:23:06,014 - INFO - /home/pi/Desktop/images/26102026/18/22/image_26102026_18_23_05_59889.jpg
MAIN: 2026-10-26 18:23:06,015 - INFO - duration: 0.9232513650058536
MAIN: 2026-10-26 18:23:06,015 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:24: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-10-26 18:24: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-10-26 18:24:05,946 - INFO - taking picture
MAIN: 2026-10-26 18:24:05,947 - INFO - we take 714 photos in this while loop
MAIN: 2026-10-26 18:24:05,947 - INFO - /home/pi/Desktop/images/26102026/18/23/image_26102026_18_24_05_59869.jpg
MAIN: 2026-10-26 18:24:05,947 - INFO - duration: 0.9865429750061594
MAIN: 2026-10-26 18:24:05,947 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:25:05,392 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:25: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-10-26 18:25:06,129 - INFO - taking picture
MAIN: 2026-10-26 18:25:06,130 - INFO - we take 715 photos in this while loop
MAIN: 2026-10-26 18:25:06,130 - INFO - /home/pi/Desktop/images/26102026/18/24/image_26102026_18_25_05_60181.jpg
MAIN: 2026-10-26 18:25:06,130 - INFO - duration: 0.98827765200258
MAIN: 2026-10-26 18:25:06,130 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:26: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-10-26 18:26: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-10-26 18:26:05,784 - INFO - taking picture
MAIN: 2026-10-26 18:26:05,784 - INFO - we take 716 photos in this while loop
MAIN: 2026-10-26 18:26:05,784 - INFO - /home/pi/Desktop/images/26102026/18/25/image_26102026_18_26_05_59651.jpg
MAIN: 2026-10-26 18:26:05,785 - INFO - duration: 0.991069484000036
MAIN: 2026-10-26 18:26:05,785 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:27:04,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-10-26 18:27:05,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-10-26 18:27:05,741 - INFO - taking picture
MAIN: 2026-10-26 18:27:05,741 - INFO - we take 717 photos in this while loop
MAIN: 2026-10-26 18:27:05,741 - INFO - /home/pi/Desktop/images/26102026/18/26/image_26102026_18_27_05_60002.jpg
MAIN: 2026-10-26 18:27:05,742 - INFO - duration: 0.9457435549993534
MAIN: 2026-10-26 18:27:05,742 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:28:04,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-10-26 18:28: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-10-26 18:28:05,632 - INFO - taking picture
MAIN: 2026-10-26 18:28:05,632 - INFO - we take 718 photos in this while loop
MAIN: 2026-10-26 18:28:05,633 - INFO - /home/pi/Desktop/images/26102026/18/27/image_26102026_18_28_04_59902.jpg
MAIN: 2026-10-26 18:28:05,633 - INFO - duration: 0.9342258490069071
MAIN: 2026-10-26 18:28:05,633 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:29:04,912 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 18:29: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-10-26 18:29:05,615 - INFO - taking picture
MAIN: 2026-10-26 18:29:05,615 - INFO - we take 719 photos in this while loop
MAIN: 2026-10-26 18:29:05,615 - INFO - /home/pi/Desktop/images/26102026/18/28/image_26102026_18_29_04_59952.jpg
MAIN: 2026-10-26 18:29:05,615 - INFO - duration: 0.9641314889959176
MAIN: 2026-10-26 18:29:05,616 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/18/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-10-26 18:30: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-10-26 18:30:06,018 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 18:30:06,073 - INFO - taking picture
MAIN: 2026-10-26 18:30:06,073 - INFO - we take 720 photos in this while loop
MAIN: 2026-10-26 18:30:06,073 - INFO - /home/pi/Desktop/images/26102026/18/29/image_26102026_18_30_05_60339.jpg
MAIN: 2026-10-26 18:30:06,073 - INFO - duration: 1.0824943210027413
MAIN: 2026-10-26 18:30:06,074 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/18/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-10-26 18:31: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-10-26 18:31:05,398 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:31:06,080 - INFO - taking picture
MAIN: 2026-10-26 18:31:06,080 - INFO - we take 721 photos in this while loop
MAIN: 2026-10-26 18:31:06,081 - INFO - /home/pi/Desktop/images/26102026/18/30/image_26102026_18_31_05_60112.jpg
MAIN: 2026-10-26 18:31:06,081 - INFO - duration: 0.9771735120011726
MAIN: 2026-10-26 18:31:06,081 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:32:05,413 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:32: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 ! 
MAIN: 2026-10-26 18:32:06,189 - INFO - taking picture
MAIN: 2026-10-26 18:32:06,190 - INFO - we take 722 photos in this while loop
MAIN: 2026-10-26 18:32:06,190 - INFO - /home/pi/Desktop/images/26102026/18/31/image_26102026_18_32_05_60042.jpg
MAIN: 2026-10-26 18:32:06,190 - INFO - duration: 1.044332839002891
MAIN: 2026-10-26 18:32:06,190 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:33:04,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-10-26 18:33: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-10-26 18:33:06,668 - INFO - taking picture
MAIN: 2026-10-26 18:33:06,669 - INFO - we take 723 photos in this while loop
MAIN: 2026-10-26 18:33:06,669 - INFO - /home/pi/Desktop/images/26102026/18/32/image_26102026_18_33_05_60455.jpg
MAIN: 2026-10-26 18:33:06,669 - INFO - duration: 1.067760655998427
MAIN: 2026-10-26 18:33:06,669 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:34: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-10-26 18:34: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-10-26 18:34:05,864 - INFO - taking picture
MAIN: 2026-10-26 18:34:05,865 - INFO - we take 724 photos in this while loop
MAIN: 2026-10-26 18:34:05,865 - INFO - /home/pi/Desktop/images/26102026/18/33/image_26102026_18_34_05_59210.jpg
MAIN: 2026-10-26 18:34:05,865 - INFO - duration: 1.0529554980021203
MAIN: 2026-10-26 18:34:05,865 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:35:05,147 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:35: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-10-26 18:35:05,877 - INFO - taking picture
MAIN: 2026-10-26 18:35:05,878 - INFO - we take 725 photos in this while loop
MAIN: 2026-10-26 18:35:05,878 - INFO - /home/pi/Desktop/images/26102026/18/34/image_26102026_18_35_05_60107.jpg
MAIN: 2026-10-26 18:35:05,878 - INFO - duration: 0.9581342790042982
MAIN: 2026-10-26 18:35:05,878 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:36: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-10-26 18:36:05,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-10-26 18:36:05,909 - INFO - taking picture
MAIN: 2026-10-26 18:36:05,909 - INFO - we take 726 photos in this while loop
MAIN: 2026-10-26 18:36:05,909 - INFO - /home/pi/Desktop/images/26102026/18/35/image_26102026_18_36_05_60021.jpg
MAIN: 2026-10-26 18:36:05,909 - INFO - duration: 0.9676620360041852
MAIN: 2026-10-26 18:36:05,910 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:37: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-10-26 18:37:05,591 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 18:37:05,841 - INFO - taking picture
MAIN: 2026-10-26 18:37:05,842 - INFO - we take 727 photos in this while loop
MAIN: 2026-10-26 18:37:05,842 - INFO - /home/pi/Desktop/images/26102026/18/36/image_26102026_18_37_05_59944.jpg
MAIN: 2026-10-26 18:37:05,842 - INFO - duration: 0.9553474240019568
MAIN: 2026-10-26 18:37:05,842 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:38:04,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-10-26 18:38: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-10-26 18:38:05,813 - INFO - taking picture
MAIN: 2026-10-26 18:38:05,813 - INFO - we take 728 photos in this while loop
MAIN: 2026-10-26 18:38:05,813 - INFO - /home/pi/Desktop/images/26102026/18/37/image_26102026_18_38_05_59954.jpg
MAIN: 2026-10-26 18:38:05,813 - INFO - duration: 0.972069254006783
MAIN: 2026-10-26 18:38:05,814 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:39: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-10-26 18:39: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-10-26 18:39:05,788 - INFO - taking picture
MAIN: 2026-10-26 18:39:05,788 - INFO - we take 729 photos in this while loop
MAIN: 2026-10-26 18:39:05,789 - INFO - /home/pi/Desktop/images/26102026/18/38/image_26102026_18_39_05_59996.jpg
MAIN: 2026-10-26 18:39:05,789 - INFO - duration: 0.9513150999991922
MAIN: 2026-10-26 18:39:05,789 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:40:05,122 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:40: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-10-26 18:40:05,920 - INFO - taking picture
MAIN: 2026-10-26 18:40:05,920 - INFO - we take 730 photos in this while loop
MAIN: 2026-10-26 18:40:05,920 - INFO - /home/pi/Desktop/images/26102026/18/39/image_26102026_18_40_05_60048.jpg
MAIN: 2026-10-26 18:40:05,920 - INFO - duration: 1.034822219000489
MAIN: 2026-10-26 18:40:05,921 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:41:04,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 ! 
MAIN: 2026-10-26 18:41:05,381 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:41:06,062 - INFO - taking picture
MAIN: 2026-10-26 18:41:06,062 - INFO - we take 731 photos in this while loop
MAIN: 2026-10-26 18:41:06,062 - INFO - /home/pi/Desktop/images/26102026/18/40/image_26102026_18_41_05_60223.jpg
MAIN: 2026-10-26 18:41:06,062 - INFO - duration: 0.9529565129996627
MAIN: 2026-10-26 18:41:06,062 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:42: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-10-26 18:42: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-10-26 18:42:05,979 - INFO - taking picture
MAIN: 2026-10-26 18:42:05,980 - INFO - we take 732 photos in this while loop
MAIN: 2026-10-26 18:42:05,980 - INFO - /home/pi/Desktop/images/26102026/18/41/image_26102026_18_42_05_59897.jpg
MAIN: 2026-10-26 18:42:05,980 - INFO - duration: 0.9729464550036937
MAIN: 2026-10-26 18:42:05,980 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:43:05,096 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:43:05,665 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 18:43:05,847 - INFO - taking picture
MAIN: 2026-10-26 18:43:05,847 - INFO - we take 733 photos in this while loop
MAIN: 2026-10-26 18:43:05,848 - INFO - /home/pi/Desktop/images/26102026/18/42/image_26102026_18_43_05_59822.jpg
MAIN: 2026-10-26 18:43:05,848 - INFO - duration: 1.018001397002081
MAIN: 2026-10-26 18:43:05,848 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:44:05,412 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:44: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 ! 
MAIN: 2026-10-26 18:44:06,104 - INFO - taking picture
MAIN: 2026-10-26 18:44:06,104 - INFO - we take 734 photos in this while loop
MAIN: 2026-10-26 18:44:06,104 - INFO - /home/pi/Desktop/images/26102026/18/43/image_26102026_18_44_05_60319.jpg
MAIN: 2026-10-26 18:44:06,104 - INFO - duration: 0.9548303660048987
MAIN: 2026-10-26 18:44:06,105 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:45: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-10-26 18:45:05,430 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:45:06,112 - INFO - taking picture
MAIN: 2026-10-26 18:45:06,112 - INFO - we take 735 photos in this while loop
MAIN: 2026-10-26 18:45:06,112 - INFO - /home/pi/Desktop/images/26102026/18/44/image_26102026_18_45_05_60054.jpg
MAIN: 2026-10-26 18:45:06,112 - INFO - duration: 0.907836471000337
MAIN: 2026-10-26 18:45:06,113 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:46: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-10-26 18:46:05,614 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:46:06,299 - INFO - taking picture
MAIN: 2026-10-26 18:46:06,300 - INFO - we take 736 photos in this while loop
MAIN: 2026-10-26 18:46:06,300 - INFO - /home/pi/Desktop/images/26102026/18/45/image_26102026_18_46_05_60184.jpg
MAIN: 2026-10-26 18:46:06,300 - INFO - duration: 0.9106642819970148
MAIN: 2026-10-26 18:46:06,300 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:47: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-10-26 18:47: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-10-26 18:47:06,155 - INFO - taking picture
MAIN: 2026-10-26 18:47:06,156 - INFO - we take 737 photos in this while loop
MAIN: 2026-10-26 18:47:06,156 - INFO - /home/pi/Desktop/images/26102026/18/46/image_26102026_18_47_05_59858.jpg
MAIN: 2026-10-26 18:47:06,156 - INFO - duration: 0.9081933260022197
MAIN: 2026-10-26 18:47:06,156 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:48:05,473 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:48: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-10-26 18:48:06,166 - INFO - taking picture
MAIN: 2026-10-26 18:48:06,166 - INFO - we take 738 photos in this while loop
MAIN: 2026-10-26 18:48:06,166 - INFO - /home/pi/Desktop/images/26102026/18/47/image_26102026_18_48_05_59985.jpg
MAIN: 2026-10-26 18:48:06,166 - INFO - duration: 0.9325804120016983
MAIN: 2026-10-26 18:48:06,166 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:49:04,757 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 18:49: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-10-26 18:49:06,184 - INFO - taking picture
MAIN: 2026-10-26 18:49:06,184 - INFO - we take 739 photos in this while loop
MAIN: 2026-10-26 18:49:06,184 - INFO - /home/pi/Desktop/images/26102026/18/48/image_26102026_18_49_05_59989.jpg
MAIN: 2026-10-26 18:49:06,185 - INFO - duration: 0.961607905002893
MAIN: 2026-10-26 18:49:06,185 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:50: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-10-26 18: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-10-26 18:50:06,360 - INFO - taking picture
MAIN: 2026-10-26 18:50:06,360 - INFO - we take 740 photos in this while loop
MAIN: 2026-10-26 18:50:06,361 - INFO - /home/pi/Desktop/images/26102026/18/49/image_26102026_18_50_05_60184.jpg
MAIN: 2026-10-26 18:50:06,361 - INFO - duration: 0.9527724949948606
MAIN: 2026-10-26 18:50:06,361 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:51: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-10-26 18:51: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-10-26 18:51:06,239 - INFO - taking picture
MAIN: 2026-10-26 18:51:06,239 - INFO - we take 741 photos in this while loop
MAIN: 2026-10-26 18:51:06,240 - INFO - /home/pi/Desktop/images/26102026/18/50/image_26102026_18_51_05_59899.jpg
MAIN: 2026-10-26 18:51:06,240 - INFO - duration: 0.932342095002241
MAIN: 2026-10-26 18:51:06,240 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:52: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-10-26 18:52: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-10-26 18:52:06,196 - INFO - taking picture
MAIN: 2026-10-26 18:52:06,196 - INFO - we take 742 photos in this while loop
MAIN: 2026-10-26 18:52:06,196 - INFO - /home/pi/Desktop/images/26102026/18/51/image_26102026_18_52_05_59894.jpg
MAIN: 2026-10-26 18:52:06,196 - INFO - duration: 0.9940572499981499
MAIN: 2026-10-26 18:52:06,196 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:53:05,381 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:53:05,634 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 18:53:06,072 - INFO - taking picture
MAIN: 2026-10-26 18:53:06,073 - INFO - we take 743 photos in this while loop
MAIN: 2026-10-26 18:53:06,073 - INFO - /home/pi/Desktop/images/26102026/18/52/image_26102026_18_53_05_59927.jpg
MAIN: 2026-10-26 18:53:06,073 - INFO - duration: 0.9435709769968526
MAIN: 2026-10-26 18:53:06,073 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:54:05,381 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:54:05,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-10-26 18:54:06,076 - INFO - taking picture
MAIN: 2026-10-26 18:54:06,077 - INFO - we take 744 photos in this while loop
MAIN: 2026-10-26 18:54:06,077 - INFO - /home/pi/Desktop/images/26102026/18/53/image_26102026_18_54_05_59963.jpg
MAIN: 2026-10-26 18:54:06,077 - INFO - duration: 0.984647222001513
MAIN: 2026-10-26 18:54:06,077 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:55: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-10-26 18:55: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-10-26 18:55:06,329 - INFO - taking picture
MAIN: 2026-10-26 18:55:06,329 - INFO - we take 745 photos in this while loop
MAIN: 2026-10-26 18:55:06,329 - INFO - /home/pi/Desktop/images/26102026/18/54/image_26102026_18_55_05_60271.jpg
MAIN: 2026-10-26 18:55:06,329 - INFO - duration: 0.9658281309966696
MAIN: 2026-10-26 18:55:06,330 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:56: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-10-26 18:56: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-10-26 18:56:06,278 - INFO - taking picture
MAIN: 2026-10-26 18:56:06,278 - INFO - we take 746 photos in this while loop
MAIN: 2026-10-26 18:56:06,278 - INFO - /home/pi/Desktop/images/26102026/18/55/image_26102026_18_56_05_59889.jpg
MAIN: 2026-10-26 18:56:06,279 - INFO - duration: 1.0257398719986668
MAIN: 2026-10-26 18:56:06,279 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:57:05,109 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 18:57:05,781 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:57:06,486 - INFO - taking picture
MAIN: 2026-10-26 18:57:06,486 - INFO - we take 747 photos in this while loop
MAIN: 2026-10-26 18:57:06,486 - INFO - /home/pi/Desktop/images/26102026/18/56/image_26102026_18_57_05_60246.jpg
MAIN: 2026-10-26 18:57:06,487 - INFO - duration: 0.9872419649982476
MAIN: 2026-10-26 18:57:06,487 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 18:58:04,947 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:58:05,631 - INFO - taking picture
MAIN: 2026-10-26 18:58:05,631 - INFO - we take 748 photos in this while loop
MAIN: 2026-10-26 18:58:05,631 - INFO - /home/pi/Desktop/images/26102026/18/57/image_26102026_18_58_04_59178.jpg
MAIN: 2026-10-26 18:58:05,631 - INFO - duration: 0.95311161599966
MAIN: 2026-10-26 18:58:05,632 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/18/58'
MAIN: 2026-10-26 18:58:05,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 18:59:04,985 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 18:59:05,983 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 18:59:06,667 - INFO - taking picture
MAIN: 2026-10-26 18:59:06,667 - INFO - we take 749 photos in this while loop
MAIN: 2026-10-26 18:59:06,667 - INFO - /home/pi/Desktop/images/26102026/18/58/image_26102026_18_59_05_61030.jpg
MAIN: 2026-10-26 18:59:06,668 - INFO - duration: 0.9588686709976173
MAIN: 2026-10-26 18:59:06,668 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:00: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-10-26 19:00:05,682 - INFO - taking picture
MAIN: 2026-10-26 19:00:05,682 - INFO - we take 750 photos in this while loop
MAIN: 2026-10-26 19:00:05,682 - INFO - /home/pi/Desktop/images/26102026/18/59/image_26102026_19_00_04_58944.jpg
MAIN: 2026-10-26 19:00:05,682 - INFO - duration: 1.0285111530029099
MAIN: 2026-10-26 19:00:05,682 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/19/00'
MAIN: 2026-10-26 19:00:05,821 - 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-10-26 19:01:05,093 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:01: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-10-26 19:01:05,818 - INFO - taking picture
MAIN: 2026-10-26 19:01:05,819 - INFO - we take 751 photos in this while loop
MAIN: 2026-10-26 19:01:05,819 - INFO - /home/pi/Desktop/images/26102026/19/00/image_26102026_19_01_05_60173.jpg
MAIN: 2026-10-26 19:01:05,819 - INFO - duration: 0.9914507150024292
MAIN: 2026-10-26 19:01:05,819 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:02: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-10-26 19:02:05,665 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:02:05,968 - INFO - taking picture
MAIN: 2026-10-26 19:02:05,968 - INFO - we take 752 photos in this while loop
MAIN: 2026-10-26 19:02:05,968 - INFO - /home/pi/Desktop/images/26102026/19/01/image_26102026_19_02_05_60095.jpg
MAIN: 2026-10-26 19:02:05,968 - INFO - duration: 1.0454197889994248
MAIN: 2026-10-26 19:02:05,969 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:03: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-10-26 19:03:05,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-10-26 19:03:06,020 - INFO - taking picture
MAIN: 2026-10-26 19:03:06,020 - INFO - we take 753 photos in this while loop
MAIN: 2026-10-26 19:03:06,020 - INFO - /home/pi/Desktop/images/26102026/19/02/image_26102026_19_03_05_60102.jpg
MAIN: 2026-10-26 19:03:06,020 - INFO - duration: 0.9946264729951508
MAIN: 2026-10-26 19:03:06,021 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:04:04,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 ! 
MAIN: 2026-10-26 19:04:05,534 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:04:06,331 - INFO - taking picture
MAIN: 2026-10-26 19:04:06,331 - INFO - we take 754 photos in this while loop
MAIN: 2026-10-26 19:04:06,331 - INFO - /home/pi/Desktop/images/26102026/19/03/image_26102026_19_04_05_60241.jpg
MAIN: 2026-10-26 19:04:06,331 - INFO - duration: 1.0640594180003973
MAIN: 2026-10-26 19:04:06,332 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:05:05,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-10-26 19:05: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-10-26 19:05:06,511 - INFO - taking picture
MAIN: 2026-10-26 19:05:06,511 - INFO - we take 755 photos in this while loop
MAIN: 2026-10-26 19:05:06,511 - INFO - /home/pi/Desktop/images/26102026/19/04/image_26102026_19_05_05_60311.jpg
MAIN: 2026-10-26 19:05:06,512 - INFO - duration: 0.9326738950039726
MAIN: 2026-10-26 19:05:06,512 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:06:05,260 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:06:05,876 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:06:06,566 - INFO - taking picture
MAIN: 2026-10-26 19:06:06,566 - INFO - we take 756 photos in this while loop
MAIN: 2026-10-26 19:06:06,566 - INFO - /home/pi/Desktop/images/26102026/19/05/image_26102026_19_06_05_60071.jpg
MAIN: 2026-10-26 19:06:06,566 - INFO - duration: 0.9156750660040416
MAIN: 2026-10-26 19:06:06,567 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:07:05,187 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:07:06,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-10-26 19:07:06,824 - INFO - taking picture
MAIN: 2026-10-26 19:07:06,824 - INFO - we take 757 photos in this while loop
MAIN: 2026-10-26 19:07:06,825 - INFO - /home/pi/Desktop/images/26102026/19/06/image_26102026_19_07_06_60108.jpg
MAIN: 2026-10-26 19:07:06,825 - INFO - duration: 1.0654622160000145
MAIN: 2026-10-26 19:07:06,825 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:08:04,928 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:08:05,591 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:08:05,615 - INFO - taking picture
MAIN: 2026-10-26 19:08:05,616 - INFO - we take 758 photos in this while loop
MAIN: 2026-10-26 19:08:05,617 - INFO - /home/pi/Desktop/images/26102026/19/07/image_26102026_19_08_04_58909.jpg
MAIN: 2026-10-26 19:08:05,617 - INFO - duration: 0.9485073469986673
MAIN: 2026-10-26 19:08:05,618 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:09: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-10-26 19:09:05,631 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:09:06,321 - INFO - taking picture
MAIN: 2026-10-26 19:09:06,321 - INFO - we take 759 photos in this while loop
MAIN: 2026-10-26 19:09:06,321 - INFO - /home/pi/Desktop/images/26102026/19/08/image_26102026_19_09_05_60652.jpg
MAIN: 2026-10-26 19:09:06,321 - INFO - duration: 1.0003991039993707
MAIN: 2026-10-26 19:09:06,322 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:10: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-10-26 19:10:05,554 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:10:06,314 - INFO - taking picture
MAIN: 2026-10-26 19:10:06,314 - INFO - we take 760 photos in this while loop
MAIN: 2026-10-26 19:10:06,314 - INFO - /home/pi/Desktop/images/26102026/19/09/image_26102026_19_10_05_59968.jpg
MAIN: 2026-10-26 19:10:06,314 - INFO - duration: 1.024730372002523
MAIN: 2026-10-26 19:10:06,315 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/19/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-10-26 19:11: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-10-26 19:11:05,861 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:11:06,544 - INFO - taking picture
MAIN: 2026-10-26 19:11:06,544 - INFO - we take 761 photos in this while loop
MAIN: 2026-10-26 19:11:06,545 - INFO - /home/pi/Desktop/images/26102026/19/10/image_26102026_19_11_05_60294.jpg
MAIN: 2026-10-26 19:11:06,545 - INFO - duration: 0.9603667600022163
MAIN: 2026-10-26 19:11:06,545 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:12: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-10-26 19:12: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-10-26 19:12:06,510 - INFO - taking picture
MAIN: 2026-10-26 19:12:06,510 - INFO - we take 762 photos in this while loop
MAIN: 2026-10-26 19:12:06,510 - INFO - /home/pi/Desktop/images/26102026/19/11/image_26102026_19_12_05_60012.jpg
MAIN: 2026-10-26 19:12:06,511 - INFO - duration: 0.9141951030032942
MAIN: 2026-10-26 19:12:06,511 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:13: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-10-26 19:13: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-10-26 19:13:06,284 - INFO - taking picture
MAIN: 2026-10-26 19:13:06,285 - INFO - we take 763 photos in this while loop
MAIN: 2026-10-26 19:13:06,285 - INFO - /home/pi/Desktop/images/26102026/19/12/image_26102026_19_13_05_59771.jpg
MAIN: 2026-10-26 19:13:06,285 - INFO - duration: 0.9172154830012005
MAIN: 2026-10-26 19:13:06,285 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:14: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-10-26 19:14: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-10-26 19:14:06,353 - INFO - taking picture
MAIN: 2026-10-26 19:14:06,353 - INFO - we take 764 photos in this while loop
MAIN: 2026-10-26 19:14:06,353 - INFO - /home/pi/Desktop/images/26102026/19/13/image_26102026_19_14_05_60022.jpg
MAIN: 2026-10-26 19:14:06,354 - INFO - duration: 0.9638496819970896
MAIN: 2026-10-26 19:14:06,354 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:15:04,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-10-26 19:15: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-10-26 19:15:06,601 - INFO - taking picture
MAIN: 2026-10-26 19:15:06,601 - INFO - we take 765 photos in this while loop
MAIN: 2026-10-26 19:15:06,601 - INFO - /home/pi/Desktop/images/26102026/19/14/image_26102026_19_15_05_60142.jpg
MAIN: 2026-10-26 19:15:06,601 - INFO - duration: 1.0687210279938881
MAIN: 2026-10-26 19:15:06,602 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/19/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-10-26 19:16:05,028 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:16: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-10-26 19:16:06,672 - INFO - taking picture
MAIN: 2026-10-26 19:16:06,673 - INFO - we take 766 photos in this while loop
MAIN: 2026-10-26 19:16:06,673 - INFO - /home/pi/Desktop/images/26102026/19/15/image_26102026_19_16_05_60195.jpg
MAIN: 2026-10-26 19:16:06,673 - INFO - duration: 0.9447666109990678
MAIN: 2026-10-26 19:16:06,673 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/19/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-10-26 19:17: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-10-26 19:17:06,114 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:17:06,797 - INFO - taking picture
MAIN: 2026-10-26 19:17:06,797 - INFO - we take 767 photos in this while loop
MAIN: 2026-10-26 19:17:06,797 - INFO - /home/pi/Desktop/images/26102026/19/16/image_26102026_19_17_06_60103.jpg
MAIN: 2026-10-26 19:17:06,797 - INFO - duration: 0.965508082001179
MAIN: 2026-10-26 19:17:06,798 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:18: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-10-26 19:18:05,617 - INFO - taking picture
MAIN: 2026-10-26 19:18:05,617 - INFO - we take 768 photos in this while loop
MAIN: 2026-10-26 19:18:05,617 - INFO - /home/pi/Desktop/images/26102026/19/17/image_26102026_19_18_04_58830.jpg
MAIN: 2026-10-26 19:18:05,617 - INFO - duration: 0.9546518120041583
MAIN: 2026-10-26 19:18:05,617 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/19/18'
MAIN: 2026-10-26 19:18: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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 19:19:05,120 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:19: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-10-26 19:19:05,893 - INFO - taking picture
MAIN: 2026-10-26 19:19:05,894 - INFO - we take 769 photos in this while loop
MAIN: 2026-10-26 19:19:05,894 - INFO - /home/pi/Desktop/images/26102026/19/18/image_26102026_19_19_05_60143.jpg
MAIN: 2026-10-26 19:19:05,894 - INFO - duration: 1.0884019619988976
MAIN: 2026-10-26 19:19:05,894 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:20: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-10-26 19:20: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-10-26 19:20:06,171 - INFO - taking picture
MAIN: 2026-10-26 19:20:06,171 - INFO - we take 770 photos in this while loop
MAIN: 2026-10-26 19:20:06,171 - INFO - /home/pi/Desktop/images/26102026/19/19/image_26102026_19_20_05_60434.jpg
MAIN: 2026-10-26 19:20:06,171 - INFO - duration: 0.9309680389997084
MAIN: 2026-10-26 19:20:06,172 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:21:04,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-10-26 19:21: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-10-26 19:21:06,195 - INFO - taking picture
MAIN: 2026-10-26 19:21:06,195 - INFO - we take 771 photos in this while loop
MAIN: 2026-10-26 19:21:06,195 - INFO - /home/pi/Desktop/images/26102026/19/20/image_26102026_19_21_05_59991.jpg
MAIN: 2026-10-26 19:21:06,196 - INFO - duration: 0.963519114004157
MAIN: 2026-10-26 19:21:06,196 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:22:05,195 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:22:05,627 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:22:06,310 - INFO - taking picture
MAIN: 2026-10-26 19:22:06,310 - INFO - we take 772 photos in this while loop
MAIN: 2026-10-26 19:22:06,310 - INFO - /home/pi/Desktop/images/26102026/19/21/image_26102026_19_22_05_60171.jpg
MAIN: 2026-10-26 19:22:06,310 - INFO - duration: 0.9059457170005771
MAIN: 2026-10-26 19:22:06,310 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:23:05,111 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:23: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-10-26 19:23:06,335 - INFO - taking picture
MAIN: 2026-10-26 19:23:06,335 - INFO - we take 773 photos in this while loop
MAIN: 2026-10-26 19:23:06,335 - INFO - /home/pi/Desktop/images/26102026/19/22/image_26102026_19_23_05_60021.jpg
MAIN: 2026-10-26 19:23:06,335 - INFO - duration: 0.909476373999496
MAIN: 2026-10-26 19:23:06,336 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:24:05,630 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:24: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-10-26 19:24:06,407 - INFO - taking picture
MAIN: 2026-10-26 19:24:06,407 - INFO - we take 774 photos in this while loop
MAIN: 2026-10-26 19:24:06,407 - INFO - /home/pi/Desktop/images/26102026/19/23/image_26102026_19_24_05_59927.jpg
MAIN: 2026-10-26 19:24:06,407 - INFO - duration: 1.054364016999898
MAIN: 2026-10-26 19:24:06,408 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:25:05,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-10-26 19:25:05,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-10-26 19:25:06,590 - INFO - taking picture
MAIN: 2026-10-26 19:25:06,591 - INFO - we take 775 photos in this while loop
MAIN: 2026-10-26 19:25:06,591 - INFO - /home/pi/Desktop/images/26102026/19/24/image_26102026_19_25_05_60300.jpg
MAIN: 2026-10-26 19:25:06,591 - INFO - duration: 0.9373068189961486
MAIN: 2026-10-26 19:25:06,591 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:26: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-10-26 19:26: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-10-26 19:26:06,619 - INFO - taking picture
MAIN: 2026-10-26 19:26:06,619 - INFO - we take 776 photos in this while loop
MAIN: 2026-10-26 19:26:06,619 - INFO - /home/pi/Desktop/images/26102026/19/25/image_26102026_19_26_05_60020.jpg
MAIN: 2026-10-26 19:26:06,620 - INFO - duration: 0.9457084770037909
MAIN: 2026-10-26 19:26:06,620 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:27: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-10-26 19:27:05,820 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:27:06,501 - INFO - taking picture
MAIN: 2026-10-26 19:27:06,501 - INFO - we take 777 photos in this while loop
MAIN: 2026-10-26 19:27:06,501 - INFO - /home/pi/Desktop/images/26102026/19/26/image_26102026_19_27_05_59889.jpg
MAIN: 2026-10-26 19:27:06,502 - INFO - duration: 0.9380532309951377
MAIN: 2026-10-26 19:27:06,502 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:28: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-10-26 19:28:05,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-10-26 19:28:06,591 - INFO - taking picture
MAIN: 2026-10-26 19:28:06,591 - INFO - we take 778 photos in this while loop
MAIN: 2026-10-26 19:28:06,591 - INFO - /home/pi/Desktop/images/26102026/19/27/image_26102026_19_28_05_60124.jpg
MAIN: 2026-10-26 19:28:06,591 - INFO - duration: 0.9037181539970334
MAIN: 2026-10-26 19:28:06,592 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:29: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-10-26 19:29: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-10-26 19:29:06,474 - INFO - taking picture
MAIN: 2026-10-26 19:29:06,475 - INFO - we take 779 photos in this while loop
MAIN: 2026-10-26 19:29:06,475 - INFO - /home/pi/Desktop/images/26102026/19/28/image_26102026_19_29_05_59882.jpg
MAIN: 2026-10-26 19:29:06,475 - INFO - duration: 0.9048731469956692
MAIN: 2026-10-26 19:29:06,475 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:30:05,980 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:30:06,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-10-26 19:30:06,782 - INFO - taking picture
MAIN: 2026-10-26 19:30:06,782 - INFO - we take 780 photos in this while loop
MAIN: 2026-10-26 19:30:06,782 - INFO - /home/pi/Desktop/images/26102026/19/29/image_26102026_19_30_05_60155.jpg
MAIN: 2026-10-26 19:30:06,782 - INFO - duration: 1.057251954000094
MAIN: 2026-10-26 19:30:06,783 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/19/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-10-26 19:31:05,151 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:31:05,689 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:31:05,916 - INFO - taking picture
MAIN: 2026-10-26 19:31:05,917 - INFO - we take 781 photos in this while loop
MAIN: 2026-10-26 19:31:05,917 - INFO - /home/pi/Desktop/images/26102026/19/30/image_26102026_19_31_05_59120.jpg
MAIN: 2026-10-26 19:31:05,917 - INFO - duration: 1.071510178000608
MAIN: 2026-10-26 19:31:05,917 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:32: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-10-26 19:32:05,466 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:32:06,148 - INFO - taking picture
MAIN: 2026-10-26 19:32:06,148 - INFO - we take 782 photos in this while loop
MAIN: 2026-10-26 19:32:06,148 - INFO - /home/pi/Desktop/images/26102026/19/31/image_26102026_19_32_05_60349.jpg
MAIN: 2026-10-26 19:32:06,149 - INFO - duration: 0.9536048129957635
MAIN: 2026-10-26 19:32:06,149 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:33:04,744 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:33: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-10-26 19:33:06,425 - INFO - taking picture
MAIN: 2026-10-26 19:33:06,425 - INFO - we take 783 photos in this while loop
MAIN: 2026-10-26 19:33:06,425 - INFO - /home/pi/Desktop/images/26102026/19/32/image_26102026_19_33_05_60281.jpg
MAIN: 2026-10-26 19:33:06,425 - INFO - duration: 0.9488866799947573
MAIN: 2026-10-26 19:33:06,426 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:34:05,541 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:34: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-10-26 19:34:06,679 - INFO - taking picture
MAIN: 2026-10-26 19:34:06,679 - INFO - we take 784 photos in this while loop
MAIN: 2026-10-26 19:34:06,680 - INFO - /home/pi/Desktop/images/26102026/19/33/image_26102026_19_34_05_60176.jpg
MAIN: 2026-10-26 19:34:06,680 - INFO - duration: 1.026465625000128
MAIN: 2026-10-26 19:34:06,680 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:35:05,123 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:35: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 ! 
MAIN: 2026-10-26 19:35:05,926 - INFO - taking picture
MAIN: 2026-10-26 19:35:05,927 - INFO - we take 785 photos in this while loop
MAIN: 2026-10-26 19:35:05,927 - INFO - /home/pi/Desktop/images/26102026/19/34/image_26102026_19_35_05_59220.jpg
MAIN: 2026-10-26 19:35:05,927 - INFO - duration: 1.0534259369960637
MAIN: 2026-10-26 19:35:05,927 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:36: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-10-26 19:36:05,690 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:36:06,423 - INFO - taking picture
MAIN: 2026-10-26 19:36:06,423 - INFO - we take 786 photos in this while loop
MAIN: 2026-10-26 19:36:06,423 - INFO - /home/pi/Desktop/images/26102026/19/35/image_26102026_19_36_05_60466.jpg
MAIN: 2026-10-26 19:36:06,423 - INFO - duration: 1.0833176620071754
MAIN: 2026-10-26 19:36:06,424 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:37:05,503 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:37: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-10-26 19:37:06,370 - INFO - taking picture
MAIN: 2026-10-26 19:37:06,371 - INFO - we take 787 photos in this while loop
MAIN: 2026-10-26 19:37:06,371 - INFO - /home/pi/Desktop/images/26102026/19/36/image_26102026_19_37_05_60061.jpg
MAIN: 2026-10-26 19:37:06,371 - INFO - duration: 0.9697737840033369
MAIN: 2026-10-26 19:37:06,371 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:38:05,187 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:38:05,607 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:38:06,293 - INFO - taking picture
MAIN: 2026-10-26 19:38:06,293 - INFO - we take 788 photos in this while loop
MAIN: 2026-10-26 19:38:06,293 - INFO - /home/pi/Desktop/images/26102026/19/37/image_26102026_19_38_05_59948.jpg
MAIN: 2026-10-26 19:38:06,293 - INFO - duration: 0.9434125629995833
MAIN: 2026-10-26 19:38:06,293 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/19/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-10-26 19:39: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-10-26 19:39:05,642 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:39:06,323 - INFO - taking picture
MAIN: 2026-10-26 19:39:06,324 - INFO - we take 789 photos in this while loop
MAIN: 2026-10-26 19:39:06,324 - INFO - /home/pi/Desktop/images/26102026/19/38/image_26102026_19_39_05_60006.jpg
MAIN: 2026-10-26 19:39:06,324 - INFO - duration: 0.9675567930025863
MAIN: 2026-10-26 19:39:06,324 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:40:05,638 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:40:05,980 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:40:06,666 - INFO - taking picture
MAIN: 2026-10-26 19:40:06,666 - INFO - we take 790 photos in this while loop
MAIN: 2026-10-26 19:40:06,666 - INFO - /home/pi/Desktop/images/26102026/19/39/image_26102026_19_40_05_60350.jpg
MAIN: 2026-10-26 19:40:06,666 - INFO - duration: 0.9593984719977016
MAIN: 2026-10-26 19:40:06,666 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:41:04,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-10-26 19:41:05,381 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:41:05,604 - INFO - taking picture
MAIN: 2026-10-26 19:41:05,605 - INFO - we take 791 photos in this while loop
MAIN: 2026-10-26 19:41:05,605 - INFO - /home/pi/Desktop/images/26102026/19/40/image_26102026_19_41_04_58943.jpg
MAIN: 2026-10-26 19:41:05,605 - INFO - duration: 0.9550116680038627
MAIN: 2026-10-26 19:41:05,605 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:42: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-10-26 19:42:05,748 - INFO - taking picture
MAIN: 2026-10-26 19:42:05,748 - INFO - we take 792 photos in this while loop
MAIN: 2026-10-26 19:42:05,748 - INFO - /home/pi/Desktop/images/26102026/19/41/image_26102026_19_42_05_60168.jpg
MAIN: 2026-10-26 19:42:05,748 - INFO - duration: 0.9297901190002449
MAIN: 2026-10-26 19:42:05,748 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/19/42'
MAIN: 2026-10-26 19:42:05,891 - 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-10-26 19:43:04,774 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:43: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-10-26 19:43:05,854 - INFO - taking picture
MAIN: 2026-10-26 19:43:05,855 - INFO - we take 793 photos in this while loop
MAIN: 2026-10-26 19:43:05,855 - INFO - /home/pi/Desktop/images/26102026/19/42/image_26102026_19_43_05_60116.jpg
MAIN: 2026-10-26 19:43:05,855 - INFO - duration: 0.9199247420037864
MAIN: 2026-10-26 19:43:05,855 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:44: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-10-26 19:44: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-10-26 19:44:05,994 - INFO - taking picture
MAIN: 2026-10-26 19:44:05,995 - INFO - we take 794 photos in this while loop
MAIN: 2026-10-26 19:44:05,995 - INFO - /home/pi/Desktop/images/26102026/19/43/image_26102026_19_44_05_60132.jpg
MAIN: 2026-10-26 19:44:05,995 - INFO - duration: 0.9279510659980588
MAIN: 2026-10-26 19:44:05,995 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:45:05,244 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:45: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-10-26 19:45:05,975 - INFO - taking picture
MAIN: 2026-10-26 19:45:05,976 - INFO - we take 795 photos in this while loop
MAIN: 2026-10-26 19:45:05,976 - INFO - /home/pi/Desktop/images/26102026/19/44/image_26102026_19_45_05_59923.jpg
MAIN: 2026-10-26 19:45:05,976 - INFO - duration: 0.9858813470054884
MAIN: 2026-10-26 19:45:05,976 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/19/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-10-26 19:46: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-10-26 19:46: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-10-26 19:46:06,078 - INFO - taking picture
MAIN: 2026-10-26 19:46:06,078 - INFO - we take 796 photos in this while loop
MAIN: 2026-10-26 19:46:06,078 - INFO - /home/pi/Desktop/images/26102026/19/45/image_26102026_19_46_05_60108.jpg
MAIN: 2026-10-26 19:46:06,078 - INFO - duration: 0.9794895260056364
MAIN: 2026-10-26 19:46:06,078 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:47: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-10-26 19:47: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-10-26 19:47:05,908 - INFO - taking picture
MAIN: 2026-10-26 19:47:05,909 - INFO - we take 797 photos in this while loop
MAIN: 2026-10-26 19:47:05,909 - INFO - /home/pi/Desktop/images/26102026/19/46/image_26102026_19_47_05_59871.jpg
MAIN: 2026-10-26 19:47:05,909 - INFO - duration: 0.9390360809993581
MAIN: 2026-10-26 19:47:05,909 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:48: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-10-26 19:48:05,534 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:48:05,883 - INFO - taking picture
MAIN: 2026-10-26 19:48:05,883 - INFO - we take 798 photos in this while loop
MAIN: 2026-10-26 19:48:05,883 - INFO - /home/pi/Desktop/images/26102026/19/47/image_26102026_19_48_05_59990.jpg
MAIN: 2026-10-26 19:48:05,883 - INFO - duration: 0.9226412349962629
MAIN: 2026-10-26 19:48:05,884 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:49: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-10-26 19:49:05,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-10-26 19:49:05,929 - INFO - taking picture
MAIN: 2026-10-26 19:49:05,930 - INFO - we take 799 photos in this while loop
MAIN: 2026-10-26 19:49:05,930 - INFO - /home/pi/Desktop/images/26102026/19/48/image_26102026_19_49_05_60004.jpg
MAIN: 2026-10-26 19:49:05,930 - INFO - duration: 0.9644499450005242
MAIN: 2026-10-26 19:49:05,930 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:50: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-10-26 19:50: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-10-26 19:50:06,122 - INFO - taking picture
MAIN: 2026-10-26 19:50:06,122 - INFO - we take 800 photos in this while loop
MAIN: 2026-10-26 19:50:06,122 - INFO - /home/pi/Desktop/images/26102026/19/49/image_26102026_19_50_05_60243.jpg
MAIN: 2026-10-26 19:50:06,122 - INFO - duration: 0.9133985180014861
MAIN: 2026-10-26 19:50:06,123 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:51:04,900 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:51: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-10-26 19:51:06,184 - INFO - taking picture
MAIN: 2026-10-26 19:51:06,185 - INFO - we take 801 photos in this while loop
MAIN: 2026-10-26 19:51:06,185 - INFO - /home/pi/Desktop/images/26102026/19/50/image_26102026_19_51_05_60033.jpg
MAIN: 2026-10-26 19:51:06,185 - INFO - duration: 0.9430331330004265
MAIN: 2026-10-26 19:51:06,185 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:52: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-10-26 19:52: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-10-26 19:52:06,164 - INFO - taking picture
MAIN: 2026-10-26 19:52:06,164 - INFO - we take 802 photos in this while loop
MAIN: 2026-10-26 19:52:06,164 - INFO - /home/pi/Desktop/images/26102026/19/51/image_26102026_19_52_05_59921.jpg
MAIN: 2026-10-26 19:52:06,164 - INFO - duration: 1.0007554540061392
MAIN: 2026-10-26 19:52:06,165 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:53:05,353 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:53:05,389 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:53:06,043 - INFO - taking picture
MAIN: 2026-10-26 19:53:06,044 - INFO - we take 803 photos in this while loop
MAIN: 2026-10-26 19:53:06,044 - INFO - /home/pi/Desktop/images/26102026/19/52/image_26102026_19_53_05_59945.jpg
MAIN: 2026-10-26 19:53:06,044 - INFO - duration: 0.9347991370013915
MAIN: 2026-10-26 19:53:06,044 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:54: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-10-26 19:54:05,652 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:54:06,335 - INFO - taking picture
MAIN: 2026-10-26 19:54:06,336 - INFO - we take 804 photos in this while loop
MAIN: 2026-10-26 19:54:06,336 - INFO - /home/pi/Desktop/images/26102026/19/53/image_26102026_19_54_05_60319.jpg
MAIN: 2026-10-26 19:54:06,336 - INFO - duration: 0.9072110950000933
MAIN: 2026-10-26 19:54:06,336 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:55: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-10-26 19:55:05,859 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:55:06,547 - INFO - taking picture
MAIN: 2026-10-26 19:55:06,547 - INFO - we take 805 photos in this while loop
MAIN: 2026-10-26 19:55:06,548 - INFO - /home/pi/Desktop/images/26102026/19/54/image_26102026_19_55_05_60177.jpg
MAIN: 2026-10-26 19:55:06,548 - INFO - duration: 0.9413459160059574
MAIN: 2026-10-26 19:55:06,548 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/19/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-10-26 19:56: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-10-26 19:56:05,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-10-26 19:56:06,581 - INFO - taking picture
MAIN: 2026-10-26 19:56:06,581 - INFO - we take 806 photos in this while loop
MAIN: 2026-10-26 19:56:06,581 - INFO - /home/pi/Desktop/images/26102026/19/55/image_26102026_19_56_05_60011.jpg
MAIN: 2026-10-26 19:56:06,581 - INFO - duration: 0.9631446610001149
MAIN: 2026-10-26 19:56:06,582 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/19/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-10-26 19:57: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-10-26 19:57: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-10-26 19:57:06,536 - INFO - taking picture
MAIN: 2026-10-26 19:57:06,537 - INFO - we take 807 photos in this while loop
MAIN: 2026-10-26 19:57:06,537 - INFO - /home/pi/Desktop/images/26102026/19/56/image_26102026_19_57_05_59986.jpg
MAIN: 2026-10-26 19:57:06,537 - INFO - duration: 0.9323011020023841
MAIN: 2026-10-26 19:57:06,537 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:58:05,540 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:58:06,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-10-26 19:58:06,764 - INFO - taking picture
MAIN: 2026-10-26 19:58:06,764 - INFO - we take 808 photos in this while loop
MAIN: 2026-10-26 19:58:06,764 - INFO - /home/pi/Desktop/images/26102026/19/57/image_26102026_19_58_06_60161.jpg
MAIN: 2026-10-26 19:58:06,764 - INFO - duration: 0.9977482090034755
MAIN: 2026-10-26 19:58:06,764 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 19:59:05,001 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 19:59:05,322 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 19:59:05,692 - INFO - taking picture
MAIN: 2026-10-26 19:59:05,693 - INFO - we take 809 photos in this while loop
MAIN: 2026-10-26 19:59:05,693 - INFO - /home/pi/Desktop/images/26102026/19/58/image_26102026_19_59_05_58979.jpg
MAIN: 2026-10-26 19:59:05,693 - INFO - duration: 0.9465136250000796
MAIN: 2026-10-26 19:59:05,693 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/19/59'
MAIN: 2026-10-26 20:00: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

[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 20:00:05,895 - INFO - taking picture
MAIN: 2026-10-26 20:00:05,896 - INFO - we take 810 photos in this while loop
MAIN: 2026-10-26 20:00:05,896 - INFO - /home/pi/Desktop/images/26102026/19/59/image_26102026_20_00_05_60172.jpg
MAIN: 2026-10-26 20:00:05,896 - INFO - duration: 0.9767664690007223
MAIN: 2026-10-26 20:00:05,896 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/20/00'
MAIN: 2026-10-26 20:00:06,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 20:01: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-10-26 20:01:05,079 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:01:05,835 - INFO - taking picture
MAIN: 2026-10-26 20:01:05,835 - INFO - we take 811 photos in this while loop
MAIN: 2026-10-26 20:01:05,835 - INFO - /home/pi/Desktop/images/26102026/20/00/image_26102026_20_01_05_59879.jpg
MAIN: 2026-10-26 20:01:05,835 - INFO - duration: 1.0365621550008655
MAIN: 2026-10-26 20:01:05,836 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:02: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-10-26 20:02: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-10-26 20:02:05,907 - INFO - taking picture
MAIN: 2026-10-26 20:02:05,908 - INFO - we take 812 photos in this while loop
MAIN: 2026-10-26 20:02:05,908 - INFO - /home/pi/Desktop/images/26102026/20/01/image_26102026_20_02_05_60067.jpg
MAIN: 2026-10-26 20:02:05,908 - INFO - duration: 1.0420421669987263
MAIN: 2026-10-26 20:02:05,908 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:03: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-10-26 20:03: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-10-26 20:03:05,916 - INFO - taking picture
MAIN: 2026-10-26 20:03:05,916 - INFO - we take 813 photos in this while loop
MAIN: 2026-10-26 20:03:05,916 - INFO - /home/pi/Desktop/images/26102026/20/02/image_26102026_20_03_05_60097.jpg
MAIN: 2026-10-26 20:03:05,916 - INFO - duration: 0.9521756549947895
MAIN: 2026-10-26 20:03:05,916 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:04:05,207 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:04:05,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-10-26 20:04:05,905 - INFO - taking picture
MAIN: 2026-10-26 20:04:05,905 - INFO - we take 814 photos in this while loop
MAIN: 2026-10-26 20:04:05,905 - INFO - /home/pi/Desktop/images/26102026/20/03/image_26102026_20_04_05_60013.jpg
MAIN: 2026-10-26 20:04:05,905 - INFO - duration: 0.9279601820016978
MAIN: 2026-10-26 20:04:05,905 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:05:05,333 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:05:05,767 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:05:06,024 - INFO - taking picture
MAIN: 2026-10-26 20:05:06,024 - INFO - we take 815 photos in this while loop
MAIN: 2026-10-26 20:05:06,024 - INFO - /home/pi/Desktop/images/26102026/20/04/image_26102026_20_05_05_60113.jpg
MAIN: 2026-10-26 20:05:06,025 - INFO - duration: 0.9335865269968053
MAIN: 2026-10-26 20:05:06,025 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:06:05,306 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:06:05,680 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:06:06,003 - INFO - taking picture
MAIN: 2026-10-26 20:06:06,003 - INFO - we take 816 photos in this while loop
MAIN: 2026-10-26 20:06:06,003 - INFO - /home/pi/Desktop/images/26102026/20/05/image_26102026_20_06_05_59994.jpg
MAIN: 2026-10-26 20:06:06,004 - INFO - duration: 0.9180906309993588
MAIN: 2026-10-26 20:06:06,004 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:07: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-10-26 20:07: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 ! 
MAIN: 2026-10-26 20:07:05,984 - INFO - taking picture
MAIN: 2026-10-26 20:07:05,984 - INFO - we take 817 photos in this while loop
MAIN: 2026-10-26 20:07:05,984 - INFO - /home/pi/Desktop/images/26102026/20/06/image_26102026_20_07_05_59937.jpg
MAIN: 2026-10-26 20:07:05,984 - INFO - duration: 0.9612273619932239
MAIN: 2026-10-26 20:07:05,984 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:08:04,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 ! 
MAIN: 2026-10-26 20:08:05,252 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:08:05,937 - INFO - taking picture
MAIN: 2026-10-26 20:08:05,938 - INFO - we take 818 photos in this while loop
MAIN: 2026-10-26 20:08:05,938 - INFO - /home/pi/Desktop/images/26102026/20/07/image_26102026_20_08_05_59991.jpg
MAIN: 2026-10-26 20:08:05,938 - INFO - duration: 0.9234688280048431
MAIN: 2026-10-26 20:08:05,938 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/20/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-10-26 20:09: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-10-26 20:09:05,161 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:09:05,779 - INFO - taking picture
MAIN: 2026-10-26 20:09:05,779 - INFO - we take 819 photos in this while loop
MAIN: 2026-10-26 20:09:05,779 - INFO - /home/pi/Desktop/images/26102026/20/08/image_26102026_20_09_05_59800.jpg
MAIN: 2026-10-26 20:09:05,779 - INFO - duration: 0.9646148780011572
MAIN: 2026-10-26 20:09:05,780 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:10:05,310 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:10: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-10-26 20:10:06,110 - INFO - taking picture
MAIN: 2026-10-26 20:10:06,110 - INFO - we take 820 photos in this while loop
MAIN: 2026-10-26 20:10:06,111 - INFO - /home/pi/Desktop/images/26102026/20/09/image_26102026_20_10_05_60206.jpg
MAIN: 2026-10-26 20:10:06,111 - INFO - duration: 1.0892692200068268
MAIN: 2026-10-26 20:10:06,111 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:11:05,053 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:11: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-10-26 20:11:05,820 - INFO - taking picture
MAIN: 2026-10-26 20:11:05,820 - INFO - we take 821 photos in this while loop
MAIN: 2026-10-26 20:11:05,820 - INFO - /home/pi/Desktop/images/26102026/20/10/image_26102026_20_11_05_59779.jpg
MAIN: 2026-10-26 20:11:05,820 - INFO - duration: 1.0189858800004004
MAIN: 2026-10-26 20:11:05,821 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:12:05,313 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:12: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 ! 
MAIN: 2026-10-26 20:12:06,010 - INFO - taking picture
MAIN: 2026-10-26 20:12:06,010 - INFO - we take 822 photos in this while loop
MAIN: 2026-10-26 20:12:06,010 - INFO - /home/pi/Desktop/images/26102026/20/11/image_26102026_20_12_05_60244.jpg
MAIN: 2026-10-26 20:12:06,010 - INFO - duration: 0.9642934130024514
MAIN: 2026-10-26 20:12:06,011 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:13: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-10-26 20:13: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-10-26 20:13:05,985 - INFO - taking picture
MAIN: 2026-10-26 20:13:05,985 - INFO - we take 823 photos in this while loop
MAIN: 2026-10-26 20:13:05,985 - INFO - /home/pi/Desktop/images/26102026/20/12/image_26102026_20_13_05_59970.jpg
MAIN: 2026-10-26 20:13:05,985 - INFO - duration: 0.9681804639985785
MAIN: 2026-10-26 20:13:05,985 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:14:05,318 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:14:05,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-10-26 20:14:06,012 - INFO - taking picture
MAIN: 2026-10-26 20:14:06,013 - INFO - we take 824 photos in this while loop
MAIN: 2026-10-26 20:14:06,013 - INFO - /home/pi/Desktop/images/26102026/20/13/image_26102026_20_14_05_60020.jpg
MAIN: 2026-10-26 20:14:06,013 - INFO - duration: 0.9757396050044918
MAIN: 2026-10-26 20:14:06,013 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:15: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-10-26 20:15: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-10-26 20:15:06,249 - INFO - taking picture
MAIN: 2026-10-26 20:15:06,250 - INFO - we take 825 photos in this while loop
MAIN: 2026-10-26 20:15:06,250 - INFO - /home/pi/Desktop/images/26102026/20/14/image_26102026_20_15_05_60273.jpg
MAIN: 2026-10-26 20:15:06,250 - INFO - duration: 0.939100840005267
MAIN: 2026-10-26 20:15:06,250 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/20/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-10-26 20:16:05,232 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:16: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-10-26 20:16:06,321 - INFO - taking picture
MAIN: 2026-10-26 20:16:06,321 - INFO - we take 826 photos in this while loop
MAIN: 2026-10-26 20:16:06,321 - INFO - /home/pi/Desktop/images/26102026/20/15/image_26102026_20_16_05_60096.jpg
MAIN: 2026-10-26 20:16:06,321 - INFO - duration: 0.9134598660020856
MAIN: 2026-10-26 20:16:06,321 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:17:05,202 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:17:05,823 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:17:06,504 - INFO - taking picture
MAIN: 2026-10-26 20:17:06,505 - INFO - we take 827 photos in this while loop
MAIN: 2026-10-26 20:17:06,505 - INFO - /home/pi/Desktop/images/26102026/20/16/image_26102026_20_17_05_60178.jpg
MAIN: 2026-10-26 20:17:06,505 - INFO - duration: 0.9191624169980059
MAIN: 2026-10-26 20:17:06,505 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:18: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-10-26 20:18: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-10-26 20:18:06,491 - INFO - taking picture
MAIN: 2026-10-26 20:18:06,491 - INFO - we take 828 photos in this while loop
MAIN: 2026-10-26 20:18:06,491 - INFO - /home/pi/Desktop/images/26102026/20/17/image_26102026_20_18_05_59936.jpg
MAIN: 2026-10-26 20:18:06,491 - INFO - duration: 0.9695544630012591
MAIN: 2026-10-26 20:18:06,492 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:19: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-10-26 20:19: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-10-26 20:19:06,508 - INFO - taking picture
MAIN: 2026-10-26 20:19:06,508 - INFO - we take 829 photos in this while loop
MAIN: 2026-10-26 20:19:06,508 - INFO - /home/pi/Desktop/images/26102026/20/18/image_26102026_20_19_05_60063.jpg
MAIN: 2026-10-26 20:19:06,509 - INFO - duration: 0.9235478140035411
MAIN: 2026-10-26 20:19:06,509 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:20: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-10-26 20:20:05,868 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:20:06,557 - INFO - taking picture
MAIN: 2026-10-26 20:20:06,558 - INFO - we take 830 photos in this while loop
MAIN: 2026-10-26 20:20:06,558 - INFO - /home/pi/Desktop/images/26102026/20/19/image_26102026_20_20_05_60002.jpg
MAIN: 2026-10-26 20:20:06,558 - INFO - duration: 0.9705232850028551
MAIN: 2026-10-26 20:20:06,558 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:21:04,964 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20: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-10-26 20:21:06,469 - INFO - taking picture
MAIN: 2026-10-26 20:21:06,469 - INFO - we take 831 photos in this while loop
MAIN: 2026-10-26 20:21:06,469 - INFO - /home/pi/Desktop/images/26102026/20/20/image_26102026_20_21_05_59916.jpg
MAIN: 2026-10-26 20:21:06,470 - INFO - duration: 0.9655427809993853
MAIN: 2026-10-26 20:21:06,470 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:22: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-10-26 20:22: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-10-26 20:22:06,413 - INFO - taking picture
MAIN: 2026-10-26 20:22:06,413 - INFO - we take 832 photos in this while loop
MAIN: 2026-10-26 20:22:06,413 - INFO - /home/pi/Desktop/images/26102026/20/21/image_26102026_20_22_05_59884.jpg
MAIN: 2026-10-26 20:22:06,413 - INFO - duration: 1.0248647520056693
MAIN: 2026-10-26 20:22:06,414 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:23:04,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-10-26 20:23:06,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-10-26 20:23:06,730 - INFO - taking picture
MAIN: 2026-10-26 20:23:06,731 - INFO - we take 833 photos in this while loop
MAIN: 2026-10-26 20:23:06,731 - INFO - /home/pi/Desktop/images/26102026/20/22/image_26102026_20_23_06_60363.jpg
MAIN: 2026-10-26 20:23:06,731 - INFO - duration: 0.9788999360025628
MAIN: 2026-10-26 20:23:06,731 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:24:05,361 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:24:06,096 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:24:06,857 - INFO - taking picture
MAIN: 2026-10-26 20:24:06,857 - INFO - we take 834 photos in this while loop
MAIN: 2026-10-26 20:24:06,857 - INFO - /home/pi/Desktop/images/26102026/20/23/image_26102026_20_24_06_60097.jpg
MAIN: 2026-10-26 20:24:06,857 - INFO - duration: 1.0080322050052928
MAIN: 2026-10-26 20:24:06,858 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:25: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-10-26 20: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-10-26 20:25:06,237 - INFO - taking picture
MAIN: 2026-10-26 20:25:06,237 - INFO - we take 835 photos in this while loop
MAIN: 2026-10-26 20:25:06,237 - INFO - /home/pi/Desktop/images/26102026/20/24/image_26102026_20_25_05_59405.jpg
MAIN: 2026-10-26 20:25:06,237 - INFO - duration: 0.982164308996289
MAIN: 2026-10-26 20:25:06,238 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:26: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-10-26 20:26: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-10-26 20:26:06,305 - INFO - taking picture
MAIN: 2026-10-26 20:26:06,305 - INFO - we take 836 photos in this while loop
MAIN: 2026-10-26 20:26:06,305 - INFO - /home/pi/Desktop/images/26102026/20/25/image_26102026_20_26_05_60074.jpg
MAIN: 2026-10-26 20:26:06,305 - INFO - duration: 0.9752979909972055
MAIN: 2026-10-26 20:26:06,306 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:27: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-10-26 20:27:05,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-10-26 20:27:06,116 - INFO - taking picture
MAIN: 2026-10-26 20:27:06,116 - INFO - we take 837 photos in this while loop
MAIN: 2026-10-26 20:27:06,116 - INFO - /home/pi/Desktop/images/26102026/20/26/image_26102026_20_27_05_59833.jpg
MAIN: 2026-10-26 20:27:06,116 - INFO - duration: 0.9525994600044214
MAIN: 2026-10-26 20:27:06,117 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:28: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-10-26 20:28: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-10-26 20:28:06,208 - INFO - taking picture
MAIN: 2026-10-26 20:28:06,209 - INFO - we take 838 photos in this while loop
MAIN: 2026-10-26 20:28:06,209 - INFO - /home/pi/Desktop/images/26102026/20/27/image_26102026_20_28_05_60127.jpg
MAIN: 2026-10-26 20:28:06,209 - INFO - duration: 0.9171995949945995
MAIN: 2026-10-26 20:28:06,209 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/20/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-10-26 20:29: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-10-26 20:29: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-10-26 20:29:06,162 - INFO - taking picture
MAIN: 2026-10-26 20:29:06,162 - INFO - we take 839 photos in this while loop
MAIN: 2026-10-26 20:29:06,162 - INFO - /home/pi/Desktop/images/26102026/20/28/image_26102026_20_29_05_59906.jpg
MAIN: 2026-10-26 20:29:06,162 - INFO - duration: 0.9636126530022011
MAIN: 2026-10-26 20:29:06,163 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:30:05,462 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:30:05,709 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:30:06,172 - INFO - taking picture
MAIN: 2026-10-26 20:30:06,172 - INFO - we take 840 photos in this while loop
MAIN: 2026-10-26 20:30:06,172 - INFO - /home/pi/Desktop/images/26102026/20/29/image_26102026_20_30_05_60025.jpg
MAIN: 2026-10-26 20:30:06,172 - INFO - duration: 0.9476050259982003
MAIN: 2026-10-26 20:30:06,173 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:31:05,330 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:31:05,507 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:31:06,190 - INFO - taking picture
MAIN: 2026-10-26 20:31:06,190 - INFO - we take 841 photos in this while loop
MAIN: 2026-10-26 20:31:06,190 - INFO - /home/pi/Desktop/images/26102026/20/30/image_26102026_20_31_05_59994.jpg
MAIN: 2026-10-26 20:31:06,190 - INFO - duration: 0.9715600979980081
MAIN: 2026-10-26 20:31:06,190 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:32: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-10-26 20:32:05,741 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:32:06,261 - INFO - taking picture
MAIN: 2026-10-26 20:32:06,262 - INFO - we take 842 photos in this while loop
MAIN: 2026-10-26 20:32:06,262 - INFO - /home/pi/Desktop/images/26102026/20/31/image_26102026_20_32_05_60062.jpg
MAIN: 2026-10-26 20:32:06,262 - INFO - duration: 0.9804530520050321
MAIN: 2026-10-26 20:32:06,262 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/20/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-10-26 20:33:04,561 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:33:05,593 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:33:06,349 - INFO - taking picture
MAIN: 2026-10-26 20:33:06,349 - INFO - we take 843 photos in this while loop
MAIN: 2026-10-26 20:33:06,349 - INFO - /home/pi/Desktop/images/26102026/20/32/image_26102026_20_33_05_60017.jpg
MAIN: 2026-10-26 20:33:06,349 - INFO - duration: 1.050205024999741
MAIN: 2026-10-26 20:33:06,350 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:34: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-10-26 20:34: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-10-26 20:34:06,370 - INFO - taking picture
MAIN: 2026-10-26 20:34:06,370 - INFO - we take 844 photos in this while loop
MAIN: 2026-10-26 20:34:06,370 - INFO - /home/pi/Desktop/images/26102026/20/33/image_26102026_20_34_05_60110.jpg
MAIN: 2026-10-26 20:34:06,370 - INFO - duration: 0.9609679269997287
MAIN: 2026-10-26 20:34:06,370 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:35: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-10-26 20:35: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-10-26 20:35:06,451 - INFO - taking picture
MAIN: 2026-10-26 20:35:06,452 - INFO - we take 845 photos in this while loop
MAIN: 2026-10-26 20:35:06,452 - INFO - /home/pi/Desktop/images/26102026/20/34/image_26102026_20_35_05_60137.jpg
MAIN: 2026-10-26 20:35:06,452 - INFO - duration: 0.905665432997921
MAIN: 2026-10-26 20:35:06,452 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:36: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-10-26 20:36: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-10-26 20:36:06,321 - INFO - taking picture
MAIN: 2026-10-26 20:36:06,322 - INFO - we take 846 photos in this while loop
MAIN: 2026-10-26 20:36:06,322 - INFO - /home/pi/Desktop/images/26102026/20/35/image_26102026_20_36_05_59817.jpg
MAIN: 2026-10-26 20:36:06,322 - INFO - duration: 0.9584727309993468
MAIN: 2026-10-26 20:36:06,322 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:37: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-10-26 20:37:05,563 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:37:06,251 - INFO - taking picture
MAIN: 2026-10-26 20:37:06,251 - INFO - we take 847 photos in this while loop
MAIN: 2026-10-26 20:37:06,251 - INFO - /home/pi/Desktop/images/26102026/20/36/image_26102026_20_37_05_59908.jpg
MAIN: 2026-10-26 20:37:06,251 - INFO - duration: 0.9798457119977684
MAIN: 2026-10-26 20:37:06,252 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:38:04,993 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:38: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-10-26 20:38:06,280 - INFO - taking picture
MAIN: 2026-10-26 20:38:06,280 - INFO - we take 848 photos in this while loop
MAIN: 2026-10-26 20:38:06,280 - INFO - /home/pi/Desktop/images/26102026/20/37/image_26102026_20_38_05_60062.jpg
MAIN: 2026-10-26 20:38:06,280 - INFO - duration: 0.9463517379990662
MAIN: 2026-10-26 20:38:06,281 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/20/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-10-26 20:39:04,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-10-26 20:39: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-10-26 20:39:06,499 - INFO - taking picture
MAIN: 2026-10-26 20:39:06,499 - INFO - we take 849 photos in this while loop
MAIN: 2026-10-26 20:39:06,499 - INFO - /home/pi/Desktop/images/26102026/20/38/image_26102026_20_39_05_60126.jpg
MAIN: 2026-10-26 20:39:06,499 - INFO - duration: 1.0387528369974461
MAIN: 2026-10-26 20:39:06,500 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:40: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-10-26 20:40:05,538 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:40:05,676 - INFO - taking picture
MAIN: 2026-10-26 20:40:05,677 - INFO - we take 850 photos in this while loop
MAIN: 2026-10-26 20:40:05,677 - INFO - /home/pi/Desktop/images/26102026/20/39/image_26102026_20_40_04_59246.jpg
MAIN: 2026-10-26 20:40:05,677 - INFO - duration: 0.9694670690005296
MAIN: 2026-10-26 20:40:05,677 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:41: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-10-26 20:41: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-10-26 20:41:05,666 - INFO - taking picture
MAIN: 2026-10-26 20:41:05,666 - INFO - we take 851 photos in this while loop
MAIN: 2026-10-26 20:41:05,666 - INFO - /home/pi/Desktop/images/26102026/20/40/image_26102026_20_41_04_59995.jpg
MAIN: 2026-10-26 20:41:05,666 - INFO - duration: 0.9630944570017164
MAIN: 2026-10-26 20:41:05,666 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:42:05,007 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:42: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-10-26 20:42:05,699 - INFO - taking picture
MAIN: 2026-10-26 20:42:05,699 - INFO - we take 852 photos in this while loop
MAIN: 2026-10-26 20:42:05,699 - INFO - /home/pi/Desktop/images/26102026/20/41/image_26102026_20_42_05_60077.jpg
MAIN: 2026-10-26 20:42:05,700 - INFO - duration: 0.9193352240035892
MAIN: 2026-10-26 20:42:05,700 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:43: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-10-26 20:43:05,461 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:43:05,602 - INFO - taking picture
MAIN: 2026-10-26 20:43:05,602 - INFO - we take 853 photos in this while loop
MAIN: 2026-10-26 20:43:05,603 - INFO - /home/pi/Desktop/images/26102026/20/42/image_26102026_20_43_04_59862.jpg
MAIN: 2026-10-26 20:43:05,603 - INFO - duration: 0.9604875889999676
MAIN: 2026-10-26 20:43:05,603 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:44: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-10-26 20:44:05,011 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:44:05,694 - INFO - taking picture
MAIN: 2026-10-26 20:44:05,694 - INFO - we take 854 photos in this while loop
MAIN: 2026-10-26 20:44:05,694 - INFO - /home/pi/Desktop/images/26102026/20/43/image_26102026_20_44_05_60138.jpg
MAIN: 2026-10-26 20:44:05,694 - INFO - duration: 0.9133954489952885
MAIN: 2026-10-26 20:44:05,695 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:45: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-10-26 20:45:05,241 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:45:05,911 - INFO - taking picture
MAIN: 2026-10-26 20:45:05,911 - INFO - we take 855 photos in this while loop
MAIN: 2026-10-26 20:45:05,911 - INFO - /home/pi/Desktop/images/26102026/20/44/image_26102026_20_45_05_60105.jpg
MAIN: 2026-10-26 20:45:05,911 - INFO - duration: 1.0242201860019122
MAIN: 2026-10-26 20:45:05,912 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:46: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-10-26 20:46:05,304 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:46:05,952 - INFO - taking picture
MAIN: 2026-10-26 20:46:05,952 - INFO - we take 856 photos in this while loop
MAIN: 2026-10-26 20:46:05,952 - INFO - /home/pi/Desktop/images/26102026/20/45/image_26102026_20_46_05_60114.jpg
MAIN: 2026-10-26 20:46:05,953 - INFO - duration: 0.9509811149982852
MAIN: 2026-10-26 20:46:05,953 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:47:05,096 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:47:05,221 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:47:05,853 - INFO - taking picture
MAIN: 2026-10-26 20:47:05,853 - INFO - we take 857 photos in this while loop
MAIN: 2026-10-26 20:47:05,853 - INFO - /home/pi/Desktop/images/26102026/20/46/image_26102026_20_47_05_59827.jpg
MAIN: 2026-10-26 20:47:05,853 - INFO - duration: 1.0244207499999902
MAIN: 2026-10-26 20:47:05,854 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:48:05,265 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:48:05,611 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:48:05,964 - INFO - taking picture
MAIN: 2026-10-26 20:48:05,965 - INFO - we take 858 photos in this while loop
MAIN: 2026-10-26 20:48:05,965 - INFO - /home/pi/Desktop/images/26102026/20/47/image_26102026_20_48_05_60156.jpg
MAIN: 2026-10-26 20:48:05,965 - INFO - duration: 0.9797304899984738
MAIN: 2026-10-26 20:48:05,965 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:49:05,266 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:49:05,381 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:49:05,960 - INFO - taking picture
MAIN: 2026-10-26 20:49:05,961 - INFO - we take 859 photos in this while loop
MAIN: 2026-10-26 20:49:05,961 - INFO - /home/pi/Desktop/images/26102026/20/48/image_26102026_20_49_05_60003.jpg
MAIN: 2026-10-26 20:49:05,961 - INFO - duration: 0.9723331409986713
MAIN: 2026-10-26 20:49:05,961 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/20/49'
MAIN: 2026-10-26 20:50:05,338 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=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-10-26 20:50:06,069 - INFO - taking picture
MAIN: 2026-10-26 20:50:06,070 - INFO - we take 860 photos in this while loop
MAIN: 2026-10-26 20:50:06,070 - INFO - /home/pi/Desktop/images/26102026/20/49/image_26102026_20_50_05_60111.jpg
MAIN: 2026-10-26 20:50:06,070 - INFO - duration: 0.9698328559970832
MAIN: 2026-10-26 20:50:06,070 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/20/50'
MAIN: 2026-10-26 20:50:06,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 20:51:04,635 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:51: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-10-26 20:51:05,903 - INFO - taking picture
MAIN: 2026-10-26 20:51:05,903 - INFO - we take 861 photos in this while loop
MAIN: 2026-10-26 20:51:05,904 - INFO - /home/pi/Desktop/images/26102026/20/50/image_26102026_20_51_05_59901.jpg
MAIN: 2026-10-26 20:51:05,904 - INFO - duration: 0.9016093969985377
MAIN: 2026-10-26 20:51:05,904 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:52:05,109 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:52: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-10-26 20:52:05,906 - INFO - taking picture
MAIN: 2026-10-26 20:52:05,906 - INFO - we take 862 photos in this while loop
MAIN: 2026-10-26 20:52:05,906 - INFO - /home/pi/Desktop/images/26102026/20/51/image_26102026_20_52_05_59938.jpg
MAIN: 2026-10-26 20:52:05,906 - INFO - duration: 0.9658885519966134
MAIN: 2026-10-26 20:52:05,907 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:53: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-10-26 20:53:05,195 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:53:05,757 - INFO - taking picture
MAIN: 2026-10-26 20:53:05,757 - INFO - we take 863 photos in this while loop
MAIN: 2026-10-26 20:53:05,757 - INFO - /home/pi/Desktop/images/26102026/20/52/image_26102026_20_53_05_59874.jpg
MAIN: 2026-10-26 20:53:05,758 - INFO - duration: 0.9423988470007316
MAIN: 2026-10-26 20:53:05,758 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:54: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-10-26 20:54:05,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-10-26 20:54:05,777 - INFO - taking picture
MAIN: 2026-10-26 20:54:05,777 - INFO - we take 864 photos in this while loop
MAIN: 2026-10-26 20:54:05,777 - INFO - /home/pi/Desktop/images/26102026/20/53/image_26102026_20_54_05_60045.jpg
MAIN: 2026-10-26 20:54:05,778 - INFO - duration: 0.9167980880010873
MAIN: 2026-10-26 20:54:05,778 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:55: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-10-26 20:55:05,744 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:55:05,900 - INFO - taking picture
MAIN: 2026-10-26 20:55:05,901 - INFO - we take 865 photos in this while loop
MAIN: 2026-10-26 20:55:05,901 - INFO - /home/pi/Desktop/images/26102026/20/54/image_26102026_20_55_05_60075.jpg
MAIN: 2026-10-26 20:55:05,901 - INFO - duration: 0.9644228760007536
MAIN: 2026-10-26 20:55:05,901 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:56: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-10-26 20:56: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-10-26 20:56:06,143 - INFO - taking picture
MAIN: 2026-10-26 20:56:06,143 - INFO - we take 866 photos in this while loop
MAIN: 2026-10-26 20:56:06,143 - INFO - /home/pi/Desktop/images/26102026/20/55/image_26102026_20_56_05_60227.jpg
MAIN: 2026-10-26 20:56:06,143 - INFO - duration: 0.9795570980058983
MAIN: 2026-10-26 20:56:06,143 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:57:04,919 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 20:57: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-10-26 20:57:06,192 - INFO - taking picture
MAIN: 2026-10-26 20:57:06,192 - INFO - we take 867 photos in this while loop
MAIN: 2026-10-26 20:57:06,192 - INFO - /home/pi/Desktop/images/26102026/20/56/image_26102026_20_57_05_60029.jpg
MAIN: 2026-10-26 20:57:06,192 - INFO - duration: 0.9991459689990734
MAIN: 2026-10-26 20:57:06,193 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:58: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-10-26 20:58:05,569 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:58:06,287 - INFO - taking picture
MAIN: 2026-10-26 20:58:06,287 - INFO - we take 868 photos in this while loop
MAIN: 2026-10-26 20:58:06,287 - INFO - /home/pi/Desktop/images/26102026/20/57/image_26102026_20_58_05_60152.jpg
MAIN: 2026-10-26 20:58:06,288 - INFO - duration: 0.941929895998328
MAIN: 2026-10-26 20:58:06,288 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 20:59:04,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-10-26 20:59:05,751 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 20:59:06,432 - INFO - taking picture
MAIN: 2026-10-26 20:59:06,432 - INFO - we take 869 photos in this while loop
MAIN: 2026-10-26 20:59:06,432 - INFO - /home/pi/Desktop/images/26102026/20/58/image_26102026_20_59_05_60110.jpg
MAIN: 2026-10-26 20:59:06,432 - INFO - duration: 0.9759373729975778
MAIN: 2026-10-26 20:59:06,433 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:00: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-10-26 21:00:05,993 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 21:00:06,515 - INFO - taking picture
MAIN: 2026-10-26 21:00:06,515 - INFO - we take 870 photos in this while loop
MAIN: 2026-10-26 21:00:06,515 - INFO - /home/pi/Desktop/images/26102026/20/59/image_26102026_21_00_05_60111.jpg
MAIN: 2026-10-26 21:00:06,516 - INFO - duration: 0.9478835100017022
MAIN: 2026-10-26 21:00:06,516 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/21/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-10-26 21:01:04,553 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 21:01: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-10-26 21:01:06,461 - INFO - taking picture
MAIN: 2026-10-26 21:01:06,461 - INFO - we take 871 photos in this while loop
MAIN: 2026-10-26 21:01:06,462 - INFO - /home/pi/Desktop/images/26102026/21/00/image_26102026_21_01_05_59880.jpg
MAIN: 2026-10-26 21:01:06,462 - INFO - duration: 1.0135788779953145
MAIN: 2026-10-26 21:01:06,462 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:02: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-10-26 21: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-10-26 21:02:06,435 - INFO - taking picture
MAIN: 2026-10-26 21:02:06,435 - INFO - we take 872 photos in this while loop
MAIN: 2026-10-26 21:02:06,435 - INFO - /home/pi/Desktop/images/26102026/21/01/image_26102026_21_02_05_60041.jpg
MAIN: 2026-10-26 21:02:06,435 - INFO - duration: 0.9462877419937286
MAIN: 2026-10-26 21:02:06,436 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:03: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-10-26 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-10-26 21:03:06,600 - INFO - taking picture
MAIN: 2026-10-26 21:03:06,601 - INFO - we take 873 photos in this while loop
MAIN: 2026-10-26 21:03:06,601 - INFO - /home/pi/Desktop/images/26102026/21/02/image_26102026_21_03_05_60135.jpg
MAIN: 2026-10-26 21:03:06,601 - INFO - duration: 0.9758853200037265
MAIN: 2026-10-26 21:03:06,601 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:04:05,403 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 21:04: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-10-26 21:04:06,793 - INFO - taking picture
MAIN: 2026-10-26 21:04:06,794 - INFO - we take 874 photos in this while loop
MAIN: 2026-10-26 21:04:06,794 - INFO - /home/pi/Desktop/images/26102026/21/03/image_26102026_21_04_05_60143.jpg
MAIN: 2026-10-26 21:04:06,794 - INFO - duration: 1.025294077997387
MAIN: 2026-10-26 21:04:06,794 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:05: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-10-26 21:05:05,805 - INFO - taking picture
MAIN: 2026-10-26 21:05:05,806 - INFO - we take 875 photos in this while loop
MAIN: 2026-10-26 21:05:05,806 - INFO - /home/pi/Desktop/images/26102026/21/04/image_26102026_21_05_05_59095.jpg
MAIN: 2026-10-26 21:05:05,806 - INFO - duration: 0.9415390139984083
MAIN: 2026-10-26 21:05:05,806 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/21/05'
MAIN: 2026-10-26 21:05: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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 21:06:05,141 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 21:06: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 ! 
MAIN: 2026-10-26 21:06:05,827 - INFO - taking picture
MAIN: 2026-10-26 21:06:05,827 - INFO - we take 876 photos in this while loop
MAIN: 2026-10-26 21:06:05,828 - INFO - /home/pi/Desktop/images/26102026/21/05/image_26102026_21_06_05_60056.jpg
MAIN: 2026-10-26 21:06:05,828 - INFO - duration: 0.907131934996869
MAIN: 2026-10-26 21:06:05,828 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:07: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-10-26 21:07: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-10-26 21:07:05,882 - INFO - taking picture
MAIN: 2026-10-26 21:07:05,882 - INFO - we take 877 photos in this while loop
MAIN: 2026-10-26 21:07:05,882 - INFO - /home/pi/Desktop/images/26102026/21/06/image_26102026_21_07_05_59986.jpg
MAIN: 2026-10-26 21:07:05,883 - INFO - duration: 0.9756222670039278
MAIN: 2026-10-26 21:07:05,883 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:08: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-10-26 21:08:05,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-10-26 21:08:05,818 - INFO - taking picture
MAIN: 2026-10-26 21:08:05,818 - INFO - we take 878 photos in this while loop
MAIN: 2026-10-26 21:08:05,818 - INFO - /home/pi/Desktop/images/26102026/21/07/image_26102026_21_08_05_59901.jpg
MAIN: 2026-10-26 21:08:05,818 - INFO - duration: 1.0096811429975787
MAIN: 2026-10-26 21:08:05,819 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:09: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-10-26 21:09: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-10-26 21:09:05,859 - INFO - taking picture
MAIN: 2026-10-26 21:09:05,859 - INFO - we take 879 photos in this while loop
MAIN: 2026-10-26 21:09:05,860 - INFO - /home/pi/Desktop/images/26102026/21/08/image_26102026_21_09_05_60141.jpg
MAIN: 2026-10-26 21:09:05,860 - INFO - duration: 0.9096381290000863
MAIN: 2026-10-26 21:09:05,860 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:10: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-10-26 21:10: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-10-26 21:10:06,081 - INFO - taking picture
MAIN: 2026-10-26 21:10:06,082 - INFO - we take 880 photos in this while loop
MAIN: 2026-10-26 21:10:06,082 - INFO - /home/pi/Desktop/images/26102026/21/09/image_26102026_21_10_05_60080.jpg
MAIN: 2026-10-26 21:10:06,082 - INFO - duration: 1.0513515290003852
MAIN: 2026-10-26 21:10:06,082 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:11:05,461 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 21:11: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-10-26 21:11:06,229 - INFO - taking picture
MAIN: 2026-10-26 21:11:06,230 - INFO - we take 881 photos in this while loop
MAIN: 2026-10-26 21:11:06,230 - INFO - /home/pi/Desktop/images/26102026/21/10/image_26102026_21_11_05_60119.jpg
MAIN: 2026-10-26 21:11:06,230 - INFO - duration: 1.0795950440005981
MAIN: 2026-10-26 21:11:06,230 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:12: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-10-26 21:12:05,741 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 21:12:06,062 - INFO - taking picture
MAIN: 2026-10-26 21:12:06,062 - INFO - we take 882 photos in this while loop
MAIN: 2026-10-26 21:12:06,063 - INFO - /home/pi/Desktop/images/26102026/21/11/image_26102026_21_12_05_59848.jpg
MAIN: 2026-10-26 21:12:06,063 - INFO - duration: 1.0640271529991878
MAIN: 2026-10-26 21:12:06,063 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:13:04,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-10-26 21:13: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-10-26 21:13:06,213 - INFO - taking picture
MAIN: 2026-10-26 21:13:06,214 - INFO - we take 883 photos in this while loop
MAIN: 2026-10-26 21:13:06,214 - INFO - /home/pi/Desktop/images/26102026/21/12/image_26102026_21_13_05_60273.jpg
MAIN: 2026-10-26 21:13:06,214 - INFO - duration: 0.9414827450018493
MAIN: 2026-10-26 21:13:06,214 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:14:05,166 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 21:14: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-10-26 21:14:06,337 - INFO - taking picture
MAIN: 2026-10-26 21:14:06,337 - INFO - we take 884 photos in this while loop
MAIN: 2026-10-26 21:14:06,338 - INFO - /home/pi/Desktop/images/26102026/21/13/image_26102026_21_14_05_60160.jpg
MAIN: 2026-10-26 21:14:06,338 - INFO - duration: 0.9050610909980605
MAIN: 2026-10-26 21:14:06,338 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/21/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-10-26 21:15: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-10-26 21:15: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-10-26 21:15:06,681 - INFO - taking picture
MAIN: 2026-10-26 21:15:06,682 - INFO - we take 885 photos in this while loop
MAIN: 2026-10-26 21:15:06,682 - INFO - /home/pi/Desktop/images/26102026/21/14/image_26102026_21_15_05_60291.jpg
MAIN: 2026-10-26 21:15:06,682 - INFO - duration: 0.9579384879980353
MAIN: 2026-10-26 21:15:06,682 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:16: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-10-26 21:16:06,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-10-26 21:16:06,781 - INFO - taking picture
MAIN: 2026-10-26 21:16:06,782 - INFO - we take 886 photos in this while loop
MAIN: 2026-10-26 21:16:06,782 - INFO - /home/pi/Desktop/images/26102026/21/15/image_26102026_21_16_06_60042.jpg
MAIN: 2026-10-26 21:16:06,782 - INFO - duration: 1.0158534580041305
MAIN: 2026-10-26 21:16:06,782 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:17: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-10-26 21:17: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-10-26 21:17:05,857 - INFO - taking picture
MAIN: 2026-10-26 21:17:05,857 - INFO - we take 887 photos in this while loop
MAIN: 2026-10-26 21:17:05,858 - INFO - /home/pi/Desktop/images/26102026/21/16/image_26102026_21_17_05_59121.jpg
MAIN: 2026-10-26 21:17:05,858 - INFO - duration: 0.9697905799985165
MAIN: 2026-10-26 21:17:05,858 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:18: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-10-26 21:18: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-10-26 21:18:05,876 - INFO - taking picture
MAIN: 2026-10-26 21:18:05,876 - INFO - we take 888 photos in this while loop
MAIN: 2026-10-26 21:18:05,876 - INFO - /home/pi/Desktop/images/26102026/21/17/image_26102026_21_18_05_60077.jpg
MAIN: 2026-10-26 21:18:05,877 - INFO - duration: 0.9107720899992273
MAIN: 2026-10-26 21:18:05,877 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/21/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-10-26 21:19: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-10-26 21:19: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-10-26 21:19:05,968 - INFO - taking picture
MAIN: 2026-10-26 21:19:05,968 - INFO - we take 889 photos in this while loop
MAIN: 2026-10-26 21:19:05,968 - INFO - /home/pi/Desktop/images/26102026/21/18/image_26102026_21_19_05_60008.jpg
MAIN: 2026-10-26 21:19:05,969 - INFO - duration: 0.99414691599668
MAIN: 2026-10-26 21:19:05,969 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:20: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-10-26 21:20:05,382 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 21:20:06,093 - INFO - taking picture
MAIN: 2026-10-26 21:20:06,093 - INFO - we take 890 photos in this while loop
MAIN: 2026-10-26 21:20:06,093 - INFO - /home/pi/Desktop/images/26102026/21/19/image_26102026_21_20_05_60163.jpg
MAIN: 2026-10-26 21:20:06,093 - INFO - duration: 0.9556145809983718
MAIN: 2026-10-26 21:20:06,093 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:21:04,838 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 21:21: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-10-26 21:21:06,166 - INFO - taking picture
MAIN: 2026-10-26 21:21:06,166 - INFO - we take 891 photos in this while loop
MAIN: 2026-10-26 21:21:06,166 - INFO - /home/pi/Desktop/images/26102026/21/20/image_26102026_21_21_05_60081.jpg
MAIN: 2026-10-26 21:21:06,167 - INFO - duration: 0.9479132069973275
MAIN: 2026-10-26 21:21:06,167 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:22:05,300 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 21:22: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-10-26 21:22:05,989 - INFO - taking picture
MAIN: 2026-10-26 21:22:05,990 - INFO - we take 892 photos in this while loop
MAIN: 2026-10-26 21:22:05,990 - INFO - /home/pi/Desktop/images/26102026/21/21/image_26102026_21_22_05_59790.jpg
MAIN: 2026-10-26 21:22:05,990 - INFO - duration: 0.9811187180021079
MAIN: 2026-10-26 21:22:05,990 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:23:05,201 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 21:23: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-10-26 21:23:05,925 - INFO - taking picture
MAIN: 2026-10-26 21:23:05,926 - INFO - we take 893 photos in this while loop
MAIN: 2026-10-26 21:23:05,926 - INFO - /home/pi/Desktop/images/26102026/21/22/image_26102026_21_23_05_59972.jpg
MAIN: 2026-10-26 21:23:05,926 - INFO - duration: 0.9447700980017544
MAIN: 2026-10-26 21:23:05,926 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:24: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-10-26 21:24: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 ! 
MAIN: 2026-10-26 21:24:05,914 - INFO - taking picture
MAIN: 2026-10-26 21:24:05,915 - INFO - we take 894 photos in this while loop
MAIN: 2026-10-26 21:24:05,915 - INFO - /home/pi/Desktop/images/26102026/21/23/image_26102026_21_24_05_59956.jpg
MAIN: 2026-10-26 21:24:05,915 - INFO - duration: 0.9768859169998905
MAIN: 2026-10-26 21:24:05,915 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:25:04,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 ! 
MAIN: 2026-10-26 21:25:05,252 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 21:25:05,967 - INFO - taking picture
MAIN: 2026-10-26 21:25:05,967 - INFO - we take 895 photos in this while loop
MAIN: 2026-10-26 21:25:05,967 - INFO - /home/pi/Desktop/images/26102026/21/24/image_26102026_21_25_05_60089.jpg
MAIN: 2026-10-26 21:25:05,968 - INFO - duration: 0.9395994549995521
MAIN: 2026-10-26 21:25:05,968 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:26: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-10-26 21:26:05,233 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 21:26:05,934 - INFO - taking picture
MAIN: 2026-10-26 21:26:05,934 - INFO - we take 896 photos in this while loop
MAIN: 2026-10-26 21:26:05,934 - INFO - /home/pi/Desktop/images/26102026/21/25/image_26102026_21_26_05_59929.jpg
MAIN: 2026-10-26 21:26:05,934 - INFO - duration: 0.9771150270025828
MAIN: 2026-10-26 21:26:05,934 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:27: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-10-26 21:27: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-10-26 21:27:05,952 - INFO - taking picture
MAIN: 2026-10-26 21:27:05,952 - INFO - we take 897 photos in this while loop
MAIN: 2026-10-26 21:27:05,952 - INFO - /home/pi/Desktop/images/26102026/21/26/image_26102026_21_27_05_59965.jpg
MAIN: 2026-10-26 21:27:05,952 - INFO - duration: 1.0298647590025212
MAIN: 2026-10-26 21:27:05,952 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:28: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-10-26 21:28: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-10-26 21:28:06,074 - INFO - taking picture
MAIN: 2026-10-26 21:28:06,074 - INFO - we take 898 photos in this while loop
MAIN: 2026-10-26 21:28:06,074 - INFO - /home/pi/Desktop/images/26102026/21/27/image_26102026_21_28_05_60196.jpg
MAIN: 2026-10-26 21:28:06,074 - INFO - duration: 0.9558552529997542
MAIN: 2026-10-26 21:28:06,075 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:29: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-10-26 21:29: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-10-26 21:29:06,166 - INFO - taking picture
MAIN: 2026-10-26 21:29:06,167 - INFO - we take 899 photos in this while loop
MAIN: 2026-10-26 21:29:06,167 - INFO - /home/pi/Desktop/images/26102026/21/28/image_26102026_21_29_05_60091.jpg
MAIN: 2026-10-26 21:29:06,167 - INFO - duration: 0.9567922990027
MAIN: 2026-10-26 21:29:06,167 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:30: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-10-26 21:30:05,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-10-26 21:30:06,389 - INFO - taking picture
MAIN: 2026-10-26 21:30:06,390 - INFO - we take 900 photos in this while loop
MAIN: 2026-10-26 21:30:06,390 - INFO - /home/pi/Desktop/images/26102026/21/29/image_26102026_21_30_05_60223.jpg
MAIN: 2026-10-26 21:30:06,390 - INFO - duration: 0.9567050219993689
MAIN: 2026-10-26 21:30:06,390 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:31:04,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-10-26 21:31: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-10-26 21:31:06,356 - INFO - taking picture
MAIN: 2026-10-26 21:31:06,356 - INFO - we take 901 photos in this while loop
MAIN: 2026-10-26 21:31:06,357 - INFO - /home/pi/Desktop/images/26102026/21/30/image_26102026_21_31_05_59971.jpg
MAIN: 2026-10-26 21:31:06,357 - INFO - duration: 0.952225073997397
MAIN: 2026-10-26 21:31:06,357 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:32:05,212 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 21:32:05,741 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 21:32:06,457 - INFO - taking picture
MAIN: 2026-10-26 21:32:06,457 - INFO - we take 902 photos in this while loop
MAIN: 2026-10-26 21:32:06,457 - INFO - /home/pi/Desktop/images/26102026/21/31/image_26102026_21_32_05_60115.jpg
MAIN: 2026-10-26 21:32:06,458 - INFO - duration: 0.9373236519968486
MAIN: 2026-10-26 21:32:06,458 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:33:05,049 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 21:33:05,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-10-26 21:33:06,516 - INFO - taking picture
MAIN: 2026-10-26 21:33:06,517 - INFO - we take 903 photos in this while loop
MAIN: 2026-10-26 21:33:06,517 - INFO - /home/pi/Desktop/images/26102026/21/32/image_26102026_21_33_05_60050.jpg
MAIN: 2026-10-26 21:33:06,517 - INFO - duration: 0.9457475559975137
MAIN: 2026-10-26 21:33:06,517 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:34:05,587 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 21:34:05,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-10-26 21:34:06,611 - INFO - taking picture
MAIN: 2026-10-26 21:34:06,611 - INFO - we take 904 photos in this while loop
MAIN: 2026-10-26 21:34:06,611 - INFO - /home/pi/Desktop/images/26102026/21/33/image_26102026_21_34_05_60130.jpg
MAIN: 2026-10-26 21:34:06,612 - INFO - duration: 0.9103539979987545
MAIN: 2026-10-26 21:34:06,612 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/21/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-10-26 21:35:04,888 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 21:35:05,614 - INFO - taking picture
MAIN: 2026-10-26 21:35:05,614 - INFO - we take 905 photos in this while loop
MAIN: 2026-10-26 21:35:05,615 - INFO - /home/pi/Desktop/images/26102026/21/34/image_26102026_21_35_04_58946.jpg
MAIN: 2026-10-26 21:35:05,615 - INFO - duration: 0.9675458380006603
MAIN: 2026-10-26 21:35:05,615 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/21/35'
MAIN: 2026-10-26 21:35: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-10-26 21:36:04,996 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=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-10-26 21:36:05,766 - INFO - taking picture
MAIN: 2026-10-26 21:36:05,767 - INFO - we take 906 photos in this while loop
MAIN: 2026-10-26 21:36:05,767 - INFO - /home/pi/Desktop/images/26102026/21/35/image_26102026_21_36_04_60096.jpg
MAIN: 2026-10-26 21:36:05,767 - INFO - duration: 1.0234860199998366
MAIN: 2026-10-26 21:36:05,767 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/21/36'
MAIN: 2026-10-26 21:36:06,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-26 21:37:04,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-10-26 21:37: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-10-26 21:37:06,128 - INFO - taking picture
MAIN: 2026-10-26 21:37:06,128 - INFO - we take 907 photos in this while loop
MAIN: 2026-10-26 21:37:06,129 - INFO - /home/pi/Desktop/images/26102026/21/36/image_26102026_21_37_05_60477.jpg
MAIN: 2026-10-26 21:37:06,129 - INFO - duration: 0.9079718610009877
MAIN: 2026-10-26 21:37:06,129 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:38:05,161 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 21:38: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-10-26 21:38:06,280 - INFO - taking picture
MAIN: 2026-10-26 21:38:06,281 - INFO - we take 908 photos in this while loop
MAIN: 2026-10-26 21:38:06,281 - INFO - /home/pi/Desktop/images/26102026/21/37/image_26102026_21_38_05_60077.jpg
MAIN: 2026-10-26 21:38:06,281 - INFO - duration: 0.983103596001456
MAIN: 2026-10-26 21:38:06,281 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:39: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-10-26 21:39:05,786 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 21:39:06,469 - INFO - taking picture
MAIN: 2026-10-26 21:39:06,470 - INFO - we take 909 photos in this while loop
MAIN: 2026-10-26 21:39:06,470 - INFO - /home/pi/Desktop/images/26102026/21/38/image_26102026_21_39_05_60209.jpg
MAIN: 2026-10-26 21:39:06,470 - INFO - duration: 0.9627307599948836
MAIN: 2026-10-26 21:39:06,470 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:40: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-10-26 21:40:06,149 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 21:40:06,720 - INFO - taking picture
MAIN: 2026-10-26 21:40:06,720 - INFO - we take 910 photos in this while loop
MAIN: 2026-10-26 21:40:06,720 - INFO - /home/pi/Desktop/images/26102026/21/39/image_26102026_21_40_06_60296.jpg
MAIN: 2026-10-26 21:40:06,721 - INFO - duration: 0.9168805099980091
MAIN: 2026-10-26 21:40:06,721 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:41: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-10-26 21:41:06,129 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 21:41:06,811 - INFO - taking picture
MAIN: 2026-10-26 21:41:06,811 - INFO - we take 911 photos in this while loop
MAIN: 2026-10-26 21:41:06,812 - INFO - /home/pi/Desktop/images/26102026/21/40/image_26102026_21_41_06_60051.jpg
MAIN: 2026-10-26 21:41:06,812 - INFO - duration: 0.9568403700031922
MAIN: 2026-10-26 21:41:06,812 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:42:04,980 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 21:42:05,668 - INFO - taking picture
MAIN: 2026-10-26 21:42:05,668 - INFO - we take 912 photos in this while loop
MAIN: 2026-10-26 21:42:05,668 - INFO - /home/pi/Desktop/images/26102026/21/41/image_26102026_21_42_04_58852.jpg
MAIN: 2026-10-26 21:42:05,668 - INFO - duration: 0.9605749900001683
MAIN: 2026-10-26 21:42:05,669 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/21/42'
MAIN: 2026-10-26 21:42:05,797 - 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-10-26 21:43:04,555 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 21:43:06,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-10-26 21:43:06,810 - INFO - taking picture
MAIN: 2026-10-26 21:43:06,810 - INFO - we take 913 photos in this while loop
MAIN: 2026-10-26 21:43:06,810 - INFO - /home/pi/Desktop/images/26102026/21/42/image_26102026_21_43_06_61112.jpg
MAIN: 2026-10-26 21:43:06,810 - INFO - duration: 0.9903666760001215
MAIN: 2026-10-26 21:43:06,811 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:44:05,157 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 21:44:06,053 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 21:44:06,737 - INFO - taking picture
MAIN: 2026-10-26 21:44:06,737 - INFO - we take 914 photos in this while loop
MAIN: 2026-10-26 21:44:06,737 - INFO - /home/pi/Desktop/images/26102026/21/43/image_26102026_21_44_06_59969.jpg
MAIN: 2026-10-26 21:44:06,737 - INFO - duration: 0.9471851069974946
MAIN: 2026-10-26 21:44:06,737 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:45:04,891 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 21:45:05,278 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 21:45:05,601 - INFO - taking picture
MAIN: 2026-10-26 21:45:05,601 - INFO - we take 915 photos in this while loop
MAIN: 2026-10-26 21:45:05,601 - INFO - /home/pi/Desktop/images/26102026/21/44/image_26102026_21_45_04_58866.jpg
MAIN: 2026-10-26 21:45:05,601 - INFO - duration: 0.9448770090020844
MAIN: 2026-10-26 21:45:05,601 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:46:04,915 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 21:46: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-10-26 21:46:05,652 - INFO - taking picture
MAIN: 2026-10-26 21:46:05,653 - INFO - we take 916 photos in this while loop
MAIN: 2026-10-26 21:46:05,653 - INFO - /home/pi/Desktop/images/26102026/21/45/image_26102026_21_46_04_60006.jpg
MAIN: 2026-10-26 21:46:05,653 - INFO - duration: 0.9904511830027332
MAIN: 2026-10-26 21:46:05,653 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:47:05,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-10-26 21:47: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-10-26 21:47:05,766 - INFO - taking picture
MAIN: 2026-10-26 21:47:05,767 - INFO - we take 917 photos in this while loop
MAIN: 2026-10-26 21:47:05,767 - INFO - /home/pi/Desktop/images/26102026/21/46/image_26102026_21_47_05_60061.jpg
MAIN: 2026-10-26 21:47:05,767 - INFO - duration: 1.0432491000028676
MAIN: 2026-10-26 21:47:05,767 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:48: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-10-26 21:48:05,600 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 21:48:05,865 - INFO - taking picture
MAIN: 2026-10-26 21:48:05,865 - INFO - we take 918 photos in this while loop
MAIN: 2026-10-26 21:48:05,866 - INFO - /home/pi/Desktop/images/26102026/21/47/image_26102026_21_48_05_60172.jpg
MAIN: 2026-10-26 21:48:05,866 - INFO - duration: 0.9693402479970246
MAIN: 2026-10-26 21:48:05,866 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:49: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-10-26 21:49: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-10-26 21:49:05,834 - INFO - taking picture
MAIN: 2026-10-26 21:49:05,835 - INFO - we take 919 photos in this while loop
MAIN: 2026-10-26 21:49:05,835 - INFO - /home/pi/Desktop/images/26102026/21/48/image_26102026_21_49_05_59983.jpg
MAIN: 2026-10-26 21:49:05,835 - INFO - duration: 0.9552463559957687
MAIN: 2026-10-26 21:49:05,835 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:50: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-10-26 21:50: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-10-26 21:50:06,013 - INFO - taking picture
MAIN: 2026-10-26 21:50:06,013 - INFO - we take 920 photos in this while loop
MAIN: 2026-10-26 21:50:06,013 - INFO - /home/pi/Desktop/images/26102026/21/49/image_26102026_21_50_05_60225.jpg
MAIN: 2026-10-26 21:50:06,013 - INFO - duration: 0.9073123369962559
MAIN: 2026-10-26 21:50:06,013 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:51:04,721 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 21:51: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-10-26 21:51:05,976 - INFO - taking picture
MAIN: 2026-10-26 21:51:05,976 - INFO - we take 921 photos in this while loop
MAIN: 2026-10-26 21:51:05,976 - INFO - /home/pi/Desktop/images/26102026/21/50/image_26102026_21_51_05_59930.jpg
MAIN: 2026-10-26 21:51:05,976 - INFO - duration: 0.9396888400005992
MAIN: 2026-10-26 21:51:05,976 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:52: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-10-26 21:52: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-10-26 21:52:05,843 - INFO - taking picture
MAIN: 2026-10-26 21:52:05,843 - INFO - we take 922 photos in this while loop
MAIN: 2026-10-26 21:52:05,844 - INFO - /home/pi/Desktop/images/26102026/21/51/image_26102026_21_52_05_59727.jpg
MAIN: 2026-10-26 21:52:05,844 - INFO - duration: 1.0797268809983507
MAIN: 2026-10-26 21:52:05,844 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:53:05,003 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 21:53: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-10-26 21:53:06,150 - INFO - taking picture
MAIN: 2026-10-26 21:53:06,150 - INFO - we take 923 photos in this while loop
MAIN: 2026-10-26 21:53:06,150 - INFO - /home/pi/Desktop/images/26102026/21/52/image_26102026_21_53_05_60437.jpg
MAIN: 2026-10-26 21:53:06,150 - INFO - duration: 0.948521771999367
MAIN: 2026-10-26 21:53:06,150 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:54: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-10-26 21:54:05,482 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 21:54:06,167 - INFO - taking picture
MAIN: 2026-10-26 21:54:06,167 - INFO - we take 924 photos in this while loop
MAIN: 2026-10-26 21:54:06,168 - INFO - /home/pi/Desktop/images/26102026/21/53/image_26102026_21_54_05_59976.jpg
MAIN: 2026-10-26 21:54:06,168 - INFO - duration: 0.9894455090034171
MAIN: 2026-10-26 21:54:06,168 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:55:05,477 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 21:55: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-10-26 21:55:06,249 - INFO - taking picture
MAIN: 2026-10-26 21:55:06,250 - INFO - we take 925 photos in this while loop
MAIN: 2026-10-26 21:55:06,250 - INFO - /home/pi/Desktop/images/26102026/21/54/image_26102026_21_55_05_60054.jpg
MAIN: 2026-10-26 21:55:06,250 - INFO - duration: 1.016643490002025
MAIN: 2026-10-26 21:55:06,250 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:56: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-10-26 21:56: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-10-26 21:56:06,591 - INFO - taking picture
MAIN: 2026-10-26 21:56:06,591 - INFO - we take 926 photos in this while loop
MAIN: 2026-10-26 21:56:06,591 - INFO - /home/pi/Desktop/images/26102026/21/55/image_26102026_21_56_05_60415.jpg
MAIN: 2026-10-26 21:56:06,592 - INFO - duration: 0.9428631370028597
MAIN: 2026-10-26 21:56:06,592 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/21/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-10-26 21:57:04,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-10-26 21:57: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-10-26 21:57:06,616 - INFO - taking picture
MAIN: 2026-10-26 21:57:06,616 - INFO - we take 927 photos in this while loop
MAIN: 2026-10-26 21:57:06,617 - INFO - /home/pi/Desktop/images/26102026/21/56/image_26102026_21_57_05_60021.jpg
MAIN: 2026-10-26 21:57:06,617 - INFO - duration: 0.946153790995595
MAIN: 2026-10-26 21:57:06,617 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:58:05,011 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 21:58: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-10-26 21:58:06,764 - INFO - taking picture
MAIN: 2026-10-26 21:58:06,764 - INFO - we take 928 photos in this while loop
MAIN: 2026-10-26 21:58:06,764 - INFO - /home/pi/Desktop/images/26102026/21/57/image_26102026_21_58_05_60032.jpg
MAIN: 2026-10-26 21:58:06,764 - INFO - duration: 1.061583184004121
MAIN: 2026-10-26 21:58:06,765 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 21:59: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-10-26 21:59:06,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-10-26 21:59:06,854 - INFO - taking picture
MAIN: 2026-10-26 21:59:06,854 - INFO - we take 929 photos in this while loop
MAIN: 2026-10-26 21:59:06,854 - INFO - /home/pi/Desktop/images/26102026/21/58/image_26102026_21_59_06_60175.jpg
MAIN: 2026-10-26 21:59:06,854 - INFO - duration: 0.9765586180001264
MAIN: 2026-10-26 21:59:06,855 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:00: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-10-26 22:00: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-10-26 22:00:05,850 - INFO - taking picture
MAIN: 2026-10-26 22:00:05,850 - INFO - we take 930 photos in this while loop
MAIN: 2026-10-26 22:00:05,850 - INFO - /home/pi/Desktop/images/26102026/21/59/image_26102026_22_00_05_58991.jpg
MAIN: 2026-10-26 22:00:05,851 - INFO - duration: 0.9813748829983524
MAIN: 2026-10-26 22:00:05,851 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:01:04,821 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 22:01: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-10-26 22:01:05,713 - INFO - taking picture
MAIN: 2026-10-26 22:01:05,713 - INFO - we take 931 photos in this while loop
MAIN: 2026-10-26 22:01:05,713 - INFO - /home/pi/Desktop/images/26102026/22/00/image_26102026_22_01_05_59866.jpg
MAIN: 2026-10-26 22:01:05,714 - INFO - duration: 0.9779432639988954
MAIN: 2026-10-26 22:01:05,714 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:02:05,081 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:02: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-10-26 22:02:05,826 - INFO - taking picture
MAIN: 2026-10-26 22:02:05,826 - INFO - we take 932 photos in this while loop
MAIN: 2026-10-26 22:02:05,826 - INFO - /home/pi/Desktop/images/26102026/22/01/image_26102026_22_02_05_60097.jpg
MAIN: 2026-10-26 22:02:05,826 - INFO - duration: 0.9936003569964669
MAIN: 2026-10-26 22:02:05,827 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/22/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-10-26 22:03:05,225 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:03: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-10-26 22:03:05,993 - INFO - taking picture
MAIN: 2026-10-26 22:03:05,994 - INFO - we take 933 photos in this while loop
MAIN: 2026-10-26 22:03:05,994 - INFO - /home/pi/Desktop/images/26102026/22/02/image_26102026_22_03_05_60109.jpg
MAIN: 2026-10-26 22:03:05,994 - INFO - duration: 1.0520932660001563
MAIN: 2026-10-26 22:03:05,994 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:04: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-10-26 22:04:05,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-10-26 22:04:06,320 - INFO - taking picture
MAIN: 2026-10-26 22:04:06,320 - INFO - we take 934 photos in this while loop
MAIN: 2026-10-26 22:04:06,320 - INFO - /home/pi/Desktop/images/26102026/22/03/image_26102026_22_04_05_60382.jpg
MAIN: 2026-10-26 22:04:06,321 - INFO - duration: 0.9957800390038756
MAIN: 2026-10-26 22:04:06,321 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/22/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-10-26 22:05: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-10-26 22:05: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-10-26 22:05:06,637 - INFO - taking picture
MAIN: 2026-10-26 22:05:06,637 - INFO - we take 935 photos in this while loop
MAIN: 2026-10-26 22:05:06,637 - INFO - /home/pi/Desktop/images/26102026/22/04/image_26102026_22_05_05_60280.jpg
MAIN: 2026-10-26 22:05:06,637 - INFO - duration: 1.0318458389956504
MAIN: 2026-10-26 22:05:06,638 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:06:04,848 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 22:06:05,719 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:06:06,406 - INFO - taking picture
MAIN: 2026-10-26 22:06:06,406 - INFO - we take 936 photos in this while loop
MAIN: 2026-10-26 22:06:06,406 - INFO - /home/pi/Desktop/images/26102026/22/05/image_26102026_22_06_05_59825.jpg
MAIN: 2026-10-26 22:06:06,407 - INFO - duration: 0.9754292249999708
MAIN: 2026-10-26 22:06:06,407 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:07:04,868 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 22:07:05,713 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:07:06,395 - INFO - taking picture
MAIN: 2026-10-26 22:07:06,395 - INFO - we take 937 photos in this while loop
MAIN: 2026-10-26 22:07:06,395 - INFO - /home/pi/Desktop/images/26102026/22/06/image_26102026_22_07_05_60018.jpg
MAIN: 2026-10-26 22:07:06,395 - INFO - duration: 0.9459075819977443
MAIN: 2026-10-26 22:07:06,396 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:08: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-10-26 22:08: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-10-26 22:08:06,120 - INFO - taking picture
MAIN: 2026-10-26 22:08:06,120 - INFO - we take 938 photos in this while loop
MAIN: 2026-10-26 22:08:06,121 - INFO - /home/pi/Desktop/images/26102026/22/07/image_26102026_22_08_05_59749.jpg
MAIN: 2026-10-26 22:08:06,121 - INFO - duration: 0.9218331189986202
MAIN: 2026-10-26 22:08:06,121 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/22/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-10-26 22:09:05,249 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:09: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-10-26 22:09:05,936 - INFO - taking picture
MAIN: 2026-10-26 22:09:05,936 - INFO - we take 939 photos in this while loop
MAIN: 2026-10-26 22:09:05,936 - INFO - /home/pi/Desktop/images/26102026/22/08/image_26102026_22_09_05_59793.jpg
MAIN: 2026-10-26 22:09:05,936 - INFO - duration: 0.9439941250020638
MAIN: 2026-10-26 22:09:05,937 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:10: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-10-26 22:10:05,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-10-26 22:10:06,224 - INFO - taking picture
MAIN: 2026-10-26 22:10:06,224 - INFO - we take 940 photos in this while loop
MAIN: 2026-10-26 22:10:06,225 - INFO - /home/pi/Desktop/images/26102026/22/09/image_26102026_22_10_05_60210.jpg
MAIN: 2026-10-26 22:10:06,225 - INFO - duration: 1.022042415002943
MAIN: 2026-10-26 22:10:06,225 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:11: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-10-26 22:11: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-10-26 22:11:06,180 - INFO - taking picture
MAIN: 2026-10-26 22:11:06,181 - INFO - we take 941 photos in this while loop
MAIN: 2026-10-26 22:11:06,181 - INFO - /home/pi/Desktop/images/26102026/22/10/image_26102026_22_11_05_60031.jpg
MAIN: 2026-10-26 22:11:06,181 - INFO - duration: 0.9467880980009795
MAIN: 2026-10-26 22:11:06,181 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:12: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-10-26 22:12: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-10-26 22:12:06,107 - INFO - taking picture
MAIN: 2026-10-26 22:12:06,107 - INFO - we take 942 photos in this while loop
MAIN: 2026-10-26 22:12:06,107 - INFO - /home/pi/Desktop/images/26102026/22/11/image_26102026_22_12_05_59930.jpg
MAIN: 2026-10-26 22:12:06,107 - INFO - duration: 0.9424854969984153
MAIN: 2026-10-26 22:12:06,107 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:13:05,147 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 22:13:05,413 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:13:06,173 - INFO - taking picture
MAIN: 2026-10-26 22:13:06,173 - INFO - we take 943 photos in this while loop
MAIN: 2026-10-26 22:13:06,174 - INFO - /home/pi/Desktop/images/26102026/22/12/image_26102026_22_13_05_59973.jpg
MAIN: 2026-10-26 22:13:06,174 - INFO - duration: 1.0359594839974307
MAIN: 2026-10-26 22:13:06,174 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:14:05,494 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 22:14: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-10-26 22:14:06,460 - INFO - taking picture
MAIN: 2026-10-26 22:14:06,460 - INFO - we take 944 photos in this while loop
MAIN: 2026-10-26 22:14:06,460 - INFO - /home/pi/Desktop/images/26102026/22/13/image_26102026_22_14_05_60306.jpg
MAIN: 2026-10-26 22:14:06,460 - INFO - duration: 1.0166788909991737
MAIN: 2026-10-26 22:14:06,461 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:15: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-10-26 22:15: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-10-26 22:15:05,982 - INFO - taking picture
MAIN: 2026-10-26 22:15:05,982 - INFO - we take 945 photos in this while loop
MAIN: 2026-10-26 22:15:05,983 - INFO - /home/pi/Desktop/images/26102026/22/14/image_26102026_22_15_05_59623.jpg
MAIN: 2026-10-26 22:15:05,983 - INFO - duration: 0.9154452410002705
MAIN: 2026-10-26 22:15:05,983 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/22/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-10-26 22:16: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-10-26 22:16: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-10-26 22:16:06,024 - INFO - taking picture
MAIN: 2026-10-26 22:16:06,024 - INFO - we take 946 photos in this while loop
MAIN: 2026-10-26 22:16:06,024 - INFO - /home/pi/Desktop/images/26102026/22/15/image_26102026_22_16_05_59988.jpg
MAIN: 2026-10-26 22:16:06,024 - INFO - duration: 0.9682710409979336
MAIN: 2026-10-26 22:16:06,024 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:17:05,017 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 22:17:05,476 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:17:06,190 - INFO - taking picture
MAIN: 2026-10-26 22:17:06,191 - INFO - we take 947 photos in this while loop
MAIN: 2026-10-26 22:17:06,191 - INFO - /home/pi/Desktop/images/26102026/22/16/image_26102026_22_17_05_60171.jpg
MAIN: 2026-10-26 22:17:06,191 - INFO - duration: 0.962968166997598
MAIN: 2026-10-26 22:17:06,191 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:18: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-10-26 22:18: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-10-26 22:18:06,385 - INFO - taking picture
MAIN: 2026-10-26 22:18:06,385 - INFO - we take 948 photos in this while loop
MAIN: 2026-10-26 22:18:06,385 - INFO - /home/pi/Desktop/images/26102026/22/17/image_26102026_22_18_05_60190.jpg
MAIN: 2026-10-26 22:18:06,386 - INFO - duration: 0.9676868290043785
MAIN: 2026-10-26 22:18:06,386 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:19:05,158 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 22:19:05,643 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:19:06,431 - INFO - taking picture
MAIN: 2026-10-26 22:19:06,431 - INFO - we take 949 photos in this while loop
MAIN: 2026-10-26 22:19:06,431 - INFO - /home/pi/Desktop/images/26102026/22/18/image_26102026_22_19_05_60004.jpg
MAIN: 2026-10-26 22:19:06,431 - INFO - duration: 1.0090571789987735
MAIN: 2026-10-26 22:19:06,432 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:20: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-10-26 22:20: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 ! 
MAIN: 2026-10-26 22:20:06,467 - INFO - taking picture
MAIN: 2026-10-26 22:20:06,467 - INFO - we take 950 photos in this while loop
MAIN: 2026-10-26 22:20:06,467 - INFO - /home/pi/Desktop/images/26102026/22/19/image_26102026_22_20_05_60096.jpg
MAIN: 2026-10-26 22:20:06,468 - INFO - duration: 0.9487555849991622
MAIN: 2026-10-26 22:20:06,468 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:21:04,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-10-26 22:21: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-10-26 22:21:06,532 - INFO - taking picture
MAIN: 2026-10-26 22:21:06,532 - INFO - we take 951 photos in this while loop
MAIN: 2026-10-26 22:21:06,532 - INFO - /home/pi/Desktop/images/26102026/22/20/image_26102026_22_21_05_59971.jpg
MAIN: 2026-10-26 22:21:06,532 - INFO - duration: 1.0421483960017213
MAIN: 2026-10-26 22:21:06,533 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:22: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-10-26 22:22: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-10-26 22:22:06,704 - INFO - taking picture
MAIN: 2026-10-26 22:22:06,704 - INFO - we take 952 photos in this while loop
MAIN: 2026-10-26 22:22:06,704 - INFO - /home/pi/Desktop/images/26102026/22/21/image_26102026_22_22_05_60263.jpg
MAIN: 2026-10-26 22:22:06,704 - INFO - duration: 0.9501902789997985
MAIN: 2026-10-26 22:22:06,704 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:23:05,247 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 22:23:06,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-10-26 22:23:06,776 - INFO - taking picture
MAIN: 2026-10-26 22:23:06,776 - INFO - we take 953 photos in this while loop
MAIN: 2026-10-26 22:23:06,776 - INFO - /home/pi/Desktop/images/26102026/22/22/image_26102026_22_23_06_60075.jpg
MAIN: 2026-10-26 22:23:06,776 - INFO - duration: 0.9471852290007519
MAIN: 2026-10-26 22:23:06,777 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:24:04,928 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:24: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-10-26 22:24:05,630 - INFO - taking picture
MAIN: 2026-10-26 22:24:05,630 - INFO - we take 954 photos in this while loop
MAIN: 2026-10-26 22:24:05,630 - INFO - /home/pi/Desktop/images/26102026/22/23/image_26102026_22_24_04_58872.jpg
MAIN: 2026-10-26 22:24:05,630 - INFO - duration: 0.9288959449986578
MAIN: 2026-10-26 22:24:05,631 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:25:05,001 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:25: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-10-26 22:25:05,738 - INFO - taking picture
MAIN: 2026-10-26 22:25:05,739 - INFO - we take 955 photos in this while loop
MAIN: 2026-10-26 22:25:05,739 - INFO - /home/pi/Desktop/images/26102026/22/24/image_26102026_22_25_05_60047.jpg
MAIN: 2026-10-26 22:25:05,739 - INFO - duration: 0.9904938360050437
MAIN: 2026-10-26 22:25:05,740 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:26: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-10-26 22:26:05,952 - INFO - taking picture
MAIN: 2026-10-26 22:26:05,952 - INFO - we take 956 photos in this while loop
MAIN: 2026-10-26 22:26:05,952 - INFO - /home/pi/Desktop/images/26102026/22/25/image_26102026_22_26_05_60297.jpg
MAIN: 2026-10-26 22:26:05,952 - INFO - duration: 0.9055460610034061
MAIN: 2026-10-26 22:26:05,953 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/22/26'
MAIN: 2026-10-26 22:26:06,106 - 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-10-26 22:27:04,740 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 22:27: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-10-26 22:27:06,142 - INFO - taking picture
MAIN: 2026-10-26 22:27:06,142 - INFO - we take 957 photos in this while loop
MAIN: 2026-10-26 22:27:06,142 - INFO - /home/pi/Desktop/images/26102026/22/26/image_26102026_22_27_05_60090.jpg
MAIN: 2026-10-26 22:27:06,143 - INFO - duration: 1.0056618550006533
MAIN: 2026-10-26 22:27:06,143 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:28: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-10-26 22:28: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-10-26 22:28:06,186 - INFO - taking picture
MAIN: 2026-10-26 22:28:06,186 - INFO - we take 958 photos in this while loop
MAIN: 2026-10-26 22:28:06,186 - INFO - /home/pi/Desktop/images/26102026/22/27/image_26102026_22_28_05_60067.jpg
MAIN: 2026-10-26 22:28:06,186 - INFO - duration: 0.9819598120011506
MAIN: 2026-10-26 22:28:06,186 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:29:04,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-10-26 22:29:05,461 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:29:06,177 - INFO - taking picture
MAIN: 2026-10-26 22:29:06,177 - INFO - we take 959 photos in this while loop
MAIN: 2026-10-26 22:29:06,178 - INFO - /home/pi/Desktop/images/26102026/22/28/image_26102026_22_29_05_60035.jpg
MAIN: 2026-10-26 22:29:06,178 - INFO - duration: 0.9381273269973462
MAIN: 2026-10-26 22:29:06,178 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:30: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-10-26 22:30:05,774 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 22:30:06,179 - INFO - taking picture
MAIN: 2026-10-26 22:30:06,180 - INFO - we take 960 photos in this while loop
MAIN: 2026-10-26 22:30:06,180 - INFO - /home/pi/Desktop/images/26102026/22/29/image_26102026_22_30_05_60003.jpg
MAIN: 2026-10-26 22:30:06,180 - INFO - duration: 0.9368437259981874
MAIN: 2026-10-26 22:30:06,180 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/22/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-10-26 22:31: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-10-26 22:31:05,414 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:31:06,170 - INFO - taking picture
MAIN: 2026-10-26 22:31:06,170 - INFO - we take 961 photos in this while loop
MAIN: 2026-10-26 22:31:06,170 - INFO - /home/pi/Desktop/images/26102026/22/30/image_26102026_22_31_05_59892.jpg
MAIN: 2026-10-26 22:31:06,171 - INFO - duration: 1.0351940920008929
MAIN: 2026-10-26 22:31:06,171 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:32: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-10-26 22:32: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-10-26 22:32:05,907 - INFO - taking picture
MAIN: 2026-10-26 22:32:05,907 - INFO - we take 962 photos in this while loop
MAIN: 2026-10-26 22:32:05,907 - INFO - /home/pi/Desktop/images/26102026/22/31/image_26102026_22_32_05_59856.jpg
MAIN: 2026-10-26 22:32:05,907 - INFO - duration: 0.9152678940008627
MAIN: 2026-10-26 22:32:05,908 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:33:04,739 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 22:33:05,224 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:33:05,904 - INFO - taking picture
MAIN: 2026-10-26 22:33:05,904 - INFO - we take 963 photos in this while loop
MAIN: 2026-10-26 22:33:05,904 - INFO - /home/pi/Desktop/images/26102026/22/32/image_26102026_22_33_05_60001.jpg
MAIN: 2026-10-26 22:33:05,904 - INFO - duration: 0.910807662003208
MAIN: 2026-10-26 22:33:05,905 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:34: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-10-26 22:34: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-10-26 22:34:05,862 - INFO - taking picture
MAIN: 2026-10-26 22:34:05,862 - INFO - we take 964 photos in this while loop
MAIN: 2026-10-26 22:34:05,862 - INFO - /home/pi/Desktop/images/26102026/22/33/image_26102026_22_34_05_59887.jpg
MAIN: 2026-10-26 22:34:05,862 - INFO - duration: 0.9816183900038595
MAIN: 2026-10-26 22:34:05,863 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:35:05,187 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:35:05,482 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 22:35:05,882 - INFO - taking picture
MAIN: 2026-10-26 22:35:05,883 - INFO - we take 965 photos in this while loop
MAIN: 2026-10-26 22:35:05,883 - INFO - /home/pi/Desktop/images/26102026/22/34/image_26102026_22_35_05_60076.jpg
MAIN: 2026-10-26 22:35:05,883 - INFO - duration: 0.9258763399993768
MAIN: 2026-10-26 22:35:05,883 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:36:05,205 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:36: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-10-26 22:36:05,900 - INFO - taking picture
MAIN: 2026-10-26 22:36:05,901 - INFO - we take 966 photos in this while loop
MAIN: 2026-10-26 22:36:05,901 - INFO - /home/pi/Desktop/images/26102026/22/35/image_26102026_22_36_05_59972.jpg
MAIN: 2026-10-26 22:36:05,901 - INFO - duration: 0.9708899110046332
MAIN: 2026-10-26 22:36:05,901 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:37:05,288 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:37: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-10-26 22:37:05,987 - INFO - taking picture
MAIN: 2026-10-26 22:37:05,987 - INFO - we take 967 photos in this while loop
MAIN: 2026-10-26 22:37:05,987 - INFO - /home/pi/Desktop/images/26102026/22/36/image_26102026_22_37_05_60080.jpg
MAIN: 2026-10-26 22:37:05,988 - INFO - duration: 0.9769989260021248
MAIN: 2026-10-26 22:37:05,988 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:38: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-10-26 22:38: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-10-26 22:38:05,887 - INFO - taking picture
MAIN: 2026-10-26 22:38:05,887 - INFO - we take 968 photos in this while loop
MAIN: 2026-10-26 22:38:05,888 - INFO - /home/pi/Desktop/images/26102026/22/37/image_26102026_22_38_05_59948.jpg
MAIN: 2026-10-26 22:38:05,888 - INFO - duration: 0.9282354950046283
MAIN: 2026-10-26 22:38:05,888 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:39:04,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-10-26 22:39: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-10-26 22:39:06,071 - INFO - taking picture
MAIN: 2026-10-26 22:39:06,071 - INFO - we take 969 photos in this while loop
MAIN: 2026-10-26 22:39:06,071 - INFO - /home/pi/Desktop/images/26102026/22/38/image_26102026_22_39_05_60049.jpg
MAIN: 2026-10-26 22:39:06,071 - INFO - duration: 1.0627460720061208
MAIN: 2026-10-26 22:39:06,072 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:40: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-10-26 22: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-10-26 22:40:06,306 - INFO - taking picture
MAIN: 2026-10-26 22:40:06,306 - INFO - we take 970 photos in this while loop
MAIN: 2026-10-26 22:40:06,306 - INFO - /home/pi/Desktop/images/26102026/22/39/image_26102026_22_40_05_60385.jpg
MAIN: 2026-10-26 22:40:06,306 - INFO - duration: 0.9124895080021815
MAIN: 2026-10-26 22:40:06,307 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:41: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-10-26 22:41:05,725 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:41:06,406 - INFO - taking picture
MAIN: 2026-10-26 22:41:06,407 - INFO - we take 971 photos in this while loop
MAIN: 2026-10-26 22:41:06,407 - INFO - /home/pi/Desktop/images/26102026/22/40/image_26102026_22_41_05_60108.jpg
MAIN: 2026-10-26 22:41:06,407 - INFO - duration: 0.9044434759998694
MAIN: 2026-10-26 22:41:06,407 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:42: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-10-26 22:42: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-10-26 22:42:05,628 - INFO - taking picture
MAIN: 2026-10-26 22:42:05,628 - INFO - we take 972 photos in this while loop
MAIN: 2026-10-26 22:42:05,629 - INFO - /home/pi/Desktop/images/26102026/22/41/image_26102026_22_42_04_59154.jpg
MAIN: 2026-10-26 22:42:05,629 - INFO - duration: 0.9714061620034045
MAIN: 2026-10-26 22:42:05,629 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:43: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-10-26 22:43: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-10-26 22:43:05,630 - INFO - taking picture
MAIN: 2026-10-26 22:43:05,630 - INFO - we take 973 photos in this while loop
MAIN: 2026-10-26 22:43:05,631 - INFO - /home/pi/Desktop/images/26102026/22/42/image_26102026_22_43_04_60017.jpg
MAIN: 2026-10-26 22:43:05,631 - INFO - duration: 0.9557427100080531
MAIN: 2026-10-26 22:43:05,631 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:44:05,119 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:44:05,804 - INFO - taking picture
MAIN: 2026-10-26 22:44:05,804 - INFO - we take 974 photos in this while loop
MAIN: 2026-10-26 22:44:05,804 - INFO - /home/pi/Desktop/images/26102026/22/43/image_26102026_22_44_05_60153.jpg
MAIN: 2026-10-26 22:44:05,804 - INFO - duration: 0.9757677629968384
MAIN: 2026-10-26 22:44:05,804 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/22/44'
MAIN: 2026-10-26 22:44: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-10-26 22:45: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-10-26 22:45: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-10-26 22:45:05,836 - INFO - taking picture
MAIN: 2026-10-26 22:45:05,837 - INFO - we take 975 photos in this while loop
MAIN: 2026-10-26 22:45:05,837 - INFO - /home/pi/Desktop/images/26102026/22/44/image_26102026_22_45_05_60076.jpg
MAIN: 2026-10-26 22:45:05,837 - INFO - duration: 0.9317873279942432
MAIN: 2026-10-26 22:45:05,837 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:46:04,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-10-26 22:46:05,033 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:46:05,791 - INFO - taking picture
MAIN: 2026-10-26 22:46:05,792 - INFO - we take 976 photos in this while loop
MAIN: 2026-10-26 22:46:05,792 - INFO - /home/pi/Desktop/images/26102026/22/45/image_26102026_22_46_05_59826.jpg
MAIN: 2026-10-26 22:46:05,792 - INFO - duration: 1.0603372540062992
MAIN: 2026-10-26 22:46:05,792 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:47:05,071 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:47:05,101 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 22:47:05,763 - INFO - taking picture
MAIN: 2026-10-26 22:47:05,763 - INFO - we take 977 photos in this while loop
MAIN: 2026-10-26 22:47:05,764 - INFO - /home/pi/Desktop/images/26102026/22/46/image_26102026_22_47_05_60062.jpg
MAIN: 2026-10-26 22:47:05,764 - INFO - duration: 0.9696140669984743
MAIN: 2026-10-26 22:47:05,764 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:48:05,072 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:48: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-10-26 22:48:05,768 - INFO - taking picture
MAIN: 2026-10-26 22:48:05,768 - INFO - we take 978 photos in this while loop
MAIN: 2026-10-26 22:48:05,768 - INFO - /home/pi/Desktop/images/26102026/22/47/image_26102026_22_48_05_60051.jpg
MAIN: 2026-10-26 22:48:05,768 - INFO - duration: 0.9230073479993735
MAIN: 2026-10-26 22:48:05,769 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:49:05,120 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:49:05,691 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 22:49:05,872 - INFO - taking picture
MAIN: 2026-10-26 22:49:05,873 - INFO - we take 979 photos in this while loop
MAIN: 2026-10-26 22:49:05,873 - INFO - /home/pi/Desktop/images/26102026/22/48/image_26102026_22_49_05_59987.jpg
MAIN: 2026-10-26 22:49:05,873 - INFO - duration: 1.0400502670090646
MAIN: 2026-10-26 22:49:05,873 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:50:05,503 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:50:06,232 - INFO - taking picture
MAIN: 2026-10-26 22:50:06,232 - INFO - we take 980 photos in this while loop
MAIN: 2026-10-26 22:50:06,232 - INFO - /home/pi/Desktop/images/26102026/22/49/image_26102026_22_50_05_60426.jpg
MAIN: 2026-10-26 22:50:06,232 - INFO - duration: 0.9731959950004239
MAIN: 2026-10-26 22:50:06,233 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/22/50'
MAIN: 2026-10-26 22:50:06,376 - 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-10-26 22:51:05,130 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 22:51:05,558 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:51:06,240 - INFO - taking picture
MAIN: 2026-10-26 22:51:06,240 - INFO - we take 981 photos in this while loop
MAIN: 2026-10-26 22:51:06,240 - INFO - /home/pi/Desktop/images/26102026/22/50/image_26102026_22_51_05_60077.jpg
MAIN: 2026-10-26 22:51:06,240 - INFO - duration: 0.9037626520002959
MAIN: 2026-10-26 22:51:06,240 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:52: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-10-26 22:52:05,668 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:52:06,352 - INFO - taking picture
MAIN: 2026-10-26 22:52:06,352 - INFO - we take 982 photos in this while loop
MAIN: 2026-10-26 22:52:06,352 - INFO - /home/pi/Desktop/images/26102026/22/51/image_26102026_22_52_05_60107.jpg
MAIN: 2026-10-26 22:52:06,352 - INFO - duration: 0.9090529840032104
MAIN: 2026-10-26 22:52:06,353 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:53: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-10-26 22:53: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-10-26 22:53:06,368 - INFO - taking picture
MAIN: 2026-10-26 22:53:06,368 - INFO - we take 983 photos in this while loop
MAIN: 2026-10-26 22:53:06,369 - INFO - /home/pi/Desktop/images/26102026/22/52/image_26102026_22_53_05_59957.jpg
MAIN: 2026-10-26 22:53:06,369 - INFO - duration: 0.9676660149998497
MAIN: 2026-10-26 22:53:06,369 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:54: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-10-26 22:54: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-10-26 22:54:06,276 - INFO - taking picture
MAIN: 2026-10-26 22:54:06,276 - INFO - we take 984 photos in this while loop
MAIN: 2026-10-26 22:54:06,277 - INFO - /home/pi/Desktop/images/26102026/22/53/image_26102026_22_54_05_59910.jpg
MAIN: 2026-10-26 22:54:06,277 - INFO - duration: 0.9656046050076839
MAIN: 2026-10-26 22:54:06,277 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:55: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-10-26 22:55:05,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-10-26 22:55:06,279 - INFO - taking picture
MAIN: 2026-10-26 22:55:06,279 - INFO - we take 985 photos in this while loop
MAIN: 2026-10-26 22:55:06,279 - INFO - /home/pi/Desktop/images/26102026/22/54/image_26102026_22_55_05_60045.jpg
MAIN: 2026-10-26 22:55:06,280 - INFO - duration: 0.9230218779994175
MAIN: 2026-10-26 22:55:06,280 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:56: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-10-26 22:56: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-10-26 22:56:06,408 - INFO - taking picture
MAIN: 2026-10-26 22:56:06,408 - INFO - we take 986 photos in this while loop
MAIN: 2026-10-26 22:56:06,408 - INFO - /home/pi/Desktop/images/26102026/22/55/image_26102026_22_56_05_60063.jpg
MAIN: 2026-10-26 22:56:06,408 - INFO - duration: 0.9882434860046487
MAIN: 2026-10-26 22:56:06,409 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:57: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-10-26 22:57:05,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-10-26 22:57:06,663 - INFO - taking picture
MAIN: 2026-10-26 22:57:06,663 - INFO - we take 987 photos in this while loop
MAIN: 2026-10-26 22:57:06,663 - INFO - /home/pi/Desktop/images/26102026/22/56/image_26102026_22_57_05_60296.jpg
MAIN: 2026-10-26 22:57:06,663 - INFO - duration: 0.9464184690004913
MAIN: 2026-10-26 22:57:06,664 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:58: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-10-26 22:58:05,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-10-26 22:58:06,686 - INFO - taking picture
MAIN: 2026-10-26 22:58:06,686 - INFO - we take 988 photos in this while loop
MAIN: 2026-10-26 22:58:06,686 - INFO - /home/pi/Desktop/images/26102026/22/57/image_26102026_22_58_05_60011.jpg
MAIN: 2026-10-26 22:58:06,686 - INFO - duration: 0.9575273439986631
MAIN: 2026-10-26 22:58:06,687 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/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-10-26 22:59:05,405 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-26 22:59:05,679 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 22:59:06,360 - INFO - taking picture
MAIN: 2026-10-26 22:59:06,360 - INFO - we take 989 photos in this while loop
MAIN: 2026-10-26 22:59:06,360 - INFO - /home/pi/Desktop/images/26102026/22/58/image_26102026_22_59_05_59687.jpg
MAIN: 2026-10-26 22:59:06,360 - INFO - duration: 0.9439963619952323
MAIN: 2026-10-26 22:59:06,360 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/26102026/22/59'
MAIN: 2026-10-26 23:00: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-10-26 23:00:06,378 - INFO - taking picture
MAIN: 2026-10-26 23:00:06,378 - INFO - we take 990 photos in this while loop
MAIN: 2026-10-26 23:00:06,378 - INFO - /home/pi/Desktop/images/26102026/22/59/image_26102026_23_00_05_60054.jpg
MAIN: 2026-10-26 23:00:06,378 - INFO - duration: 0.9072127700055717
MAIN: 2026-10-26 23:01:06,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-10-26 23:01:06,854 - INFO - taking picture
MAIN: 2026-10-26 23:01:06,855 - INFO - we take 991 photos in this while loop
MAIN: 2026-10-26 23:01:06,855 - INFO - /home/pi/Desktop/images/26102026/23/00/image_26102026_23_01_06_60337.jpg
MAIN: 2026-10-26 23:01:06,855 - INFO - duration: 1.0469967489916598
MAIN: 2026-10-26 23:02:05,607 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 23:02:06,290 - INFO - taking picture
MAIN: 2026-10-26 23:02:06,291 - INFO - we take 992 photos in this while loop
MAIN: 2026-10-26 23:02:06,291 - INFO - /home/pi/Desktop/images/26102026/23/01/image_26102026_23_02_05_59543.jpg
MAIN: 2026-10-26 23:02:06,291 - INFO - duration: 0.939089765000972
MAIN: 2026-10-26 23:03: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-10-26 23:03:06,481 - INFO - taking picture
MAIN: 2026-10-26 23:03:06,482 - INFO - we take 993 photos in this while loop
MAIN: 2026-10-26 23:03:06,482 - INFO - /home/pi/Desktop/images/26102026/23/02/image_26102026_23_03_05_60085.jpg
MAIN: 2026-10-26 23:03:06,482 - INFO - duration: 1.0449949109897716
MAIN: 2026-10-26 23:04: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-10-26 23:04:06,492 - INFO - taking picture
MAIN: 2026-10-26 23:04:06,493 - INFO - we take 994 photos in this while loop
MAIN: 2026-10-26 23:04:06,493 - INFO - /home/pi/Desktop/images/26102026/23/03/image_26102026_23_04_05_60100.jpg
MAIN: 2026-10-26 23:04:06,493 - INFO - duration: 0.9548067209980218
MAIN: 2026-10-26 23:05: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-10-26 23:05:06,246 - INFO - taking picture
MAIN: 2026-10-26 23:05:06,247 - INFO - we take 995 photos in this while loop
MAIN: 2026-10-26 23:05:06,247 - INFO - /home/pi/Desktop/images/26102026/23/04/image_26102026_23_05_05_59804.jpg
MAIN: 2026-10-26 23:05:06,247 - INFO - duration: 0.9044908579962794
MAIN: 2026-10-26 23:06: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-10-26 23:06:06,217 - INFO - taking picture
MAIN: 2026-10-26 23:06:06,217 - INFO - we take 996 photos in this while loop
MAIN: 2026-10-26 23:06:06,217 - INFO - /home/pi/Desktop/images/26102026/23/05/image_26102026_23_06_05_59913.jpg
MAIN: 2026-10-26 23:06:06,217 - INFO - duration: 0.9611700520035811
MAIN: 2026-10-26 23:07: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-10-26 23:07:06,419 - INFO - taking picture
MAIN: 2026-10-26 23:07:06,419 - INFO - we take 997 photos in this while loop
MAIN: 2026-10-26 23:07:06,419 - INFO - /home/pi/Desktop/images/26102026/23/06/image_26102026_23_07_05_60120.jpg
MAIN: 2026-10-26 23:07:06,419 - INFO - duration: 1.0429263739933958
MAIN: 2026-10-26 23:08: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-10-26 23:08:06,540 - INFO - taking picture
MAIN: 2026-10-26 23:08:06,540 - INFO - we take 998 photos in this while loop
MAIN: 2026-10-26 23:08:06,540 - INFO - /home/pi/Desktop/images/26102026/23/07/image_26102026_23_08_05_60198.jpg
MAIN: 2026-10-26 23:08:06,540 - INFO - duration: 0.9650545360054821
MAIN: 2026-10-26 23:09:05,722 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 23:09:06,404 - INFO - taking picture
MAIN: 2026-10-26 23:09:06,404 - INFO - we take 999 photos in this while loop
MAIN: 2026-10-26 23:09:06,404 - INFO - /home/pi/Desktop/images/26102026/23/08/image_26102026_23_09_05_59876.jpg
MAIN: 2026-10-26 23:09:06,404 - INFO - duration: 0.952339726005448
MAIN: 2026-10-26 23:10: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-10-26 23:10:06,594 - INFO - taking picture
MAIN: 2026-10-26 23:10:06,594 - INFO - we take 1000 photos in this while loop
MAIN: 2026-10-26 23:10:06,595 - INFO - /home/pi/Desktop/images/26102026/23/09/image_26102026_23_10_05_60111.jpg
MAIN: 2026-10-26 23:10:06,595 - INFO - duration: 1.031239428994013
MAIN: 2026-10-26 23:11:06,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-10-26 23:11:06,832 - INFO - taking picture
MAIN: 2026-10-26 23:11:06,832 - INFO - we take 1001 photos in this while loop
MAIN: 2026-10-26 23:11:06,832 - INFO - /home/pi/Desktop/images/26102026/23/10/image_26102026_23_11_06_60288.jpg
MAIN: 2026-10-26 23:11:06,832 - INFO - duration: 0.9798519080068218
MAIN: 2026-10-26 23:12: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-10-26 23:12:05,652 - INFO - taking picture
MAIN: 2026-10-26 23:12:05,652 - INFO - we take 1002 photos in this while loop
MAIN: 2026-10-26 23:12:05,652 - INFO - /home/pi/Desktop/images/26102026/23/11/image_26102026_23_12_04_58842.jpg
MAIN: 2026-10-26 23:12:05,653 - INFO - duration: 0.9582451140013291
MAIN: 2026-10-26 23:13:06,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-10-26 23:13:06,699 - INFO - taking picture
MAIN: 2026-10-26 23:13:06,699 - INFO - we take 1003 photos in this while loop
MAIN: 2026-10-26 23:13:06,699 - INFO - /home/pi/Desktop/images/26102026/23/12/image_26102026_23_13_06_61042.jpg
MAIN: 2026-10-26 23:13:06,700 - INFO - duration: 0.9623030369984917
MAIN: 2026-10-26 23:14:05,315 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 23:14:05,998 - INFO - taking picture
MAIN: 2026-10-26 23:14:05,998 - INFO - we take 1004 photos in this while loop
MAIN: 2026-10-26 23:14:05,998 - INFO - /home/pi/Desktop/images/26102026/23/13/image_26102026_23_14_05_59297.jpg
MAIN: 2026-10-26 23:14:05,999 - INFO - duration: 0.9636136920016725
MAIN: 2026-10-26 23:15: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-10-26 23:15:06,221 - INFO - taking picture
MAIN: 2026-10-26 23:15:06,222 - INFO - we take 1005 photos in this while loop
MAIN: 2026-10-26 23:15:06,222 - INFO - /home/pi/Desktop/images/26102026/23/14/image_26102026_23_15_05_60154.jpg
MAIN: 2026-10-26 23:15:06,222 - INFO - duration: 1.0329061609954806
MAIN: 2026-10-26 23:16:05,724 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 23:16:06,410 - INFO - taking picture
MAIN: 2026-10-26 23:16:06,410 - INFO - we take 1006 photos in this while loop
MAIN: 2026-10-26 23:16:06,410 - INFO - /home/pi/Desktop/images/26102026/23/15/image_26102026_23_16_05_60273.jpg
MAIN: 2026-10-26 23:16:06,410 - INFO - duration: 0.947969225991983
MAIN: 2026-10-26 23:17: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-10-26 23:17:06,422 - INFO - taking picture
MAIN: 2026-10-26 23:17:06,422 - INFO - we take 1007 photos in this while loop
MAIN: 2026-10-26 23:17:06,422 - INFO - /home/pi/Desktop/images/26102026/23/16/image_26102026_23_17_05_59997.jpg
MAIN: 2026-10-26 23:17:06,422 - INFO - duration: 0.9622896799992304
MAIN: 2026-10-26 23:18:06,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-10-26 23:18:06,840 - INFO - taking picture
MAIN: 2026-10-26 23:18:06,840 - INFO - we take 1008 photos in this while loop
MAIN: 2026-10-26 23:18:06,841 - INFO - /home/pi/Desktop/images/26102026/23/17/image_26102026_23_18_06_60303.jpg
MAIN: 2026-10-26 23:18:06,841 - INFO - duration: 1.0771006469876738
MAIN: 2026-10-26 23:19:06,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-10-26 23:19:06,721 - INFO - taking picture
MAIN: 2026-10-26 23:19:06,721 - INFO - we take 1009 photos in this while loop
MAIN: 2026-10-26 23:19:06,721 - INFO - /home/pi/Desktop/images/26102026/23/18/image_26102026_23_19_06_60002.jpg
MAIN: 2026-10-26 23:19:06,721 - INFO - duration: 0.9548440899961861
MAIN: 2026-10-26 23:20: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-10-26 23:20:06,179 - INFO - taking picture
MAIN: 2026-10-26 23:20:06,179 - INFO - we take 1010 photos in this while loop
MAIN: 2026-10-26 23:20:06,180 - INFO - /home/pi/Desktop/images/26102026/23/19/image_26102026_23_20_05_59352.jpg
MAIN: 2026-10-26 23:20:06,180 - INFO - duration: 1.0611957979999715
MAIN: 2026-10-26 23:21: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-10-26 23:21:06,292 - INFO - taking picture
MAIN: 2026-10-26 23:21:06,292 - INFO - we take 1011 photos in this while loop
MAIN: 2026-10-26 23:21:06,293 - INFO - /home/pi/Desktop/images/26102026/23/20/image_26102026_23_21_05_60121.jpg
MAIN: 2026-10-26 23:21:06,293 - INFO - duration: 1.052332342005684
MAIN: 2026-10-26 23:22:05,256 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 23:22:05,989 - INFO - taking picture
MAIN: 2026-10-26 23:22:05,989 - INFO - we take 1012 photos in this while loop
MAIN: 2026-10-26 23:22:05,989 - INFO - /home/pi/Desktop/images/26102026/23/21/image_26102026_23_22_05_59706.jpg
MAIN: 2026-10-26 23:22:05,990 - INFO - duration: 1.0425685289956164
MAIN: 2026-10-26 23:23: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-10-26 23:23:06,330 - INFO - taking picture
MAIN: 2026-10-26 23:23:06,331 - INFO - we take 1013 photos in this while loop
MAIN: 2026-10-26 23:23:06,331 - INFO - /home/pi/Desktop/images/26102026/23/22/image_26102026_23_23_05_60408.jpg
MAIN: 2026-10-26 23:23:06,331 - INFO - duration: 0.9750367780070519
MAIN: 2026-10-26 23:24:05,471 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 23:24:06,156 - INFO - taking picture
MAIN: 2026-10-26 23:24:06,156 - INFO - we take 1014 photos in this while loop
MAIN: 2026-10-26 23:24:06,156 - INFO - /home/pi/Desktop/images/26102026/23/23/image_26102026_23_24_05_59843.jpg
MAIN: 2026-10-26 23:24:06,156 - INFO - duration: 0.9572423799982062
MAIN: 2026-10-26 23:25: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-10-26 23:25:05,871 - INFO - taking picture
MAIN: 2026-10-26 23:25:05,872 - INFO - we take 1015 photos in this while loop
MAIN: 2026-10-26 23:25:05,872 - INFO - /home/pi/Desktop/images/26102026/23/24/image_26102026_23_25_05_59765.jpg
MAIN: 2026-10-26 23:25:05,872 - INFO - duration: 0.9069620879890863
MAIN: 2026-10-26 23:26:04,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-10-26 23:26:05,643 - INFO - taking picture
MAIN: 2026-10-26 23:26:05,643 - INFO - we take 1016 photos in this while loop
MAIN: 2026-10-26 23:26:05,643 - INFO - /home/pi/Desktop/images/26102026/23/25/image_26102026_23_26_04_59719.jpg
MAIN: 2026-10-26 23:26:05,643 - INFO - duration: 0.9591770859988173
MAIN: 2026-10-26 23:27:04,894 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 23:27:05,699 - INFO - taking picture
MAIN: 2026-10-26 23:27:05,699 - INFO - we take 1017 photos in this while loop
MAIN: 2026-10-26 23:27:05,699 - INFO - /home/pi/Desktop/images/26102026/23/26/image_26102026_23_27_04_59989.jpg
MAIN: 2026-10-26 23:27:05,700 - INFO - duration: 1.025672427000245
MAIN: 2026-10-26 23:28: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-10-26 23:28:05,820 - INFO - taking picture
MAIN: 2026-10-26 23:28:05,821 - INFO - we take 1018 photos in this while loop
MAIN: 2026-10-26 23:28:05,821 - INFO - /home/pi/Desktop/images/26102026/23/27/image_26102026_23_28_05_60186.jpg
MAIN: 2026-10-26 23:28:05,821 - INFO - duration: 0.9603234069945756
MAIN: 2026-10-26 23:29:04,924 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 23:29:05,606 - INFO - taking picture
MAIN: 2026-10-26 23:29:05,606 - INFO - we take 1019 photos in this while loop
MAIN: 2026-10-26 23:29:05,606 - INFO - /home/pi/Desktop/images/26102026/23/28/image_26102026_23_29_04_59790.jpg
MAIN: 2026-10-26 23:29:05,606 - INFO - duration: 0.9558089390047826
MAIN: 2026-10-26 23:30: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-10-26 23:30:06,404 - INFO - taking picture
MAIN: 2026-10-26 23:30:06,405 - INFO - we take 1020 photos in this while loop
MAIN: 2026-10-26 23:30:06,405 - INFO - /home/pi/Desktop/images/26102026/23/29/image_26102026_23_30_05_60803.jpg
MAIN: 2026-10-26 23:30:06,405 - INFO - duration: 0.950423940012115
MAIN: 2026-10-26 23:31: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-10-26 23:31:06,114 - INFO - taking picture
MAIN: 2026-10-26 23:31:06,114 - INFO - we take 1021 photos in this while loop
MAIN: 2026-10-26 23:31:06,114 - INFO - /home/pi/Desktop/images/26102026/23/30/image_26102026_23_31_05_59712.jpg
MAIN: 2026-10-26 23:31:06,114 - INFO - duration: 0.9469399340014206
MAIN: 2026-10-26 23:32: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-10-26 23:32:06,094 - INFO - taking picture
MAIN: 2026-10-26 23:32:06,095 - INFO - we take 1022 photos in this while loop
MAIN: 2026-10-26 23:32:06,095 - INFO - /home/pi/Desktop/images/26102026/23/31/image_26102026_23_32_05_59889.jpg
MAIN: 2026-10-26 23:32:06,095 - INFO - duration: 1.0380495749996044
MAIN: 2026-10-26 23:33: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-10-26 23:33:06,476 - INFO - taking picture
MAIN: 2026-10-26 23:33:06,477 - INFO - we take 1023 photos in this while loop
MAIN: 2026-10-26 23:33:06,477 - INFO - /home/pi/Desktop/images/26102026/23/32/image_26102026_23_33_05_60469.jpg
MAIN: 2026-10-26 23:33:06,477 - INFO - duration: 0.9505236129916739
MAIN: 2026-10-26 23:34:05,775 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 23:34:06,460 - INFO - taking picture
MAIN: 2026-10-26 23:34:06,461 - INFO - we take 1024 photos in this while loop
MAIN: 2026-10-26 23:34:06,461 - INFO - /home/pi/Desktop/images/26102026/23/33/image_26102026_23_34_05_59990.jpg
MAIN: 2026-10-26 23:34:06,461 - INFO - duration: 0.943818743005977
MAIN: 2026-10-26 23:35:05,882 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 23:35:06,639 - INFO - taking picture
MAIN: 2026-10-26 23:35:06,639 - INFO - we take 1025 photos in this while loop
MAIN: 2026-10-26 23:35:06,639 - INFO - /home/pi/Desktop/images/26102026/23/34/image_26102026_23_35_05_60056.jpg
MAIN: 2026-10-26 23:35:06,640 - INFO - duration: 1.0659191630111309
MAIN: 2026-10-26 23:36:05,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-10-26 23:36:06,668 - INFO - taking picture
MAIN: 2026-10-26 23:36:06,668 - INFO - we take 1026 photos in this while loop
MAIN: 2026-10-26 23:36:06,668 - INFO - /home/pi/Desktop/images/26102026/23/35/image_26102026_23_36_05_60135.jpg
MAIN: 2026-10-26 23:36:06,668 - INFO - duration: 0.9595307970012072
MAIN: 2026-10-26 23:37: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-10-26 23:37:06,661 - INFO - taking picture
MAIN: 2026-10-26 23:37:06,662 - INFO - we take 1027 photos in this while loop
MAIN: 2026-10-26 23:37:06,662 - INFO - /home/pi/Desktop/images/26102026/23/36/image_26102026_23_37_05_59887.jpg
MAIN: 2026-10-26 23:37:06,662 - INFO - duration: 1.06529218700598
MAIN: 2026-10-26 23:38: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-10-26 23:38:06,653 - INFO - taking picture
MAIN: 2026-10-26 23:38:06,654 - INFO - we take 1028 photos in this while loop
MAIN: 2026-10-26 23:38:06,654 - INFO - /home/pi/Desktop/images/26102026/23/37/image_26102026_23_38_05_60094.jpg
MAIN: 2026-10-26 23:38:06,654 - INFO - duration: 0.963263655998162
MAIN: 2026-10-26 23:39:05,838 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 23:39:06,520 - INFO - taking picture
MAIN: 2026-10-26 23:39:06,520 - INFO - we take 1029 photos in this while loop
MAIN: 2026-10-26 23:39:06,520 - INFO - /home/pi/Desktop/images/26102026/23/38/image_26102026_23_39_05_59860.jpg
MAIN: 2026-10-26 23:39:06,520 - INFO - duration: 0.9687371839972911
MAIN: 2026-10-26 23:40:05,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-10-26 23:40:06,604 - INFO - taking picture
MAIN: 2026-10-26 23:40:06,604 - INFO - we take 1030 photos in this while loop
MAIN: 2026-10-26 23:40:06,604 - INFO - /home/pi/Desktop/images/26102026/23/39/image_26102026_23_40_05_60086.jpg
MAIN: 2026-10-26 23:40:06,604 - INFO - duration: 0.9664067389967386
MAIN: 2026-10-26 23:41: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-10-26 23:41:06,451 - INFO - taking picture
MAIN: 2026-10-26 23:41:06,451 - INFO - we take 1031 photos in this while loop
MAIN: 2026-10-26 23:41:06,451 - INFO - /home/pi/Desktop/images/26102026/23/40/image_26102026_23_41_05_59871.jpg
MAIN: 2026-10-26 23:41:06,451 - INFO - duration: 0.9420958759874338
MAIN: 2026-10-26 23:42: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-10-26 23:42:06,472 - INFO - taking picture
MAIN: 2026-10-26 23:42:06,473 - INFO - we take 1032 photos in this while loop
MAIN: 2026-10-26 23:42:06,473 - INFO - /home/pi/Desktop/images/26102026/23/41/image_26102026_23_42_05_60001.jpg
MAIN: 2026-10-26 23:42:06,473 - INFO - duration: 0.9624631680053426
MAIN: 2026-10-26 23:43:05,829 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 23:43:06,588 - INFO - taking picture
MAIN: 2026-10-26 23:43:06,588 - INFO - we take 1033 photos in this while loop
MAIN: 2026-10-26 23:43:06,588 - INFO - /home/pi/Desktop/images/26102026/23/42/image_26102026_23_43_05_60022.jpg
MAIN: 2026-10-26 23:43:06,588 - INFO - duration: 1.05572278299951
MAIN: 2026-10-26 23:44: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-10-26 23:44:05,755 - INFO - taking picture
MAIN: 2026-10-26 23:44:05,755 - INFO - we take 1034 photos in this while loop
MAIN: 2026-10-26 23:44:05,755 - INFO - /home/pi/Desktop/images/26102026/23/43/image_26102026_23_44_05_59245.jpg
MAIN: 2026-10-26 23:44:05,755 - INFO - duration: 0.9768857899907744
MAIN: 2026-10-26 23:45:04,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-10-26 23:45:05,660 - INFO - taking picture
MAIN: 2026-10-26 23:45:05,660 - INFO - we take 1035 photos in this while loop
MAIN: 2026-10-26 23:45:05,660 - INFO - /home/pi/Desktop/images/26102026/23/44/image_26102026_23_45_04_59903.jpg
MAIN: 2026-10-26 23:45:05,660 - INFO - duration: 0.9785504269966623
MAIN: 2026-10-26 23:46: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-10-26 23:46:05,618 - INFO - taking picture
MAIN: 2026-10-26 23:46:05,618 - INFO - we take 1036 photos in this while loop
MAIN: 2026-10-26 23:46:05,618 - INFO - /home/pi/Desktop/images/26102026/23/45/image_26102026_23_46_04_59969.jpg
MAIN: 2026-10-26 23:46:05,618 - INFO - duration: 0.9673591610044241
MAIN: 2026-10-26 23:47: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-10-26 23:47:06,624 - INFO - taking picture
MAIN: 2026-10-26 23:47:06,624 - INFO - we take 1037 photos in this while loop
MAIN: 2026-10-26 23:47:06,624 - INFO - /home/pi/Desktop/images/26102026/23/46/image_26102026_23_47_05_61029.jpg
MAIN: 2026-10-26 23:47:06,624 - INFO - duration: 0.943674859998282
MAIN: 2026-10-26 23:48: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-10-26 23:48:06,590 - INFO - taking picture
MAIN: 2026-10-26 23:48:06,590 - INFO - we take 1038 photos in this while loop
MAIN: 2026-10-26 23:48:06,590 - INFO - /home/pi/Desktop/images/26102026/23/47/image_26102026_23_48_05_59960.jpg
MAIN: 2026-10-26 23:48:06,590 - INFO - duration: 0.9491901770088589
MAIN: 2026-10-26 23:49:05,836 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 23:49:06,521 - INFO - taking picture
MAIN: 2026-10-26 23:49:06,521 - INFO - we take 1039 photos in this while loop
MAIN: 2026-10-26 23:49:06,522 - INFO - /home/pi/Desktop/images/26102026/23/48/image_26102026_23_49_05_59927.jpg
MAIN: 2026-10-26 23:49:06,522 - INFO - duration: 0.9534212089929497
MAIN: 2026-10-26 23:50: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-10-26 23:50:06,680 - INFO - taking picture
MAIN: 2026-10-26 23:50:06,680 - INFO - we take 1040 photos in this while loop
MAIN: 2026-10-26 23:50:06,680 - INFO - /home/pi/Desktop/images/26102026/23/49/image_26102026_23_50_05_60158.jpg
MAIN: 2026-10-26 23:50:06,681 - INFO - duration: 0.9540551690006396
MAIN: 2026-10-26 23:51:05,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-10-26 23:51:06,717 - INFO - taking picture
MAIN: 2026-10-26 23:51:06,717 - INFO - we take 1041 photos in this while loop
MAIN: 2026-10-26 23:51:06,717 - INFO - /home/pi/Desktop/images/26102026/23/50/image_26102026_23_51_05_59981.jpg
MAIN: 2026-10-26 23:51:06,717 - INFO - duration: 1.0091204630007269
MAIN: 2026-10-26 23:52: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-10-26 23:52:05,743 - INFO - taking picture
MAIN: 2026-10-26 23:52:05,743 - INFO - we take 1042 photos in this while loop
MAIN: 2026-10-26 23:52:05,743 - INFO - /home/pi/Desktop/images/26102026/23/51/image_26102026_23_52_05_59042.jpg
MAIN: 2026-10-26 23:52:05,743 - INFO - duration: 0.9928736809961265
MAIN: 2026-10-26 23:53:06,079 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 23:53:06,760 - INFO - taking picture
MAIN: 2026-10-26 23:53:06,760 - INFO - we take 1043 photos in this while loop
MAIN: 2026-10-26 23:53:06,760 - INFO - /home/pi/Desktop/images/26102026/23/52/image_26102026_23_53_06_61042.jpg
MAIN: 2026-10-26 23:53:06,760 - INFO - duration: 0.9678455730027054
MAIN: 2026-10-26 23:54:06,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-10-26 23:54:06,688 - INFO - taking picture
MAIN: 2026-10-26 23:54:06,688 - INFO - we take 1044 photos in this while loop
MAIN: 2026-10-26 23:54:06,688 - INFO - /home/pi/Desktop/images/26102026/23/53/image_26102026_23_54_06_59932.jpg
MAIN: 2026-10-26 23:54:06,688 - INFO - duration: 0.9630914060107898
MAIN: 2026-10-26 23:55: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-10-26 23:55:06,660 - INFO - taking picture
MAIN: 2026-10-26 23:55:06,661 - INFO - we take 1045 photos in this while loop
MAIN: 2026-10-26 23:55:06,661 - INFO - /home/pi/Desktop/images/26102026/23/54/image_26102026_23_55_05_59972.jpg
MAIN: 2026-10-26 23:55:06,661 - INFO - duration: 0.9626202740037115
MAIN: 2026-10-26 23:56:05,865 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 23:56:06,553 - INFO - taking picture
MAIN: 2026-10-26 23:56:06,554 - INFO - we take 1046 photos in this while loop
MAIN: 2026-10-26 23:56:06,554 - INFO - /home/pi/Desktop/images/26102026/23/55/image_26102026_23_56_05_59908.jpg
MAIN: 2026-10-26 23:56:06,554 - INFO - duration: 0.9474106450070394
MAIN: 2026-10-26 23:57:05,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-10-26 23:57:06,646 - INFO - taking picture
MAIN: 2026-10-26 23:57:06,647 - INFO - we take 1047 photos in this while loop
MAIN: 2026-10-26 23:57:06,647 - INFO - /home/pi/Desktop/images/26102026/23/56/image_26102026_23_57_05_59978.jpg
MAIN: 2026-10-26 23:57:06,647 - INFO - duration: 1.062402886003838
MAIN: 2026-10-26 23:58:05,121 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 23:58:05,804 - INFO - taking picture
MAIN: 2026-10-26 23:58:05,804 - INFO - we take 1048 photos in this while loop
MAIN: 2026-10-26 23:58:05,805 - INFO - /home/pi/Desktop/images/26102026/23/57/image_26102026_23_58_05_59263.jpg
MAIN: 2026-10-26 23:58:05,805 - INFO - duration: 0.9568679119984154
MAIN: 2026-10-26 23:59:06,074 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

MAIN: 2026-10-26 23:59:06,756 - INFO - taking picture
MAIN: 2026-10-26 23:59:06,757 - INFO - we take 1049 photos in this while loop
MAIN: 2026-10-26 23:59:06,757 - INFO - /home/pi/Desktop/images/26102026/23/58/image_26102026_23_59_06_60959.jpg
MAIN: 2026-10-26 23:59:06,757 - INFO - duration: 0.9493976560042938
