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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

MAIN: 2026-10-19 07:15:06,725 - INFO - taking picture
MAIN: 2026-10-19 07:15:06,725 - INFO - we take 45 photos in this while loop
MAIN: 2026-10-19 07:15:06,725 - INFO - /home/pi/Desktop/images/19102026/07/14/image_19102026_07_15_06_60343.jpg
MAIN: 2026-10-19 07:15:06,725 - INFO - duration: 0.9425809879994631
MAIN: 2026-10-19 07:15:06,725 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 07:16: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-19 07:16: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-19 07:16:06,832 - INFO - taking picture
MAIN: 2026-10-19 07:16:06,832 - INFO - we take 46 photos in this while loop
MAIN: 2026-10-19 07:16:06,832 - INFO - /home/pi/Desktop/images/19102026/07/15/image_19102026_07_16_06_60090.jpg
MAIN: 2026-10-19 07:16:06,833 - INFO - duration: 0.9594450510012393
MAIN: 2026-10-19 07:16:06,833 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 07:17: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-19 07:17: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-19 07:17:05,835 - INFO - taking picture
MAIN: 2026-10-19 07:17:05,835 - INFO - we take 47 photos in this while loop
MAIN: 2026-10-19 07:17:05,836 - INFO - /home/pi/Desktop/images/19102026/07/16/image_19102026_07_17_05_58890.jpg
MAIN: 2026-10-19 07:17:05,836 - INFO - duration: 1.0717579110005317
MAIN: 2026-10-19 07:17:05,836 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 07:18: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-19 07:18:05,585 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 07:18:05,938 - INFO - taking picture
MAIN: 2026-10-19 07:18:05,938 - INFO - we take 48 photos in this while loop
MAIN: 2026-10-19 07:18:05,938 - INFO - /home/pi/Desktop/images/19102026/07/17/image_19102026_07_18_05_60174.jpg
MAIN: 2026-10-19 07:18:05,938 - INFO - duration: 0.9998819730008108
MAIN: 2026-10-19 07:18:05,938 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 07:19: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

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

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

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

MAIN: 2026-10-19 07:27:06,251 - INFO - taking picture
MAIN: 2026-10-19 07:27:06,252 - INFO - we take 57 photos in this while loop
MAIN: 2026-10-19 07:27:06,252 - INFO - /home/pi/Desktop/images/19102026/07/26/image_19102026_07_27_05_60140.jpg
MAIN: 2026-10-19 07:27:06,252 - INFO - duration: 0.9371041539998259
MAIN: 2026-10-19 07:27:06,252 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 07:28:05,160 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 07:28: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-19 07:28:06,415 - INFO - taking picture
MAIN: 2026-10-19 07:28:06,416 - INFO - we take 58 photos in this while loop
MAIN: 2026-10-19 07:28:06,416 - INFO - /home/pi/Desktop/images/19102026/07/27/image_19102026_07_28_05_60099.jpg
MAIN: 2026-10-19 07:28:06,416 - INFO - duration: 1.0021091099988553
MAIN: 2026-10-19 07:28:06,416 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 07:29:05,200 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 07:29:06,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-19 07:29:06,737 - INFO - taking picture
MAIN: 2026-10-19 07:29:06,737 - INFO - we take 59 photos in this while loop
MAIN: 2026-10-19 07:29:06,737 - INFO - /home/pi/Desktop/images/19102026/07/28/image_19102026_07_29_06_60380.jpg
MAIN: 2026-10-19 07:29:06,737 - INFO - duration: 0.942727253999692
MAIN: 2026-10-19 07:29:06,738 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 07:30:05,831 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 07:30:06,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-19 07:30:06,805 - INFO - taking picture
MAIN: 2026-10-19 07:30:06,805 - INFO - we take 60 photos in this while loop
MAIN: 2026-10-19 07:30:06,805 - INFO - /home/pi/Desktop/images/19102026/07/29/image_19102026_07_30_06_60077.jpg
MAIN: 2026-10-19 07:30:06,805 - INFO - duration: 0.9334822340006212
MAIN: 2026-10-19 07:30:06,806 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/07/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-19 07:31: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-19 07:31:06,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-19 07:31:06,744 - INFO - taking picture
MAIN: 2026-10-19 07:31:06,745 - INFO - we take 61 photos in this while loop
MAIN: 2026-10-19 07:31:06,745 - INFO - /home/pi/Desktop/images/19102026/07/30/image_19102026_07_31_06_59925.jpg
MAIN: 2026-10-19 07:31:06,745 - INFO - duration: 0.9480662449986994
MAIN: 2026-10-19 07:31:06,745 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 07:32:05,712 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 07:32: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-19 07:32:06,681 - INFO - taking picture
MAIN: 2026-10-19 07:32:06,681 - INFO - we take 62 photos in this while loop
MAIN: 2026-10-19 07:32:06,681 - INFO - /home/pi/Desktop/images/19102026/07/31/image_19102026_07_32_06_59947.jpg
MAIN: 2026-10-19 07:32:06,682 - INFO - duration: 0.9375475880005979
MAIN: 2026-10-19 07:32:06,682 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 07:33:04,669 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 07:33: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-19 07:33:06,653 - INFO - taking picture
MAIN: 2026-10-19 07:33:06,654 - INFO - we take 63 photos in this while loop
MAIN: 2026-10-19 07:33:06,654 - INFO - /home/pi/Desktop/images/19102026/07/32/image_19102026_07_33_05_59888.jpg
MAIN: 2026-10-19 07:33:06,654 - INFO - duration: 1.0217707740011974
MAIN: 2026-10-19 07:33:06,654 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 07:34: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-19 07:34:06,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-19 07:34:06,760 - INFO - taking picture
MAIN: 2026-10-19 07:34:06,760 - INFO - we take 64 photos in this while loop
MAIN: 2026-10-19 07:34:06,760 - INFO - /home/pi/Desktop/images/19102026/07/33/image_19102026_07_34_06_60186.jpg
MAIN: 2026-10-19 07:34:06,760 - INFO - duration: 0.9417175200014753
MAIN: 2026-10-19 07:34:06,761 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 07:35:05,355 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 07:35:06,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-19 07:35:06,760 - INFO - taking picture
MAIN: 2026-10-19 07:35:06,761 - INFO - we take 65 photos in this while loop
MAIN: 2026-10-19 07:35:06,761 - INFO - /home/pi/Desktop/images/19102026/07/34/image_19102026_07_35_06_59979.jpg
MAIN: 2026-10-19 07:35:06,761 - INFO - duration: 0.962721246000001
MAIN: 2026-10-19 07:35:06,761 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 07:36:05,000 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

MAIN: 2026-10-19 10:11:06,223 - INFO - taking picture
MAIN: 2026-10-19 10:11:06,223 - INFO - we take 221 photos in this while loop
MAIN: 2026-10-19 10:11:06,223 - INFO - /home/pi/Desktop/images/19102026/10/10/image_19102026_10_11_05_59891.jpg
MAIN: 2026-10-19 10:11:06,223 - INFO - duration: 1.0066276600009587
MAIN: 2026-10-19 10:11:06,224 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 10:12: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-19 10:12:06,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-19 10:12:06,950 - INFO - taking picture
MAIN: 2026-10-19 10:12:06,950 - INFO - we take 222 photos in this while loop
MAIN: 2026-10-19 10:12:06,951 - INFO - /home/pi/Desktop/images/19102026/10/11/image_19102026_10_12_06_60733.jpg
MAIN: 2026-10-19 10:12:06,951 - INFO - duration: 1.0000739890019759
MAIN: 2026-10-19 10:12:06,951 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 10:13:05,095 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 10:13: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-19 10:13:06,376 - INFO - taking picture
MAIN: 2026-10-19 10:13:06,376 - INFO - we take 223 photos in this while loop
MAIN: 2026-10-19 10:13:06,376 - INFO - /home/pi/Desktop/images/19102026/10/12/image_19102026_10_13_05_59443.jpg
MAIN: 2026-10-19 10:13:06,376 - INFO - duration: 0.9822998070012545
MAIN: 2026-10-19 10:13:06,376 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 10:14: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-19 10:14: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-19 10:14:05,924 - INFO - taking picture
MAIN: 2026-10-19 10:14:05,924 - INFO - we take 224 photos in this while loop
MAIN: 2026-10-19 10:14:05,924 - INFO - /home/pi/Desktop/images/19102026/10/13/image_19102026_10_14_05_59519.jpg
MAIN: 2026-10-19 10:14:05,924 - INFO - duration: 1.0112298560015915
MAIN: 2026-10-19 10:14:05,925 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 10:15: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-19 10:15: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-19 10:15:06,881 - INFO - taking picture
MAIN: 2026-10-19 10:15:06,881 - INFO - we take 225 photos in this while loop
MAIN: 2026-10-19 10:15:06,881 - INFO - /home/pi/Desktop/images/19102026/10/14/image_19102026_10_15_06_61027.jpg
MAIN: 2026-10-19 10:15:06,881 - INFO - duration: 0.940675881000061
MAIN: 2026-10-19 10:15:06,882 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 10:16: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-19 10:16:05,640 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 10:16:06,342 - INFO - taking picture
MAIN: 2026-10-19 10:16:06,342 - INFO - we take 226 photos in this while loop
MAIN: 2026-10-19 10:16:06,342 - INFO - /home/pi/Desktop/images/19102026/10/15/image_19102026_10_16_05_59353.jpg
MAIN: 2026-10-19 10:16:06,343 - INFO - duration: 1.0488696089996665
MAIN: 2026-10-19 10:16:06,343 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 10:17:04,808 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 10:17:06,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-19 10:17:06,794 - INFO - taking picture
MAIN: 2026-10-19 10:17:06,795 - INFO - we take 227 photos in this while loop
MAIN: 2026-10-19 10:17:06,795 - INFO - /home/pi/Desktop/images/19102026/10/16/image_19102026_10_17_06_60507.jpg
MAIN: 2026-10-19 10:17:06,795 - INFO - duration: 0.9933935410008417
MAIN: 2026-10-19 10:17:06,795 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 10:18:05,116 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 10:18: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-19 10:18:06,127 - INFO - taking picture
MAIN: 2026-10-19 10:18:06,127 - INFO - we take 228 photos in this while loop
MAIN: 2026-10-19 10:18:06,127 - INFO - /home/pi/Desktop/images/19102026/10/17/image_19102026_10_18_05_59384.jpg
MAIN: 2026-10-19 10:18:06,127 - INFO - duration: 0.9410632990002341
MAIN: 2026-10-19 10:18:06,128 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 10:19:05,020 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 10:19: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-19 10:19:06,008 - INFO - taking picture
MAIN: 2026-10-19 10:19:06,008 - INFO - we take 229 photos in this while loop
MAIN: 2026-10-19 10:19:06,008 - INFO - /home/pi/Desktop/images/19102026/10/18/image_19102026_10_19_05_59776.jpg
MAIN: 2026-10-19 10:19:06,008 - INFO - duration: 1.044802205000451
MAIN: 2026-10-19 10:19:06,008 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 10:20: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-19 10:20: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-19 10:20:06,172 - INFO - taking picture
MAIN: 2026-10-19 10:20:06,172 - INFO - we take 230 photos in this while loop
MAIN: 2026-10-19 10:20:06,173 - INFO - /home/pi/Desktop/images/19102026/10/19/image_19102026_10_20_05_60181.jpg
MAIN: 2026-10-19 10:20:06,173 - INFO - duration: 1.0278413179985364
MAIN: 2026-10-19 10:20:06,173 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/10/20'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-19 10:21: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-19 10:21:05,228 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 10:21:05,887 - INFO - taking picture
MAIN: 2026-10-19 10:21:05,887 - INFO - we take 231 photos in this while loop
MAIN: 2026-10-19 10:21:05,887 - INFO - /home/pi/Desktop/images/19102026/10/20/image_19102026_10_21_05_59778.jpg
MAIN: 2026-10-19 10:21:05,887 - INFO - duration: 0.9635099260012794
MAIN: 2026-10-19 10:21:05,887 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 10:22: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-19 10:22:05,764 - INFO - taking picture
MAIN: 2026-10-19 10:22:05,764 - INFO - we take 232 photos in this while loop
MAIN: 2026-10-19 10:22:05,764 - INFO - /home/pi/Desktop/images/19102026/10/21/image_19102026_10_22_05_59915.jpg
MAIN: 2026-10-19 10:22:05,764 - INFO - duration: 0.9251549150030769
MAIN: 2026-10-19 10:22:05,765 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/10/22'
MAIN: 2026-10-19 10:22: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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-19 10:23: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-19 10:23: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-19 10:23:06,774 - INFO - taking picture
MAIN: 2026-10-19 10:23:06,775 - INFO - we take 233 photos in this while loop
MAIN: 2026-10-19 10:23:06,775 - INFO - /home/pi/Desktop/images/19102026/10/22/image_19102026_10_23_06_61037.jpg
MAIN: 2026-10-19 10:23:06,775 - INFO - duration: 0.8981550089993107
MAIN: 2026-10-19 10:23:06,775 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 10:24: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-19 10:24: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-19 10:24:06,701 - INFO - taking picture
MAIN: 2026-10-19 10:24:06,701 - INFO - we take 234 photos in this while loop
MAIN: 2026-10-19 10:24:06,701 - INFO - /home/pi/Desktop/images/19102026/10/23/image_19102026_10_24_06_59869.jpg
MAIN: 2026-10-19 10:24:06,701 - INFO - duration: 0.9552883239994117
MAIN: 2026-10-19 10:24:06,702 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 10: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-19 10:25:06,113 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

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

MAIN: 2026-10-19 10:27:06,933 - INFO - taking picture
MAIN: 2026-10-19 10:27:06,933 - INFO - we take 237 photos in this while loop
MAIN: 2026-10-19 10:27:06,933 - INFO - /home/pi/Desktop/images/19102026/10/26/image_19102026_10_27_06_60083.jpg
MAIN: 2026-10-19 10:27:06,934 - INFO - duration: 0.9767020869985572
MAIN: 2026-10-19 10:27:06,934 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/10/27'
MAIN: 2026-10-19 10:28: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

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

MAIN: 2026-10-19 10:32: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-19 10:32:05,842 - INFO - taking picture
MAIN: 2026-10-19 10:32:05,843 - INFO - we take 242 photos in this while loop
MAIN: 2026-10-19 10:32:05,843 - INFO - /home/pi/Desktop/images/19102026/10/31/image_19102026_10_32_05_60006.jpg
MAIN: 2026-10-19 10:32:05,843 - INFO - duration: 1.027371773001505
MAIN: 2026-10-19 10:32:05,843 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 10:33: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-19 10:33: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-19 10:33:05,703 - INFO - taking picture
MAIN: 2026-10-19 10:33:05,704 - INFO - we take 243 photos in this while loop
MAIN: 2026-10-19 10:33:05,704 - INFO - /home/pi/Desktop/images/19102026/10/32/image_19102026_10_33_05_59933.jpg
MAIN: 2026-10-19 10:33:05,704 - INFO - duration: 0.9553528350006673
MAIN: 2026-10-19 10:33:05,704 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 10:34:04,923 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 10:34:06,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-19 10:34:06,962 - INFO - taking picture
MAIN: 2026-10-19 10:34:06,962 - INFO - we take 244 photos in this while loop
MAIN: 2026-10-19 10:34:06,962 - INFO - /home/pi/Desktop/images/19102026/10/33/image_19102026_10_34_06_61175.jpg
MAIN: 2026-10-19 10:34:06,962 - INFO - duration: 1.0380502709995199
MAIN: 2026-10-19 10:34:06,962 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 10:35:05,045 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 10:35: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-19 10:35:06,288 - INFO - taking picture
MAIN: 2026-10-19 10:35:06,288 - INFO - we take 245 photos in this while loop
MAIN: 2026-10-19 10:35:06,288 - INFO - /home/pi/Desktop/images/19102026/10/34/image_19102026_10_35_05_59329.jpg
MAIN: 2026-10-19 10:35:06,289 - INFO - duration: 1.0347779699986859
MAIN: 2026-10-19 10:35:06,289 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 10:36: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-19 10:36:06,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-19 10:36:06,857 - INFO - taking picture
MAIN: 2026-10-19 10:36:06,857 - INFO - we take 246 photos in this while loop
MAIN: 2026-10-19 10:36:06,857 - INFO - /home/pi/Desktop/images/19102026/10/35/image_19102026_10_36_06_60653.jpg
MAIN: 2026-10-19 10:36:06,857 - INFO - duration: 0.9500146749996929
MAIN: 2026-10-19 10:36:06,858 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 10:37:04,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-19 10:37:05,046 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 10:37:05,764 - INFO - taking picture
MAIN: 2026-10-19 10:37:05,764 - INFO - we take 247 photos in this while loop
MAIN: 2026-10-19 10:37:05,764 - INFO - /home/pi/Desktop/images/19102026/10/36/image_19102026_10_37_04_58828.jpg
MAIN: 2026-10-19 10:37:05,764 - INFO - duration: 1.0282845639994775
MAIN: 2026-10-19 10:37:05,764 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 10:38: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-19 10:38: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-19 10:38:06,027 - INFO - taking picture
MAIN: 2026-10-19 10:38:06,028 - INFO - we take 248 photos in this while loop
MAIN: 2026-10-19 10:38:06,028 - INFO - /home/pi/Desktop/images/19102026/10/37/image_19102026_10_38_05_60340.jpg
MAIN: 2026-10-19 10:38:06,028 - INFO - duration: 0.9514029970014235
MAIN: 2026-10-19 10:38:06,028 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 10:39: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-19 10:39: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-19 10:39:06,137 - INFO - taking picture
MAIN: 2026-10-19 10:39:06,138 - INFO - we take 249 photos in this while loop
MAIN: 2026-10-19 10:39:06,138 - INFO - /home/pi/Desktop/images/19102026/10/38/image_19102026_10_39_05_60051.jpg
MAIN: 2026-10-19 10:39:06,138 - INFO - duration: 1.0092967469972791
MAIN: 2026-10-19 10:39:06,138 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 10:40: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-19 10:40:05,972 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 10:40:06,420 - INFO - taking picture
MAIN: 2026-10-19 10:40:06,420 - INFO - we take 250 photos in this while loop
MAIN: 2026-10-19 10:40:06,420 - INFO - /home/pi/Desktop/images/19102026/10/39/image_19102026_10_40_05_60316.jpg
MAIN: 2026-10-19 10:40:06,420 - INFO - duration: 0.9757576459996926
MAIN: 2026-10-19 10:40:06,421 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/10/40'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-19 10:41:04,720 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 10:41: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-19 10:41:06,455 - INFO - taking picture
MAIN: 2026-10-19 10:41:06,455 - INFO - we take 251 photos in this while loop
MAIN: 2026-10-19 10:41:06,456 - INFO - /home/pi/Desktop/images/19102026/10/40/image_19102026_10_41_05_60053.jpg
MAIN: 2026-10-19 10:41:06,456 - INFO - duration: 0.9574465499972575
MAIN: 2026-10-19 10:41:06,456 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 10:42: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-19 10:42:05,817 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

MAIN: 2026-10-19 12:45:06,404 - INFO - taking picture
MAIN: 2026-10-19 12:45:06,404 - INFO - we take 375 photos in this while loop
MAIN: 2026-10-19 12:45:06,404 - INFO - /home/pi/Desktop/images/19102026/12/44/image_19102026_12_45_05_60093.jpg
MAIN: 2026-10-19 12:45:06,405 - INFO - duration: 0.969929956998385
MAIN: 2026-10-19 12:45:06,405 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 12:46:05,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-19 12:46: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-19 12:46:06,706 - INFO - taking picture
MAIN: 2026-10-19 12:46:06,707 - INFO - we take 376 photos in this while loop
MAIN: 2026-10-19 12:46:06,707 - INFO - /home/pi/Desktop/images/19102026/12/45/image_19102026_12_46_06_60326.jpg
MAIN: 2026-10-19 12:46:06,707 - INFO - duration: 0.9452842509999755
MAIN: 2026-10-19 12:46:06,707 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 12:47:04,614 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 12:47: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-19 12:47:06,530 - INFO - taking picture
MAIN: 2026-10-19 12:47:06,531 - INFO - we take 377 photos in this while loop
MAIN: 2026-10-19 12:47:06,531 - INFO - /home/pi/Desktop/images/19102026/12/46/image_19102026_12_47_05_59800.jpg
MAIN: 2026-10-19 12:47:06,531 - INFO - duration: 0.9688494200017885
MAIN: 2026-10-19 12:47:06,531 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 12:48:04,975 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 12:48: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-19 12:48:06,599 - INFO - taking picture
MAIN: 2026-10-19 12:48:06,599 - INFO - we take 378 photos in this while loop
MAIN: 2026-10-19 12:48:06,599 - INFO - /home/pi/Desktop/images/19102026/12/47/image_19102026_12_48_05_60080.jpg
MAIN: 2026-10-19 12:48:06,599 - INFO - duration: 0.9572306709997065
MAIN: 2026-10-19 12:48:06,600 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 12:49: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-19 12:49: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-19 12:49:06,688 - INFO - taking picture
MAIN: 2026-10-19 12:49:06,689 - INFO - we take 379 photos in this while loop
MAIN: 2026-10-19 12:49:06,689 - INFO - /home/pi/Desktop/images/19102026/12/48/image_19102026_12_49_05_60077.jpg
MAIN: 2026-10-19 12:49:06,689 - INFO - duration: 0.9690324510011123
MAIN: 2026-10-19 12:49:06,689 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 12:50: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-19 12:50:05,585 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 12:50:05,755 - INFO - taking picture
MAIN: 2026-10-19 12:50:05,755 - INFO - we take 380 photos in this while loop
MAIN: 2026-10-19 12:50:05,756 - INFO - /home/pi/Desktop/images/19102026/12/49/image_19102026_12_50_05_59043.jpg
MAIN: 2026-10-19 12:50:05,756 - INFO - duration: 0.9924821630011138
MAIN: 2026-10-19 12:50:05,756 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/12/50'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-19 12:51: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-19 12:51: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-19 12:51:05,832 - INFO - taking picture
MAIN: 2026-10-19 12:51:05,832 - INFO - we take 381 photos in this while loop
MAIN: 2026-10-19 12:51:05,832 - INFO - /home/pi/Desktop/images/19102026/12/50/image_19102026_12_51_05_60101.jpg
MAIN: 2026-10-19 12:51:05,832 - INFO - duration: 0.9675555899993924
MAIN: 2026-10-19 12:51:05,832 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 12:52: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-19 12:52:05,723 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 12:52:05,786 - INFO - taking picture
MAIN: 2026-10-19 12:52:05,786 - INFO - we take 382 photos in this while loop
MAIN: 2026-10-19 12:52:05,787 - INFO - /home/pi/Desktop/images/19102026/12/51/image_19102026_12_52_05_59959.jpg
MAIN: 2026-10-19 12:52:05,787 - INFO - duration: 0.9630036979979195
MAIN: 2026-10-19 12:52:05,787 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 12:53: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-19 12:53:06,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-19 12:53:06,902 - INFO - taking picture
MAIN: 2026-10-19 12:53:06,902 - INFO - we take 383 photos in this while loop
MAIN: 2026-10-19 12:53:06,902 - INFO - /home/pi/Desktop/images/19102026/12/52/image_19102026_12_53_06_61111.jpg
MAIN: 2026-10-19 12:53:06,902 - INFO - duration: 0.9674513440004375
MAIN: 2026-10-19 12:53:06,903 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 12:54:04,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 ! 
MAIN: 2026-10-19 12:54: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-19 12:54:05,732 - INFO - taking picture
MAIN: 2026-10-19 12:54:05,732 - INFO - we take 384 photos in this while loop
MAIN: 2026-10-19 12:54:05,732 - INFO - /home/pi/Desktop/images/19102026/12/53/image_19102026_12_54_05_58887.jpg
MAIN: 2026-10-19 12:54:05,732 - INFO - duration: 0.9102917790005449
MAIN: 2026-10-19 12:54:05,733 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 12:55: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-19 12:55:06,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-19 12:55:06,756 - INFO - taking picture
MAIN: 2026-10-19 12:55:06,757 - INFO - we take 385 photos in this while loop
MAIN: 2026-10-19 12:55:06,757 - INFO - /home/pi/Desktop/images/19102026/12/54/image_19102026_12_55_06_60966.jpg
MAIN: 2026-10-19 12:55:06,757 - INFO - duration: 0.9680184639983054
MAIN: 2026-10-19 12:55:06,757 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 12:56: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-19 12:56:06,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-19 12:56:07,005 - INFO - taking picture
MAIN: 2026-10-19 12:56:07,005 - INFO - we take 386 photos in this while loop
MAIN: 2026-10-19 12:56:07,005 - INFO - /home/pi/Desktop/images/19102026/12/55/image_19102026_12_56_06_60145.jpg
MAIN: 2026-10-19 12:56:07,006 - INFO - duration: 1.0714766199998849
MAIN: 2026-10-19 12:56:07,006 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 12:57:05,031 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 12:57:06,179 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

MAIN: 2026-10-19 13:37:06,702 - INFO - taking picture
MAIN: 2026-10-19 13:37:06,702 - INFO - we take 427 photos in this while loop
MAIN: 2026-10-19 13:37:06,703 - INFO - /home/pi/Desktop/images/19102026/13/36/image_19102026_13_37_05_59938.jpg
MAIN: 2026-10-19 13:37:06,703 - INFO - duration: 1.001772716997948
MAIN: 2026-10-19 13:37:06,703 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 13:38: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-19 13:38:05,716 - INFO - taking picture
MAIN: 2026-10-19 13:38:05,716 - INFO - we take 428 photos in this while loop
MAIN: 2026-10-19 13:38:05,716 - INFO - /home/pi/Desktop/images/19102026/13/37/image_19102026_13_38_05_59038.jpg
MAIN: 2026-10-19 13:38:05,716 - INFO - duration: 0.9771110340006999
MAIN: 2026-10-19 13:38:05,717 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/13/38'
MAIN: 2026-10-19 13:38:05,724 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-19 13:39:05,615 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 13:39: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-19 13:39:06,344 - INFO - taking picture
MAIN: 2026-10-19 13:39:06,344 - INFO - we take 429 photos in this while loop
MAIN: 2026-10-19 13:39:06,344 - INFO - /home/pi/Desktop/images/19102026/13/38/image_19102026_13_39_05_60636.jpg
MAIN: 2026-10-19 13:39:06,345 - INFO - duration: 0.9682135059993016
MAIN: 2026-10-19 13:39:06,345 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 13:40: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-19 13:40: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-19 13:40:06,450 - INFO - taking picture
MAIN: 2026-10-19 13:40:06,451 - INFO - we take 430 photos in this while loop
MAIN: 2026-10-19 13:40:06,451 - INFO - /home/pi/Desktop/images/19102026/13/39/image_19102026_13_40_05_60119.jpg
MAIN: 2026-10-19 13:40:06,451 - INFO - duration: 0.9549426490048063
MAIN: 2026-10-19 13:40:06,451 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 13:41: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-19 13:41: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-19 13:41:06,343 - INFO - taking picture
MAIN: 2026-10-19 13:41:06,343 - INFO - we take 431 photos in this while loop
MAIN: 2026-10-19 13:41:06,343 - INFO - /home/pi/Desktop/images/19102026/13/40/image_19102026_13_41_05_59898.jpg
MAIN: 2026-10-19 13:41:06,343 - INFO - duration: 0.9486926190002123
MAIN: 2026-10-19 13:41:06,343 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 13:42: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-19 13:42: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-19 13:42:06,621 - INFO - taking picture
MAIN: 2026-10-19 13:42:06,621 - INFO - we take 432 photos in this while loop
MAIN: 2026-10-19 13:42:06,622 - INFO - /home/pi/Desktop/images/19102026/13/41/image_19102026_13_42_05_60189.jpg
MAIN: 2026-10-19 13:42:06,622 - INFO - duration: 1.037240801997541
MAIN: 2026-10-19 13:42:06,622 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 13:43:05,211 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 13:43: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-19 13:43:06,516 - INFO - taking picture
MAIN: 2026-10-19 13:43:06,517 - INFO - we take 433 photos in this while loop
MAIN: 2026-10-19 13:43:06,517 - INFO - /home/pi/Desktop/images/19102026/13/42/image_19102026_13_43_05_59989.jpg
MAIN: 2026-10-19 13:43:06,517 - INFO - duration: 0.9426698300012504
MAIN: 2026-10-19 13:43:06,517 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 13:44: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-19 13:44:05,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-19 13:44:06,673 - INFO - taking picture
MAIN: 2026-10-19 13:44:06,673 - INFO - we take 434 photos in this while loop
MAIN: 2026-10-19 13:44:06,673 - INFO - /home/pi/Desktop/images/19102026/13/43/image_19102026_13_44_05_60185.jpg
MAIN: 2026-10-19 13:44:06,673 - INFO - duration: 0.9132511309944675
MAIN: 2026-10-19 13:44:06,674 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 13:45: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-19 13:45:05,745 - INFO - taking picture
MAIN: 2026-10-19 13:45:05,746 - INFO - we take 435 photos in this while loop
MAIN: 2026-10-19 13:45:05,746 - INFO - /home/pi/Desktop/images/19102026/13/44/image_19102026_13_45_05_58994.jpg
MAIN: 2026-10-19 13:45:05,746 - INFO - duration: 0.991065204005281
MAIN: 2026-10-19 13:45:05,746 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/13/45'
MAIN: 2026-10-19 13:45: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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-19 13:46:04,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 ! 
MAIN: 2026-10-19 13:46: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-19 13:46:06,056 - INFO - taking picture
MAIN: 2026-10-19 13:46:06,057 - INFO - we take 436 photos in this while loop
MAIN: 2026-10-19 13:46:06,057 - INFO - /home/pi/Desktop/images/19102026/13/45/image_19102026_13_46_05_60375.jpg
MAIN: 2026-10-19 13:46:06,057 - INFO - duration: 0.9267776510023396
MAIN: 2026-10-19 13:46:06,057 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 13:47:05,009 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 13:47:05,572 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

MAIN: 2026-10-19 14:31:06,753 - INFO - taking picture
MAIN: 2026-10-19 14:31:06,753 - INFO - we take 481 photos in this while loop
MAIN: 2026-10-19 14:31:06,753 - INFO - /home/pi/Desktop/images/19102026/14/30/image_19102026_14_31_06_60073.jpg
MAIN: 2026-10-19 14:31:06,753 - INFO - duration: 0.9778512030025013
MAIN: 2026-10-19 14:31:06,753 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 14:32: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-19 14:32:06,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-19 14:32:06,893 - INFO - taking picture
MAIN: 2026-10-19 14:32:06,894 - INFO - we take 482 photos in this while loop
MAIN: 2026-10-19 14:32:06,894 - INFO - /home/pi/Desktop/images/19102026/14/31/image_19102026_14_32_06_60144.jpg
MAIN: 2026-10-19 14:32:06,894 - INFO - duration: 0.9743270170001779
MAIN: 2026-10-19 14:32:06,894 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 14:33: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-19 14:33: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-19 14:33:05,685 - INFO - taking picture
MAIN: 2026-10-19 14:33:05,686 - INFO - we take 483 photos in this while loop
MAIN: 2026-10-19 14:33:05,686 - INFO - /home/pi/Desktop/images/19102026/14/32/image_19102026_14_33_04_58798.jpg
MAIN: 2026-10-19 14:33:05,686 - INFO - duration: 0.9680083050043322
MAIN: 2026-10-19 14:33:05,686 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 14:34:05,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-19 14:34: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-19 14:34:05,715 - INFO - taking picture
MAIN: 2026-10-19 14:34:05,715 - INFO - we take 484 photos in this while loop
MAIN: 2026-10-19 14:34:05,715 - INFO - /home/pi/Desktop/images/19102026/14/33/image_19102026_14_34_05_60072.jpg
MAIN: 2026-10-19 14:34:05,716 - INFO - duration: 0.9255432060017483
MAIN: 2026-10-19 14:34:05,716 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 14: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-19 14:35: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-19 14:35:05,911 - INFO - taking picture
MAIN: 2026-10-19 14:35:05,912 - INFO - we take 485 photos in this while loop
MAIN: 2026-10-19 14:35:05,912 - INFO - /home/pi/Desktop/images/19102026/14/34/image_19102026_14_35_05_60073.jpg
MAIN: 2026-10-19 14:35:05,912 - INFO - duration: 1.0487882300003548
MAIN: 2026-10-19 14:35:05,912 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 14:36:05,191 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 14:36: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-19 14:36:06,406 - INFO - taking picture
MAIN: 2026-10-19 14:36:06,406 - INFO - we take 486 photos in this while loop
MAIN: 2026-10-19 14:36:06,406 - INFO - /home/pi/Desktop/images/19102026/14/35/image_19102026_14_36_05_60539.jpg
MAIN: 2026-10-19 14:36:06,406 - INFO - duration: 1.004029301002447
MAIN: 2026-10-19 14:36:06,407 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 14:37:04,788 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 14:37: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-19 14:37:06,460 - INFO - taking picture
MAIN: 2026-10-19 14:37:06,460 - INFO - we take 487 photos in this while loop
MAIN: 2026-10-19 14:37:06,460 - INFO - /home/pi/Desktop/images/19102026/14/36/image_19102026_14_37_05_60111.jpg
MAIN: 2026-10-19 14:37:06,460 - INFO - duration: 0.946163438995427
MAIN: 2026-10-19 14:37:06,461 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 14:38:05,284 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 14:38: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-19 14:38:06,514 - INFO - taking picture
MAIN: 2026-10-19 14:38:06,514 - INFO - we take 488 photos in this while loop
MAIN: 2026-10-19 14:38:06,514 - INFO - /home/pi/Desktop/images/19102026/14/37/image_19102026_14_38_05_60052.jpg
MAIN: 2026-10-19 14:38:06,515 - INFO - duration: 0.9474167120060883
MAIN: 2026-10-19 14:38:06,515 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 14:39:05,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 ! 
MAIN: 2026-10-19 14:39: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-19 14:39:06,586 - INFO - taking picture
MAIN: 2026-10-19 14:39:06,586 - INFO - we take 489 photos in this while loop
MAIN: 2026-10-19 14:39:06,586 - INFO - /home/pi/Desktop/images/19102026/14/38/image_19102026_14_39_05_60046.jpg
MAIN: 2026-10-19 14:39:06,586 - INFO - duration: 0.9724464660030208
MAIN: 2026-10-19 14:39:06,586 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 14:40: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-19 14:40:05,812 - INFO - taking picture
MAIN: 2026-10-19 14:40:05,812 - INFO - we take 490 photos in this while loop
MAIN: 2026-10-19 14:40:05,812 - INFO - /home/pi/Desktop/images/19102026/14/39/image_19102026_14_40_05_59208.jpg
MAIN: 2026-10-19 14:40:05,812 - INFO - duration: 0.9893695299979299
MAIN: 2026-10-19 14:40:05,812 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/14/40'
MAIN: 2026-10-19 14:40: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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-19 14:41: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-19 14:41:05,502 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 14:41:05,795 - INFO - taking picture
MAIN: 2026-10-19 14:41:05,796 - INFO - we take 491 photos in this while loop
MAIN: 2026-10-19 14:41:05,796 - INFO - /home/pi/Desktop/images/19102026/14/40/image_19102026_14_41_05_60016.jpg
MAIN: 2026-10-19 14:41:05,796 - INFO - duration: 0.9564991879960871
MAIN: 2026-10-19 14:41:05,796 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 14:42:04,918 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 14:42: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-19 14:42:05,838 - INFO - taking picture
MAIN: 2026-10-19 14:42:05,838 - INFO - we take 492 photos in this while loop
MAIN: 2026-10-19 14:42:05,839 - INFO - /home/pi/Desktop/images/19102026/14/41/image_19102026_14_42_05_60029.jpg
MAIN: 2026-10-19 14:42:05,839 - INFO - duration: 0.9698162159984349
MAIN: 2026-10-19 14:42:05,839 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 14:43:04,915 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 14:43: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-19 14:43:06,398 - INFO - taking picture
MAIN: 2026-10-19 14:43:06,398 - INFO - we take 493 photos in this while loop
MAIN: 2026-10-19 14:43:06,399 - INFO - /home/pi/Desktop/images/19102026/14/42/image_19102026_14_43_05_60570.jpg
MAIN: 2026-10-19 14:43:06,399 - INFO - duration: 0.9594238509962452
MAIN: 2026-10-19 14:43:06,399 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 14:44:05,188 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 14:44: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-19 14:44:06,581 - INFO - taking picture
MAIN: 2026-10-19 14:44:06,582 - INFO - we take 494 photos in this while loop
MAIN: 2026-10-19 14:44:06,582 - INFO - /home/pi/Desktop/images/19102026/14/43/image_19102026_14_44_05_60174.jpg
MAIN: 2026-10-19 14:44:06,582 - INFO - duration: 0.9684299250002368
MAIN: 2026-10-19 14:44:06,582 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 14:45:05,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-19 14:45:06,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-19 14:45:06,812 - INFO - taking picture
MAIN: 2026-10-19 14:45:06,812 - INFO - we take 495 photos in this while loop
MAIN: 2026-10-19 14:45:06,812 - INFO - /home/pi/Desktop/images/19102026/14/44/image_19102026_14_45_06_60232.jpg
MAIN: 2026-10-19 14:45:06,813 - INFO - duration: 0.9666939090020605
MAIN: 2026-10-19 14:45:06,813 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/14/45'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-19 14:46: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-19 14:46:05,825 - INFO - taking picture
MAIN: 2026-10-19 14:46:05,825 - INFO - we take 496 photos in this while loop
MAIN: 2026-10-19 14:46:05,825 - INFO - /home/pi/Desktop/images/19102026/14/45/image_19102026_14_46_05_59041.jpg
MAIN: 2026-10-19 14:46:05,825 - INFO - duration: 0.9382275859970832
MAIN: 2026-10-19 14:46:05,826 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/14/46'
MAIN: 2026-10-19 14:46:05,858 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-19 14:47: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-19 14:47:05,670 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 14:47:05,936 - INFO - taking picture
MAIN: 2026-10-19 14:47:05,936 - INFO - we take 497 photos in this while loop
MAIN: 2026-10-19 14:47:05,936 - INFO - /home/pi/Desktop/images/19102026/14/46/image_19102026_14_47_05_60081.jpg
MAIN: 2026-10-19 14:47:05,937 - INFO - duration: 0.9678903469975921
MAIN: 2026-10-19 14:47:05,937 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 14:48: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-19 14:48: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-19 14:48:06,227 - INFO - taking picture
MAIN: 2026-10-19 14:48:06,228 - INFO - we take 498 photos in this while loop
MAIN: 2026-10-19 14:48:06,228 - INFO - /home/pi/Desktop/images/19102026/14/47/image_19102026_14_48_05_60313.jpg
MAIN: 2026-10-19 14:48:06,228 - INFO - duration: 0.9454492239965475
MAIN: 2026-10-19 14:48:06,228 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 14:49:04,788 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 14:49: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-19 14:49:06,688 - INFO - taking picture
MAIN: 2026-10-19 14:49:06,688 - INFO - we take 499 photos in this while loop
MAIN: 2026-10-19 14:49:06,688 - INFO - /home/pi/Desktop/images/19102026/14/48/image_19102026_14_49_05_60465.jpg
MAIN: 2026-10-19 14:49:06,689 - INFO - duration: 0.940395265002735
MAIN: 2026-10-19 14:49:06,689 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 14:50: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-19 14:50: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-19 14:50:05,844 - INFO - taking picture
MAIN: 2026-10-19 14:50:05,844 - INFO - we take 500 photos in this while loop
MAIN: 2026-10-19 14:50:05,844 - INFO - /home/pi/Desktop/images/19102026/14/49/image_19102026_14_50_05_59073.jpg
MAIN: 2026-10-19 14:50:05,845 - INFO - duration: 1.023377942998195
MAIN: 2026-10-19 14:50:05,845 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/14/50'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-19 14:51:05,051 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

MAIN: 2026-10-19 15:46:05,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-19 15:46:06,460 - INFO - taking picture
MAIN: 2026-10-19 15:46:06,461 - INFO - we take 556 photos in this while loop
MAIN: 2026-10-19 15:46:06,461 - INFO - /home/pi/Desktop/images/19102026/15/45/image_19102026_15_46_05_60283.jpg
MAIN: 2026-10-19 15:46:06,461 - INFO - duration: 1.0145364380005049
MAIN: 2026-10-19 15:46:06,461 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 15:47: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-19 15:47: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-19 15:47:05,962 - INFO - taking picture
MAIN: 2026-10-19 15:47:05,962 - INFO - we take 557 photos in this while loop
MAIN: 2026-10-19 15:47:05,962 - INFO - /home/pi/Desktop/images/19102026/15/46/image_19102026_15_47_05_59575.jpg
MAIN: 2026-10-19 15:47:05,963 - INFO - duration: 0.9408987639981206
MAIN: 2026-10-19 15:47:05,963 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 15:48: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-19 15:48: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-19 15:48:06,092 - INFO - taking picture
MAIN: 2026-10-19 15:48:06,092 - INFO - we take 558 photos in this while loop
MAIN: 2026-10-19 15:48:06,092 - INFO - /home/pi/Desktop/images/19102026/15/47/image_19102026_15_48_05_60076.jpg
MAIN: 2026-10-19 15:48:06,092 - INFO - duration: 0.994534511002712
MAIN: 2026-10-19 15:48:06,093 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 15:49: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-19 15:49: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-19 15:49:06,019 - INFO - taking picture
MAIN: 2026-10-19 15:49:06,019 - INFO - we take 559 photos in this while loop
MAIN: 2026-10-19 15:49:06,019 - INFO - /home/pi/Desktop/images/19102026/15/48/image_19102026_15_49_05_59966.jpg
MAIN: 2026-10-19 15:49:06,020 - INFO - duration: 0.9555133190006018
MAIN: 2026-10-19 15:49:06,020 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 15:50: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-19 15:50:06,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-19 15:50:06,596 - INFO - taking picture
MAIN: 2026-10-19 15:50:06,596 - INFO - we take 560 photos in this while loop
MAIN: 2026-10-19 15:50:06,596 - INFO - /home/pi/Desktop/images/19102026/15/49/image_19102026_15_50_05_60525.jpg
MAIN: 2026-10-19 15:50:06,596 - INFO - duration: 1.0066568330003065
MAIN: 2026-10-19 15:50:06,596 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 15:51:04,608 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 15:51:06,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-19 15:51:06,950 - INFO - taking picture
MAIN: 2026-10-19 15:51:06,950 - INFO - we take 561 photos in this while loop
MAIN: 2026-10-19 15:51:06,950 - INFO - /home/pi/Desktop/images/19102026/15/50/image_19102026_15_51_06_60303.jpg
MAIN: 2026-10-19 15:51:06,950 - INFO - duration: 1.0578829200021573
MAIN: 2026-10-19 15:51:06,951 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 15:52:04,923 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 15:52: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-19 15:52:06,595 - INFO - taking picture
MAIN: 2026-10-19 15:52:06,595 - INFO - we take 562 photos in this while loop
MAIN: 2026-10-19 15:52:06,595 - INFO - /home/pi/Desktop/images/19102026/15/51/image_19102026_15_52_05_59737.jpg
MAIN: 2026-10-19 15:52:06,595 - INFO - duration: 0.9656113309974899
MAIN: 2026-10-19 15:52:06,596 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 15:53:04,886 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 15:53: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-19 15:53:06,563 - INFO - taking picture
MAIN: 2026-10-19 15:53:06,563 - INFO - we take 563 photos in this while loop
MAIN: 2026-10-19 15:53:06,563 - INFO - /home/pi/Desktop/images/19102026/15/52/image_19102026_15_53_05_59984.jpg
MAIN: 2026-10-19 15:53:06,564 - INFO - duration: 0.9490080460018362
MAIN: 2026-10-19 15:53:06,564 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 15:54:05,305 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 15:54: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-19 15:54:06,769 - INFO - taking picture
MAIN: 2026-10-19 15:54:06,770 - INFO - we take 564 photos in this while loop
MAIN: 2026-10-19 15:54:06,770 - INFO - /home/pi/Desktop/images/19102026/15/53/image_19102026_15_54_06_60209.jpg
MAIN: 2026-10-19 15:54:06,770 - INFO - duration: 0.9455926239970722
MAIN: 2026-10-19 15:54:06,770 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 15:55:05,617 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 15:55:06,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-19 15:55:06,827 - INFO - taking picture
MAIN: 2026-10-19 15:55:06,827 - INFO - we take 565 photos in this while loop
MAIN: 2026-10-19 15:55:06,827 - INFO - /home/pi/Desktop/images/19102026/15/54/image_19102026_15_55_06_60058.jpg
MAIN: 2026-10-19 15:55:06,827 - INFO - duration: 0.9439789469979587
MAIN: 2026-10-19 15:55:06,827 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 15:56:05,112 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

MAIN: 2026-10-19 17:46:06,888 - INFO - taking picture
MAIN: 2026-10-19 17:46:06,888 - INFO - we take 676 photos in this while loop
MAIN: 2026-10-19 17:46:06,888 - INFO - /home/pi/Desktop/images/19102026/17/45/image_19102026_17_46_06_60107.jpg
MAIN: 2026-10-19 17:46:06,889 - INFO - duration: 0.9707815889996709
MAIN: 2026-10-19 17:46:06,889 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 17:47: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-19 17:47: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-19 17:47:05,703 - INFO - taking picture
MAIN: 2026-10-19 17:47:05,703 - INFO - we take 677 photos in this while loop
MAIN: 2026-10-19 17:47:05,703 - INFO - /home/pi/Desktop/images/19102026/17/46/image_19102026_17_47_05_58837.jpg
MAIN: 2026-10-19 17:47:05,703 - INFO - duration: 0.9480623260024004
MAIN: 2026-10-19 17:47:05,703 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 17:48: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-19 17:48:05,499 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 17:48:05,678 - INFO - taking picture
MAIN: 2026-10-19 17:48:05,678 - INFO - we take 678 photos in this while loop
MAIN: 2026-10-19 17:48:05,678 - INFO - /home/pi/Desktop/images/19102026/17/47/image_19102026_17_48_04_59969.jpg
MAIN: 2026-10-19 17:48:05,678 - INFO - duration: 0.9536816079998971
MAIN: 2026-10-19 17:48:05,678 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 17:49: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-19 17:49: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-19 17:49:05,729 - INFO - taking picture
MAIN: 2026-10-19 17:49:05,729 - INFO - we take 679 photos in this while loop
MAIN: 2026-10-19 17:49:05,729 - INFO - /home/pi/Desktop/images/19102026/17/48/image_19102026_17_49_05_60044.jpg
MAIN: 2026-10-19 17:49:05,729 - INFO - duration: 0.9605240789969685
MAIN: 2026-10-19 17:49:05,730 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 17:50:05,034 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 17:50: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-19 17:50:06,210 - INFO - taking picture
MAIN: 2026-10-19 17:50:06,210 - INFO - we take 680 photos in this while loop
MAIN: 2026-10-19 17:50:06,210 - INFO - /home/pi/Desktop/images/19102026/17/49/image_19102026_17_50_05_60525.jpg
MAIN: 2026-10-19 17:50:06,211 - INFO - duration: 0.9159164740049164
MAIN: 2026-10-19 17:50:06,211 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 17:51:04,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 ! 
MAIN: 2026-10-19 17:51: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-19 17:51:06,419 - INFO - taking picture
MAIN: 2026-10-19 17:51:06,419 - INFO - we take 681 photos in this while loop
MAIN: 2026-10-19 17:51:06,419 - INFO - /home/pi/Desktop/images/19102026/17/50/image_19102026_17_51_05_60180.jpg
MAIN: 2026-10-19 17:51:06,419 - INFO - duration: 0.9436470529981307
MAIN: 2026-10-19 17:51:06,420 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 17:52: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-19 17:52: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-19 17:52:06,585 - INFO - taking picture
MAIN: 2026-10-19 17:52:06,585 - INFO - we take 682 photos in this while loop
MAIN: 2026-10-19 17:52:06,585 - INFO - /home/pi/Desktop/images/19102026/17/51/image_19102026_17_52_05_60228.jpg
MAIN: 2026-10-19 17:52:06,586 - INFO - duration: 0.8818009629976586
MAIN: 2026-10-19 17:52:06,586 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 17:53:04,883 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 17:53:06,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-19 17:53:06,754 - INFO - taking picture
MAIN: 2026-10-19 17:53:06,755 - INFO - we take 683 photos in this while loop
MAIN: 2026-10-19 17:53:06,755 - INFO - /home/pi/Desktop/images/19102026/17/52/image_19102026_17_53_06_60120.jpg
MAIN: 2026-10-19 17:53:06,755 - INFO - duration: 0.9305997580013354
MAIN: 2026-10-19 17:53:06,755 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 17:54:05,277 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 17:54: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-19 17:54:06,765 - INFO - taking picture
MAIN: 2026-10-19 17:54:06,766 - INFO - we take 684 photos in this while loop
MAIN: 2026-10-19 17:54:06,766 - INFO - /home/pi/Desktop/images/19102026/17/53/image_19102026_17_54_06_60014.jpg
MAIN: 2026-10-19 17:54:06,766 - INFO - duration: 0.9275829440011876
MAIN: 2026-10-19 17:54:06,766 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 17:55: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-19 17:55:05,759 - INFO - taking picture
MAIN: 2026-10-19 17:55:05,759 - INFO - we take 685 photos in this while loop
MAIN: 2026-10-19 17:55:05,759 - INFO - /home/pi/Desktop/images/19102026/17/54/image_19102026_17_55_05_59006.jpg
MAIN: 2026-10-19 17:55:05,759 - INFO - duration: 0.9140046120010084
MAIN: 2026-10-19 17:55:05,760 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/17/55'
MAIN: 2026-10-19 17:55: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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-19 17:56:05,371 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

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

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

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

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

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

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

MAIN: 2026-10-19 18:12: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-19 18:12:06,016 - INFO - taking picture
MAIN: 2026-10-19 18:12:06,017 - INFO - we take 702 photos in this while loop
MAIN: 2026-10-19 18:12:06,017 - INFO - /home/pi/Desktop/images/19102026/18/11/image_19102026_18_12_05_59771.jpg
MAIN: 2026-10-19 18:12:06,017 - INFO - duration: 0.9462549570016563
MAIN: 2026-10-19 18:12:06,017 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 18:13: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-19 18:13:05,569 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 18:13:05,735 - INFO - taking picture
MAIN: 2026-10-19 18:13:05,736 - INFO - we take 703 photos in this while loop
MAIN: 2026-10-19 18:13:05,736 - INFO - /home/pi/Desktop/images/19102026/18/12/image_19102026_18_13_05_59712.jpg
MAIN: 2026-10-19 18:13:05,736 - INFO - duration: 0.9524313919973793
MAIN: 2026-10-19 18:13:05,736 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 18:14: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-19 18:14:06,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-19 18:14:06,856 - INFO - taking picture
MAIN: 2026-10-19 18:14:06,856 - INFO - we take 704 photos in this while loop
MAIN: 2026-10-19 18:14:06,857 - INFO - /home/pi/Desktop/images/19102026/18/13/image_19102026_18_14_06_61062.jpg
MAIN: 2026-10-19 18:14:06,857 - INFO - duration: 1.010641177999787
MAIN: 2026-10-19 18:14:06,857 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 18:15: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-19 18:15:05,263 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 18:15:05,793 - INFO - taking picture
MAIN: 2026-10-19 18:15:05,794 - INFO - we take 705 photos in this while loop
MAIN: 2026-10-19 18:15:05,794 - INFO - /home/pi/Desktop/images/19102026/18/14/image_19102026_18_15_05_59050.jpg
MAIN: 2026-10-19 18:15:05,794 - INFO - duration: 0.8967836649972014
MAIN: 2026-10-19 18:15:05,794 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 18:16: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-19 18:16: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-19 18:16:05,758 - INFO - taking picture
MAIN: 2026-10-19 18:16:05,759 - INFO - we take 706 photos in this while loop
MAIN: 2026-10-19 18:16:05,759 - INFO - /home/pi/Desktop/images/19102026/18/15/image_19102026_18_16_05_59899.jpg
MAIN: 2026-10-19 18:16:05,759 - INFO - duration: 0.96281920200272
MAIN: 2026-10-19 18:16:05,759 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 18:17: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-19 18:17: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-19 18:17:05,938 - INFO - taking picture
MAIN: 2026-10-19 18:17:05,938 - INFO - we take 707 photos in this while loop
MAIN: 2026-10-19 18:17:05,938 - INFO - /home/pi/Desktop/images/19102026/18/16/image_19102026_18_17_05_60153.jpg
MAIN: 2026-10-19 18:17:05,939 - INFO - duration: 0.9892933379960596
MAIN: 2026-10-19 18:17:05,939 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 18:18: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-19 18:18: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-19 18:18:06,113 - INFO - taking picture
MAIN: 2026-10-19 18:18:06,114 - INFO - we take 708 photos in this while loop
MAIN: 2026-10-19 18:18:06,114 - INFO - /home/pi/Desktop/images/19102026/18/17/image_19102026_18_18_05_60215.jpg
MAIN: 2026-10-19 18:18:06,114 - INFO - duration: 0.9492824249973637
MAIN: 2026-10-19 18:18:06,114 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 18:19: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-19 18:19:05,569 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 18:19:06,176 - INFO - taking picture
MAIN: 2026-10-19 18:19:06,176 - INFO - we take 709 photos in this while loop
MAIN: 2026-10-19 18:19:06,176 - INFO - /home/pi/Desktop/images/19102026/18/18/image_19102026_18_19_05_60074.jpg
MAIN: 2026-10-19 18:19:06,176 - INFO - duration: 0.9370932040037587
MAIN: 2026-10-19 18:19:06,177 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/18/19'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-19 18:20: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-19 18:20: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-19 18:20:06,538 - INFO - taking picture
MAIN: 2026-10-19 18:20:06,538 - INFO - we take 710 photos in this while loop
MAIN: 2026-10-19 18:20:06,538 - INFO - /home/pi/Desktop/images/19102026/18/19/image_19102026_18_20_05_60377.jpg
MAIN: 2026-10-19 18:20:06,538 - INFO - duration: 0.9216459660019609
MAIN: 2026-10-19 18:20:06,539 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/18/20'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-19 18:21:04,943 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 18:21: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-19 18:21:06,638 - INFO - taking picture
MAIN: 2026-10-19 18:21:06,638 - INFO - we take 711 photos in this while loop
MAIN: 2026-10-19 18:21:06,638 - INFO - /home/pi/Desktop/images/19102026/18/20/image_19102026_18_21_05_60087.jpg
MAIN: 2026-10-19 18:21:06,638 - INFO - duration: 0.9340614130051108
MAIN: 2026-10-19 18:21:06,639 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 18:22: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-19 18:22: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-19 18:22:05,672 - INFO - taking picture
MAIN: 2026-10-19 18:22:05,673 - INFO - we take 712 photos in this while loop
MAIN: 2026-10-19 18:22:05,673 - INFO - /home/pi/Desktop/images/19102026/18/21/image_19102026_18_22_05_59027.jpg
MAIN: 2026-10-19 18:22:05,673 - INFO - duration: 0.941420137998648
MAIN: 2026-10-19 18:22:05,673 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 18:23: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-19 18:23:05,086 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 18:23:05,735 - INFO - taking picture
MAIN: 2026-10-19 18:23:05,735 - INFO - we take 713 photos in this while loop
MAIN: 2026-10-19 18:23:05,735 - INFO - /home/pi/Desktop/images/19102026/18/22/image_19102026_18_23_05_60071.jpg
MAIN: 2026-10-19 18:23:05,735 - INFO - duration: 0.9326618280028924
MAIN: 2026-10-19 18:23:05,736 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 18:24: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-19 18:24:05,396 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

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

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

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

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

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

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

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

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

MAIN: 2026-10-19 18:48:06,619 - INFO - taking picture
MAIN: 2026-10-19 18:48:06,620 - INFO - we take 738 photos in this while loop
MAIN: 2026-10-19 18:48:06,620 - INFO - /home/pi/Desktop/images/19102026/18/47/image_19102026_18_48_05_60507.jpg
MAIN: 2026-10-19 18:48:06,620 - INFO - duration: 0.9374732569995103
MAIN: 2026-10-19 18:48:06,620 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 18:49:05,616 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 18:49: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-19 18:49:06,759 - INFO - taking picture
MAIN: 2026-10-19 18:49:06,759 - INFO - we take 739 photos in this while loop
MAIN: 2026-10-19 18:49:06,759 - INFO - /home/pi/Desktop/images/19102026/18/48/image_19102026_18_49_06_60201.jpg
MAIN: 2026-10-19 18:49:06,759 - INFO - duration: 0.87525890100369
MAIN: 2026-10-19 18:49:06,760 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/18/49'
MAIN: 2026-10-19 18:50: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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

MAIN: 2026-10-19 19:26:06,595 - INFO - taking picture
MAIN: 2026-10-19 19:26:06,595 - INFO - we take 776 photos in this while loop
MAIN: 2026-10-19 19:26:06,595 - INFO - /home/pi/Desktop/images/19102026/19/25/image_19102026_19_26_05_59998.jpg
MAIN: 2026-10-19 19:26:06,595 - INFO - duration: 0.9376818270029617
MAIN: 2026-10-19 19:26:06,595 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 19:27: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-19 19:27:05,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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

MAIN: 2026-10-19 20:20:05,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-19 20:20:06,277 - INFO - taking picture
MAIN: 2026-10-19 20:20:06,278 - INFO - we take 830 photos in this while loop
MAIN: 2026-10-19 20:20:06,278 - INFO - /home/pi/Desktop/images/19102026/20/19/image_19102026_20_20_05_60260.jpg
MAIN: 2026-10-19 20:20:06,278 - INFO - duration: 1.0355298209979082
MAIN: 2026-10-19 20:20:06,278 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 20:21:05,343 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 20:21: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-19 20:21:06,289 - INFO - taking picture
MAIN: 2026-10-19 20:21:06,290 - INFO - we take 831 photos in this while loop
MAIN: 2026-10-19 20:21:06,290 - INFO - /home/pi/Desktop/images/19102026/20/20/image_19102026_20_21_05_60006.jpg
MAIN: 2026-10-19 20:21:06,290 - INFO - duration: 1.0413064439999289
MAIN: 2026-10-19 20:21:06,290 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 20:22: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-19 20:22: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-19 20:22:05,802 - INFO - taking picture
MAIN: 2026-10-19 20:22:05,802 - INFO - we take 832 photos in this while loop
MAIN: 2026-10-19 20:22:05,803 - INFO - /home/pi/Desktop/images/19102026/20/21/image_19102026_20_22_05_59615.jpg
MAIN: 2026-10-19 20:22:05,803 - INFO - duration: 0.938424733998545
MAIN: 2026-10-19 20:22:05,803 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 20:23:05,027 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 20:23: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-19 20:23:05,794 - INFO - taking picture
MAIN: 2026-10-19 20:23:05,794 - INFO - we take 833 photos in this while loop
MAIN: 2026-10-19 20:23:05,794 - INFO - /home/pi/Desktop/images/19102026/20/22/image_19102026_20_23_05_59960.jpg
MAIN: 2026-10-19 20:23:05,795 - INFO - duration: 0.9700978429973475
MAIN: 2026-10-19 20:23:05,795 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 20:24: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-19 20:24:05,380 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 20:24:05,828 - INFO - taking picture
MAIN: 2026-10-19 20:24:05,828 - INFO - we take 834 photos in this while loop
MAIN: 2026-10-19 20:24:05,828 - INFO - /home/pi/Desktop/images/19102026/20/23/image_19102026_20_24_05_59936.jpg
MAIN: 2026-10-19 20:24:05,828 - INFO - duration: 1.067044834002445
MAIN: 2026-10-19 20:24:05,829 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 20:25: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-19 20:25: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-19 20:25:05,909 - INFO - taking picture
MAIN: 2026-10-19 20:25:05,910 - INFO - we take 835 photos in this while loop
MAIN: 2026-10-19 20:25:05,910 - INFO - /home/pi/Desktop/images/19102026/20/24/image_19102026_20_25_05_60202.jpg
MAIN: 2026-10-19 20:25:05,910 - INFO - duration: 0.9464133139990736
MAIN: 2026-10-19 20:25:05,910 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 20:26: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-19 20:26:05,569 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 20:26:05,869 - INFO - taking picture
MAIN: 2026-10-19 20:26:05,870 - INFO - we take 836 photos in this while loop
MAIN: 2026-10-19 20:26:05,870 - INFO - /home/pi/Desktop/images/19102026/20/25/image_19102026_20_26_05_59961.jpg
MAIN: 2026-10-19 20:26:05,870 - INFO - duration: 0.9446945529998629
MAIN: 2026-10-19 20:26:05,870 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 20:27: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-19 20:27:05,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-19 20:27:05,888 - INFO - taking picture
MAIN: 2026-10-19 20:27:05,889 - INFO - we take 837 photos in this while loop
MAIN: 2026-10-19 20:27:05,889 - INFO - /home/pi/Desktop/images/19102026/20/26/image_19102026_20_27_05_59988.jpg
MAIN: 2026-10-19 20:27:05,889 - INFO - duration: 0.9751088970006094
MAIN: 2026-10-19 20:27:05,889 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 20:28:04,880 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 20:28: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-19 20:28:05,852 - INFO - taking picture
MAIN: 2026-10-19 20:28:05,852 - INFO - we take 838 photos in this while loop
MAIN: 2026-10-19 20:28:05,853 - INFO - /home/pi/Desktop/images/19102026/20/27/image_19102026_20_28_05_59971.jpg
MAIN: 2026-10-19 20:28:05,853 - INFO - duration: 0.9671448360022623
MAIN: 2026-10-19 20:28:05,853 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 20:29: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-19 20:29:06,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-19 20:29:06,853 - INFO - taking picture
MAIN: 2026-10-19 20:29:06,853 - INFO - we take 839 photos in this while loop
MAIN: 2026-10-19 20:29:06,854 - INFO - /home/pi/Desktop/images/19102026/20/28/image_19102026_20_29_06_61026.jpg
MAIN: 2026-10-19 20:29:06,854 - INFO - duration: 0.9413221120048547
MAIN: 2026-10-19 20:29:06,854 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 20:30: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-19 20:30:06,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-19 20:30:06,816 - INFO - taking picture
MAIN: 2026-10-19 20:30:06,816 - INFO - we take 840 photos in this while loop
MAIN: 2026-10-19 20:30:06,816 - INFO - /home/pi/Desktop/images/19102026/20/29/image_19102026_20_30_06_59969.jpg
MAIN: 2026-10-19 20:30:06,817 - INFO - duration: 0.9352389839987154
MAIN: 2026-10-19 20:30:06,817 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 20:31:05,135 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 20:31:06,000 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

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

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

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

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

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

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

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

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

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

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

MAIN: 2026-10-19 20:52: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-19 20:52:06,001 - INFO - taking picture
MAIN: 2026-10-19 20:52:06,001 - INFO - we take 862 photos in this while loop
MAIN: 2026-10-19 20:52:06,001 - INFO - /home/pi/Desktop/images/19102026/20/51/image_19102026_20_52_05_60304.jpg
MAIN: 2026-10-19 20:52:06,002 - INFO - duration: 0.9569934700048179
MAIN: 2026-10-19 20:52:06,002 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 20:53: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-19 20:53: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-19 20:53:06,037 - INFO - taking picture
MAIN: 2026-10-19 20:53:06,038 - INFO - we take 863 photos in this while loop
MAIN: 2026-10-19 20:53:06,038 - INFO - /home/pi/Desktop/images/19102026/20/52/image_19102026_20_53_05_59993.jpg
MAIN: 2026-10-19 20:53:06,038 - INFO - duration: 0.999800535995746
MAIN: 2026-10-19 20:53:06,038 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 20:54: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-19 20:54: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-19 20:54:05,943 - INFO - taking picture
MAIN: 2026-10-19 20:54:05,943 - INFO - we take 864 photos in this while loop
MAIN: 2026-10-19 20:54:05,943 - INFO - /home/pi/Desktop/images/19102026/20/53/image_19102026_20_54_05_59963.jpg
MAIN: 2026-10-19 20:54:05,943 - INFO - duration: 0.9417782759992406
MAIN: 2026-10-19 20:54:05,944 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 20:55:05,125 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 20:55: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-19 20:55:05,986 - INFO - taking picture
MAIN: 2026-10-19 20:55:05,986 - INFO - we take 865 photos in this while loop
MAIN: 2026-10-19 20:55:05,986 - INFO - /home/pi/Desktop/images/19102026/20/54/image_19102026_20_55_05_59983.jpg
MAIN: 2026-10-19 20:55:05,986 - INFO - duration: 1.0011060370015912
MAIN: 2026-10-19 20:55:05,987 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 20:56:05,377 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 20:56:06,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-19 20:56:06,867 - INFO - taking picture
MAIN: 2026-10-19 20:56:06,867 - INFO - we take 866 photos in this while loop
MAIN: 2026-10-19 20:56:06,867 - INFO - /home/pi/Desktop/images/19102026/20/55/image_19102026_20_56_06_60922.jpg
MAIN: 2026-10-19 20:56:06,867 - INFO - duration: 0.95951945699926
MAIN: 2026-10-19 20:56:06,867 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 20:57:05,560 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 20:57: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-19 20:57:06,755 - INFO - taking picture
MAIN: 2026-10-19 20:57:06,756 - INFO - we take 867 photos in this while loop
MAIN: 2026-10-19 20:57:06,756 - INFO - /home/pi/Desktop/images/19102026/20/56/image_19102026_20_57_06_59944.jpg
MAIN: 2026-10-19 20:57:06,756 - INFO - duration: 0.9035028979997151
MAIN: 2026-10-19 20:57:06,756 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 20:58:04,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-19 20:58:05,674 - INFO - taking picture
MAIN: 2026-10-19 20:58:05,674 - INFO - we take 868 photos in this while loop
MAIN: 2026-10-19 20:58:05,674 - INFO - /home/pi/Desktop/images/19102026/20/57/image_19102026_20_58_04_58875.jpg
MAIN: 2026-10-19 20:58:05,675 - INFO - duration: 0.9465766470020753
MAIN: 2026-10-19 20:58:05,675 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/20/58'
MAIN: 2026-10-19 20:58:05,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-19 20:59: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-19 20:59:05,788 - INFO - taking picture
MAIN: 2026-10-19 20:59:05,788 - INFO - we take 869 photos in this while loop
MAIN: 2026-10-19 20:59:05,788 - INFO - /home/pi/Desktop/images/19102026/20/58/image_19102026_20_59_05_60114.jpg
MAIN: 2026-10-19 20:59:05,788 - INFO - duration: 0.9454621019976912
MAIN: 2026-10-19 20:59:05,788 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/20/59'
MAIN: 2026-10-19 20:59: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-19 21:00: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-19 21:00: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-19 21:00:05,868 - INFO - taking picture
MAIN: 2026-10-19 21:00:05,868 - INFO - we take 870 photos in this while loop
MAIN: 2026-10-19 21:00:05,868 - INFO - /home/pi/Desktop/images/19102026/20/59/image_19102026_21_00_05_60056.jpg
MAIN: 2026-10-19 21:00:05,868 - INFO - duration: 0.9693119050061796
MAIN: 2026-10-19 21:00:05,869 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 21:01: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-19 21:01: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-19 21:01:05,711 - INFO - taking picture
MAIN: 2026-10-19 21:01:05,712 - INFO - we take 871 photos in this while loop
MAIN: 2026-10-19 21:01:05,712 - INFO - /home/pi/Desktop/images/19102026/21/00/image_19102026_21_01_05_59862.jpg
MAIN: 2026-10-19 21:01:05,712 - INFO - duration: 0.9507304159997148
MAIN: 2026-10-19 21:01:05,712 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 21:02: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-19 21:02:06,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-19 21:02:06,874 - INFO - taking picture
MAIN: 2026-10-19 21:02:06,875 - INFO - we take 872 photos in this while loop
MAIN: 2026-10-19 21:02:06,875 - INFO - /home/pi/Desktop/images/19102026/21/01/image_19102026_21_02_06_61134.jpg
MAIN: 2026-10-19 21:02:06,875 - INFO - duration: 0.979651109999395
MAIN: 2026-10-19 21:02:06,875 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 21:03: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-19 21:03: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-19 21:03:06,750 - INFO - taking picture
MAIN: 2026-10-19 21:03:06,750 - INFO - we take 873 photos in this while loop
MAIN: 2026-10-19 21:03:06,750 - INFO - /home/pi/Desktop/images/19102026/21/02/image_19102026_21_03_06_59915.jpg
MAIN: 2026-10-19 21:03:06,750 - INFO - duration: 0.9396765119963675
MAIN: 2026-10-19 21:03:06,750 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 21:04:05,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-19 21:04:06,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-19 21:04:06,692 - INFO - taking picture
MAIN: 2026-10-19 21:04:06,693 - INFO - we take 874 photos in this while loop
MAIN: 2026-10-19 21:04:06,693 - INFO - /home/pi/Desktop/images/19102026/21/03/image_19102026_21_04_06_59943.jpg
MAIN: 2026-10-19 21:04:06,693 - INFO - duration: 0.9386914299975615
MAIN: 2026-10-19 21:04:06,693 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 21:05:04,886 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 21:05: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-19 21:05:06,682 - INFO - taking picture
MAIN: 2026-10-19 21:05:06,682 - INFO - we take 875 photos in this while loop
MAIN: 2026-10-19 21:05:06,682 - INFO - /home/pi/Desktop/images/19102026/21/04/image_19102026_21_05_05_59960.jpg
MAIN: 2026-10-19 21:05:06,682 - INFO - duration: 0.9671991100040032
MAIN: 2026-10-19 21:05:06,683 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/21/05'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-19 21:06:05,001 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 21:06:05,988 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

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

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

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

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

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

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

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

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

MAIN: 2026-10-19 21:24:05,152 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 21:24:05,717 - INFO - taking picture
MAIN: 2026-10-19 21:24:05,717 - INFO - we take 894 photos in this while loop
MAIN: 2026-10-19 21:24:05,717 - INFO - /home/pi/Desktop/images/19102026/21/23/image_19102026_21_24_05_60031.jpg
MAIN: 2026-10-19 21:24:05,717 - INFO - duration: 0.9655732910032384
MAIN: 2026-10-19 21:24:05,718 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 21:25: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-19 21:25:05,470 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 21:25:05,821 - INFO - taking picture
MAIN: 2026-10-19 21:25:05,822 - INFO - we take 895 photos in this while loop
MAIN: 2026-10-19 21:25:05,822 - INFO - /home/pi/Desktop/images/19102026/21/24/image_19102026_21_25_05_60011.jpg
MAIN: 2026-10-19 21:25:05,822 - INFO - duration: 1.0582800540069002
MAIN: 2026-10-19 21:25:05,822 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 21:26: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-19 21:26: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-19 21:26:06,120 - INFO - taking picture
MAIN: 2026-10-19 21:26:06,121 - INFO - we take 896 photos in this while loop
MAIN: 2026-10-19 21:26:06,121 - INFO - /home/pi/Desktop/images/19102026/21/25/image_19102026_21_26_05_60408.jpg
MAIN: 2026-10-19 21:26:06,121 - INFO - duration: 0.9487348389957333
MAIN: 2026-10-19 21:26:06,121 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 21:27: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-19 21:27:05,310 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 21:27:05,913 - INFO - taking picture
MAIN: 2026-10-19 21:27:05,913 - INFO - we take 897 photos in this while loop
MAIN: 2026-10-19 21:27:05,913 - INFO - /home/pi/Desktop/images/19102026/21/26/image_19102026_21_27_05_59786.jpg
MAIN: 2026-10-19 21:27:05,913 - INFO - duration: 0.9548799969998072
MAIN: 2026-10-19 21:27:05,914 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 21:28: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-19 21:28:05,764 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 21:28:06,064 - INFO - taking picture
MAIN: 2026-10-19 21:28:06,064 - INFO - we take 898 photos in this while loop
MAIN: 2026-10-19 21:28:06,064 - INFO - /home/pi/Desktop/images/19102026/21/27/image_19102026_21_28_05_60034.jpg
MAIN: 2026-10-19 21:28:06,064 - INFO - duration: 1.071619059999648
MAIN: 2026-10-19 21:28:06,064 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 21:29:04,920 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 21: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-19 21:29:06,130 - INFO - taking picture
MAIN: 2026-10-19 21:29:06,130 - INFO - we take 899 photos in this while loop
MAIN: 2026-10-19 21:29:06,130 - INFO - /home/pi/Desktop/images/19102026/21/28/image_19102026_21_29_05_60233.jpg
MAIN: 2026-10-19 21:29:06,130 - INFO - duration: 0.9038599980049185
MAIN: 2026-10-19 21:29:06,131 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 21:30:05,447 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 21:30: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-19 21:30:06,260 - INFO - taking picture
MAIN: 2026-10-19 21:30:06,260 - INFO - we take 900 photos in this while loop
MAIN: 2026-10-19 21:30:06,260 - INFO - /home/pi/Desktop/images/19102026/21/29/image_19102026_21_30_05_60112.jpg
MAIN: 2026-10-19 21:30:06,260 - INFO - duration: 0.9217627159960102
MAIN: 2026-10-19 21:30:06,261 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 21:31:05,116 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 21:31: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-19 21:31:06,122 - INFO - taking picture
MAIN: 2026-10-19 21:31:06,122 - INFO - we take 901 photos in this while loop
MAIN: 2026-10-19 21:31:06,122 - INFO - /home/pi/Desktop/images/19102026/21/30/image_19102026_21_31_05_59835.jpg
MAIN: 2026-10-19 21:31:06,122 - INFO - duration: 0.9481629559959401
MAIN: 2026-10-19 21:31:06,123 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 21:32: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-19 21:32:05,572 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 21:32:05,986 - INFO - taking picture
MAIN: 2026-10-19 21:32:05,986 - INFO - we take 902 photos in this while loop
MAIN: 2026-10-19 21:32:05,986 - INFO - /home/pi/Desktop/images/19102026/21/31/image_19102026_21_32_05_59853.jpg
MAIN: 2026-10-19 21:32:05,986 - INFO - duration: 0.9583127560035791
MAIN: 2026-10-19 21:32:05,987 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 21:33:05,197 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

MAIN: 2026-10-19 22:23:05,419 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 22:23:05,723 - INFO - taking picture
MAIN: 2026-10-19 22:23:05,724 - INFO - we take 953 photos in this while loop
MAIN: 2026-10-19 22:23:05,724 - INFO - /home/pi/Desktop/images/19102026/22/22/image_19102026_22_23_05_58874.jpg
MAIN: 2026-10-19 22:23:05,724 - INFO - duration: 0.9498510960038402
MAIN: 2026-10-19 22:23:05,724 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 22:24: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-19 22:24:05,788 - INFO - taking picture
MAIN: 2026-10-19 22:24:05,789 - INFO - we take 954 photos in this while loop
MAIN: 2026-10-19 22:24:05,789 - INFO - /home/pi/Desktop/images/19102026/22/23/image_19102026_22_24_05_60058.jpg
MAIN: 2026-10-19 22:24:05,789 - INFO - duration: 0.9563387879970833
MAIN: 2026-10-19 22:24:05,789 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/22/24'
MAIN: 2026-10-19 22:24:05,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-19 22:25:05,112 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 22:25: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-19 22:25:06,024 - INFO - taking picture
MAIN: 2026-10-19 22:25:06,024 - INFO - we take 955 photos in this while loop
MAIN: 2026-10-19 22:25:06,024 - INFO - /home/pi/Desktop/images/19102026/22/24/image_19102026_22_25_05_60247.jpg
MAIN: 2026-10-19 22:25:06,024 - INFO - duration: 0.9437540180006181
MAIN: 2026-10-19 22:25:06,024 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 22:26:05,047 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 22:26: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-19 22:26:06,109 - INFO - taking picture
MAIN: 2026-10-19 22:26:06,109 - INFO - we take 956 photos in this while loop
MAIN: 2026-10-19 22:26:06,109 - INFO - /home/pi/Desktop/images/19102026/22/25/image_19102026_22_26_05_60046.jpg
MAIN: 2026-10-19 22:26:06,109 - INFO - duration: 0.9816972539993003
MAIN: 2026-10-19 22:26:06,109 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/22/26'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-19 22:27:05,227 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 22:27: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-19 22:27:06,620 - INFO - taking picture
MAIN: 2026-10-19 22:27:06,621 - INFO - we take 957 photos in this while loop
MAIN: 2026-10-19 22:27:06,621 - INFO - /home/pi/Desktop/images/19102026/22/26/image_19102026_22_27_05_60466.jpg
MAIN: 2026-10-19 22:27:06,621 - INFO - duration: 1.0273654970005737
MAIN: 2026-10-19 22:27:06,621 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 22:28: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-19 22:28: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-19 22:28:06,680 - INFO - taking picture
MAIN: 2026-10-19 22:28:06,681 - INFO - we take 958 photos in this while loop
MAIN: 2026-10-19 22:28:06,681 - INFO - /home/pi/Desktop/images/19102026/22/27/image_19102026_22_28_05_60131.jpg
MAIN: 2026-10-19 22:28:06,681 - INFO - duration: 0.956196856997849
MAIN: 2026-10-19 22:28:06,681 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 22:29:05,827 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 22:29:06,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-19 22:29:06,875 - INFO - taking picture
MAIN: 2026-10-19 22:29:06,876 - INFO - we take 959 photos in this while loop
MAIN: 2026-10-19 22:29:06,876 - INFO - /home/pi/Desktop/images/19102026/22/28/image_19102026_22_29_06_60228.jpg
MAIN: 2026-10-19 22:29:06,876 - INFO - duration: 0.9228358219988877
MAIN: 2026-10-19 22:29:06,876 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 22:30: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-19 22:30:06,037 - INFO - taking picture
MAIN: 2026-10-19 22:30:06,037 - INFO - we take 960 photos in this while loop
MAIN: 2026-10-19 22:30:06,038 - INFO - /home/pi/Desktop/images/19102026/22/29/image_19102026_22_30_05_59117.jpg
MAIN: 2026-10-19 22:30:06,038 - INFO - duration: 0.9675151090050349
MAIN: 2026-10-19 22:30:06,038 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/22/30'
MAIN: 2026-10-19 22:30:06,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 ! 
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2026-10-19 22:31:04,986 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
Using /dev/video for video capture ! 
MAIN: 2026-10-19 22:31: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-19 22:31:05,988 - INFO - taking picture
MAIN: 2026-10-19 22:31:05,988 - INFO - we take 961 photos in this while loop
MAIN: 2026-10-19 22:31:05,988 - INFO - /home/pi/Desktop/images/19102026/22/30/image_19102026_22_31_05_59977.jpg
MAIN: 2026-10-19 22:31:05,989 - INFO - duration: 0.9410277210045024
MAIN: 2026-10-19 22:31:05,989 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 22:32: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-19 22:32: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-19 22:32:05,990 - INFO - taking picture
MAIN: 2026-10-19 22:32:05,990 - INFO - we take 962 photos in this while loop
MAIN: 2026-10-19 22:32:05,990 - INFO - /home/pi/Desktop/images/19102026/22/31/image_19102026_22_32_05_60036.jpg
MAIN: 2026-10-19 22:32:05,991 - INFO - duration: 0.90692615199805
MAIN: 2026-10-19 22:32:05,991 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 22:33: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-19 22:33: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-19 22:33:06,098 - INFO - taking picture
MAIN: 2026-10-19 22:33:06,099 - INFO - we take 963 photos in this while loop
MAIN: 2026-10-19 22:33:06,099 - INFO - /home/pi/Desktop/images/19102026/22/32/image_19102026_22_33_05_59938.jpg
MAIN: 2026-10-19 22:33:06,099 - INFO - duration: 1.0768569209976704
MAIN: 2026-10-19 22:33:06,099 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19102026/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-19 22:34: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-19 22:34:05,494 - INFO - Driver Info:
	Driver name      : uvcvideo
	Card type        : Arducam IMX477 HQ Camera: Arduc
	Bus info         : usb-0000:01:00.0-1.4
	Driver version   : 5.4.79
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Arducam IMX477 HQ Camera: Arduc
	Serial           : UC517
	Bus info         : usb-0000:01:00.0-1.4
	Media version    : 5.4.79
	Hardware revision: 0x00000100 (256)
	Driver version   : 5.4.79
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Arducam IMX477 HQ Camera: Arduc
	Function         : V4L2 I/O
	Flags         : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000010: from remote pad 0x100000a of entity 'Extension 3': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 3840/2160
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 16589389
	Colorspace        : sRGB
	Transfer Function : Default (maps to sRGB)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 3840, Height 2160
	Default     : Left 0, Top 0, Width 3840, Height 2160
	Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Selection: crop_bounds, Left 0, Top 0, Width 3840, Height 2160, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 20.000 (20/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                     focus_auto 0x009a090c (bool)   : default=1 value=1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

MAIN: 2026-10-19 23:58:06,117 - INFO - taking picture
MAIN: 2026-10-19 23:58:06,117 - INFO - we take 1048 photos in this while loop
MAIN: 2026-10-19 23:58:06,117 - INFO - /home/pi/Desktop/images/19102026/23/57/image_19102026_23_58_05_59926.jpg
MAIN: 2026-10-19 23:58:06,117 - INFO - duration: 0.9500665209925501
MAIN: 2026-10-19 23:59: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-19 23:59:06,059 - INFO - taking picture
MAIN: 2026-10-19 23:59:06,059 - INFO - we take 1049 photos in this while loop
MAIN: 2026-10-19 23:59:06,059 - INFO - /home/pi/Desktop/images/19102026/23/58/image_19102026_23_59_05_59833.jpg
MAIN: 2026-10-19 23:59:06,059 - INFO - duration: 1.0586836150032468
